.auth-gate{min-width:0;min-height:80vh;min-height:80dvh;display:grid;place-items:center;padding:1rem;background:linear-gradient(145deg,var(--appearance-quiet,#eff6ff),var(--appearance-surface,#f8f6ff))}.auth-card{width:min(460px,100%);min-width:0;background:var(--appearance-surface,#fff);border:1px solid var(--line,#d7e2e2);border-radius:1rem;padding:2rem;box-shadow:0 18px 50px rgba(20,33,61,.1)}.auth-brand{display:flex;align-items:center;gap:.6rem;font:700 1.1rem Manrope,sans-serif}.auth-brand-mark{display:block;width:2rem;height:2rem;border-radius:.5rem;background:none;object-fit:contain}.auth-brand-name strong{color:var(--appearance-link,var(--blue,#175cd3))}.auth-brand-name sup{color:var(--appearance-link,var(--blue,#175cd3));font-size:.48em;line-height:0;margin-left:1px;vertical-align:super}.auth-form,.auth-recovery-panel,.auth-form label,.auth-recovery-panel label,.auth-password-group,.auth-password-control{min-width:0}.auth-form,.auth-recovery-panel{display:grid;gap:1rem}.auth-form label,.auth-recovery-panel label{display:grid;gap:.35rem}.auth-form input,.auth-recovery-panel input{width:100%;min-width:0;max-width:100%;padding:.7rem;border:1px solid var(--appearance-line,#aab7b7);border-radius:.45rem}.auth-form>button,.auth-recovery-panel>button{padding:.7rem;border:0;border-radius:.5rem;background:var(--blue,#175cd3);color:#fff;font-weight:700}.auth-password-control{display:flex}.auth-password-control input{border-radius:.45rem 0 0 .45rem}.auth-password-toggle{flex:0 0 48px;display:grid;place-items:center;min-height:0;border:1px solid var(--appearance-line,#aab7b7);border-left:0;border-radius:0 .45rem .45rem 0;background:var(--appearance-surface,#fff);color:var(--appearance-link,var(--blue-dark,#1849a9));padding:.6rem}.auth-password-toggle:hover{border-color:var(--appearance-line,#8eb4ec);background:var(--blue-soft,#eff6ff);color:var(--appearance-link,var(--blue-dark,#1849a9))}.auth-password-toggle:active{background:var(--appearance-blue-soft,#dbeafe)}.auth-password-toggle:focus-visible{outline:3px solid var(--appearance-focus,#8eb4ec);outline-offset:2px}.auth-password-toggle-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.auth-password-toggle-slash{display:none}.auth-password-toggle[aria-pressed=true] .auth-password-toggle-slash{display:block}.auth-recovery-toggle{background:transparent!important;color:var(--appearance-link,var(--blue-dark,#1849a9))!important;text-align:left}.auth-status{margin:0}.auth-status[hidden]{display:none!important}
.customer-experience-backdrop{position:fixed;inset:0;z-index:80;box-sizing:border-box;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;overscroll-behavior:contain;padding:16px;background:rgba(16,24,39,.48)}
.customer-experience-backdrop[hidden]{display:none}
body.customer-experience-modal-open{overflow:hidden}
.customer-experience-dialog{box-sizing:border-box;flex:0 0 auto;width:min(960px,100%);max-height:none;margin:auto 0;overflow:visible;padding:28px;border:1px solid var(--border,#cbd8eb);border-radius:18px;background:var(--appearance-surface,#fff);color:var(--ink,#101827);box-shadow:0 24px 80px rgba(10,27,55,.28)}
.customer-experience-dialog .modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid var(--appearance-line,#d9e2ef);padding-bottom:16px}
.customer-experience-product-selector{display:grid;gap:7px;margin-top:18px;font-weight:700}
.customer-experience-product-selector select{width:100%;min-height:48px;border:1px solid var(--appearance-line,#aec1dc);border-radius:10px;padding:10px 12px;background:var(--appearance-surface,#fff);font:inherit}
.customer-experience-setup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.customer-experience-setup label{display:grid;gap:7px;font-weight:700}
.customer-experience-setup input{min-height:48px;border:1px solid var(--appearance-line,#aec1dc);border-radius:10px;padding:10px 12px;font:inherit}
.customer-experience-product-note,.customer-experience-jira-toggle,.customer-experience-jira-fields,.customer-experience-setup>button{grid-column:1/-1}
.customer-experience-product-note{margin:0;color:var(--muted,#667085)}
.customer-experience-setup .customer-experience-jira-toggle{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--appearance-line,#d5e0ef);border-radius:10px;background:var(--appearance-surface,#f7f9fc)}
.customer-experience-setup .customer-experience-jira-toggle input{width:20px;height:20px;min-height:0;margin:0;padding:0}
.customer-experience-jira-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;margin:0;padding:0;border:0}
.customer-experience-jira-fields:disabled{opacity:.58}
.customer-experience-setup button{align-self:end;justify-self:start}
.customer-experience-report,.customer-experience-analysis{margin-top:20px;padding:20px;border:1px solid var(--appearance-line,#d5e0ef);border-radius:14px;background:var(--appearance-surface,#f7f9fc)}
.customer-experience-report table{width:100%;border-collapse:collapse;margin-top:12px}
.customer-experience-report th,.customer-experience-report td{text-align:left;padding:10px;border-bottom:1px solid var(--appearance-line,#d5e0ef)}
.customer-experience-analysis>ul{display:grid;gap:12px;padding-left:20px}.customer-experience-analysis>ul>li{padding-left:4px}.customer-experience-analysis>ul p{margin:6px 0}.customer-experience-sources{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.customer-experience-sources>small{font-weight:700;color:var(--muted,#667085)}.customer-experience-source{display:inline-flex;border:1px solid var(--appearance-line,#c7d8ef);border-radius:999px;padding:4px 9px;background:var(--appearance-surface,#fff);color:var(--appearance-link,#23436f);font-size:.78rem;line-height:1.25}
.customer-experience-issue-evidence{margin-top:16px;border-top:1px solid var(--appearance-line,#d5e0ef);padding-top:14px}.customer-experience-issue-evidence>summary{cursor:pointer;font-weight:700}.customer-experience-issue-evidence article{margin-top:12px;border-left:3px solid var(--appearance-line,#9bb9e5);padding:2px 0 2px 12px}.customer-experience-issue-evidence h4,.customer-experience-issue-evidence p{margin:4px 0}.customer-experience-issue-meta{color:var(--muted,#667085);font-size:.85rem}
@media(max-width:720px){.customer-experience-setup,.customer-experience-jira-fields{grid-template-columns:1fr}.customer-experience-dialog{padding:18px}}
.customer-experience-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.zoho-desk-review-backdrop{z-index:100}
.zoho-desk-review{width:min(900px,100%);display:grid;gap:16px;overflow-wrap:anywhere}
.zoho-desk-review .modal-head{gap:16px}
.zoho-desk-review p{margin:0;line-height:1.6}
.zoho-desk-review label{display:grid;gap:8px;min-width:0}
.zoho-desk-review textarea{min-height:180px;resize:vertical}
.zoho-desk-review .zoho-desk-review-consent{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px}
.zoho-desk-review-consent input[type=checkbox]{width:18px;height:18px;margin:3px 0 0;padding:0}
.zoho-desk-review-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.zoho-desk-review-list{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.zoho-desk-review-list button{max-width:100%;text-align:left;white-space:normal}
.zoho-desk-review section{display:grid;gap:14px;padding:18px;border:1px solid var(--line,#d5e0ef);border-radius:12px;background:var(--blue-soft,#eff6ff);min-width:0}
@media(max-width:560px){.zoho-desk-review{padding:16px}.zoho-desk-review section{padding:12px}}
.zoho-desk-review [hidden]{display:none!important}
/* Keep the native speed selector and its enhanced menu at the icon-button height. */
.sense-voice-controls .sense-voice-speed,.sense-voice-controls .compact-single-select:has(>.sense-voice-speed){box-sizing:border-box;height:36px;min-height:36px;max-height:36px}
.sense-voice-controls .sense-voice-speed{padding-top:0!important;padding-bottom:0!important}
.zoho-desk-review-backdrop{grid-template-rows:minmax(0,1fr)}
.zoho-desk-review{box-sizing:border-box;max-height:100%;min-height:0}
.zoho-desk-review-ticket-editor{display:grid;gap:12px;padding:16px;border:1px solid var(--line,#d5e0ef);border-radius:10px;background:var(--appearance-surface,#fff);min-width:0}
.zoho-desk-review-ticket-editor h4{margin:0}
.zoho-desk-review-shared .zoho-desk-review-consent,.zoho-desk-review-list .zoho-desk-review-consent{padding:10px;margin:0;border:1px solid var(--line,#d5e0ef);border-radius:9px;background:var(--appearance-surface,#fff)}
.zoho-desk-review .zoho-desk-review-consent input[type=checkbox]{min-height:18px;max-height:18px;height:18px;align-self:start}
.zoho-desk-review-batch-preview{padding:12px;border-left:3px solid var(--blue,#175cd3);background:var(--appearance-surface,#fff);white-space:pre-wrap}
.zoho-desk-review-shared details{padding:12px;background:var(--appearance-surface,#fff);border:1px solid var(--line,#d5e0ef);border-radius:9px;min-width:0}
.zoho-desk-review-shared summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}

.sense-voice-toolbar .sense-voice-speed-hint{flex:0 1 260px;min-width:0;font-size:12px;line-height:1.4;color:var(--muted,#64748b);text-align:left}
.sense-voice-toolbar:has(.sense-voice-speed-hint){flex-wrap:wrap}.sense-voice-toolbar .sense-voice-speed-hint{min-width:min(180px,100%)}
/* Document panels keep all action buttons together; explanatory text follows. */
.sense-v4-body .sense-voice-toolbar .sense-voice-speed-hint{order:1;flex:1 0 100%;min-width:0}
.sense-v4-body .sense-voice-toolbar .sense-voice-icon-button{flex-shrink:0}

.profile-voice-fields .profile-voice-speed-hint{display:block;font-size:12px;line-height:1.4;color:var(--muted,#64748b);text-align:left}

.workspace-security-status:empty{margin:0;padding:0}
.workspace-security-status:not(:empty){position:fixed;bottom:16px;left:16px;right:16px;max-width:600px;margin:0 auto;padding:14px 18px;border:1px solid var(--appearance-line,#b5c9ee);border-radius:12px;background:var(--appearance-quiet,#eff6ff);color:var(--appearance-link,#10243d);z-index:1600}

.auth-security-dialog{box-sizing:border-box;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--appearance-line,#cbd8eb);border-radius:16px;background:var(--appearance-surface,#fff);color:var(--appearance-ink,#101827)}.auth-security-dialog::backdrop{background:rgba(10,27,55,.55)}.auth-security-dialog h2{margin:0 0 16px}.auth-security-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.auth-security-dialog button{min-height:44px;padding:10px 18px}.auth-security-dialog button:focus-visible{outline:3px solid var(--appearance-focus,#1657d9);outline-offset:3px}

.auth-rate-limit-notice{position:fixed;z-index:2147483647;bottom:20px;right:20px;box-sizing:border-box;max-width:min(480px,calc(100vw - 40px));padding:16px;border:2px solid var(--appearance-warning-text,#9b6500);border-radius:12px;background:var(--appearance-warning-soft,#fff8e5);color:var(--appearance-warning-text,#352500);box-shadow:0 4px 18px #0003}.auth-rate-limit-notice p{margin:0 0 12px}.auth-rate-limit-notice button{min-height:44px}.auth-rate-limit-notice button:focus-visible{outline:3px solid var(--appearance-focus,#1657d9);outline-offset:3px}
#profileUiZoomHint { display:block;margin-top:.5rem;line-height:1.5; }

/* Shared collection navigation wraps on narrow screens and uses the existing rounded button style. */
.collection-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:20px 0;max-width:100%}
.collection-pagination[hidden]{display:none}
.collection-pagination .button{min-height:44px;border-radius:12px}
.collection-pagination-status{min-width:0;text-align:center;overflow-wrap:anywhere}
.recommendation-paged-column{min-width:0}

/* Keep Settings help and close controls spaced and contained at narrow widths. */
.settings-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;max-width:100%}
.settings-heading-actions .button{display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center;text-decoration:none}
@media(max-width:640px){.settings-surface-heading{flex-wrap:wrap}.settings-heading-actions{width:100%}}

/* Keep HubSpot's main actions concise and progressively disclose connection support controls. */
.hubspot-integration-content{display:grid;gap:12px;min-width:0}
.hubspot-integration-content p,.hubspot-integration-content h4{margin:0;line-height:1.45}
.hubspot-integration-content>.button{justify-self:start}
.hubspot-connection-settings,.hubspot-diagnostics{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}
.hubspot-connection-settings summary,.hubspot-diagnostics summary{cursor:pointer;font-weight:700}
.hubspot-connection-settings[open]>:not(summary),.hubspot-diagnostics[open]>:not(summary){margin-top:12px}
.hubspot-connection-settings .integration-consent{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start}
/* A fixed header/footer and one bounded body prevent consent controls falling outside the modal scroll area. */
.hubspot-evidence-backdrop{box-sizing:border-box;padding:16px;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.hubspot-evidence-dialog{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:0!important;padding:0!important;width:min(880px,100%);height:100%;max-height:100%;min-height:0;overflow:hidden!important}
.hubspot-evidence-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--surface)}
.hubspot-evidence-header h2{margin:0;font-size:1.3rem}
.hubspot-evidence-body{display:grid;gap:14px;padding:16px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0;min-width:0}
.hubspot-evidence-dialog .hubspot-evidence-body section{gap:10px;padding:14px}
.hubspot-evidence-dialog label{gap:6px}
.hubspot-evidence-dialog textarea{min-height:130px;max-height:260px}
.hubspot-evidence-dialog input:not([type=checkbox]),.hubspot-evidence-dialog select,.hubspot-evidence-dialog textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--surface);color:var(--ink)}
.hubspot-evidence-dialog .zoho-desk-review-consent{padding:8px 0;margin:0;line-height:1.4}
.hubspot-evidence-footer{padding:12px 20px;border-top:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere}
.hubspot-evidence-footer .runtime-status{margin:0;font-size:.9rem}
@media(max-width:560px){.hubspot-evidence-backdrop{padding:8px}.hubspot-evidence-header,.hubspot-evidence-body,.hubspot-evidence-footer{padding:12px}.hubspot-evidence-header h2{font-size:1.1rem}}

/* Separate integration fields and actions at all card widths; border-box keeps padded inputs inside cards. */
.hubspot-preview-panel{display:grid;gap:12px;min-width:0;padding-block:4px}
.hubspot-preview-panel label{display:grid;gap:6px;min-width:0}
.hubspot-preview-panel input,.hubspot-preview-panel select{box-sizing:border-box;width:100%;min-width:0}
.hubspot-preview-panel>.button{justify-self:start;max-width:100%}
.hubspot-connection-settings>.button,.hubspot-diagnostics>.button{display:block;max-width:100%}
.hubspot-integration-content{overflow-wrap:anywhere}

/* Connected support workflows use separate rows instead of adjacent unspaced controls. */
.integration-workflow-content{display:grid;gap:12px;min-width:0}
.integration-workflow-content>.button{justify-self:start}

/* Workspace pod assignment hides only team presentation; saved team relationships remain intact. */
html[data-work-assignment="pods"] [data-engineering-team-ui],
html[data-work-assignment="pods"] #activeRoadmapTeamFilter,
html[data-work-assignment="pods"] #prdTeamFilter {display:none!important;}
.work-assignment-settings {margin:20px 0 28px;padding:20px;border:1px solid var(--appearance-line,#d3deef);border-radius:16px;background:var(--appearance-quiet,#f7f9fc);color:var(--appearance-ink,var(--ink));}
.work-assignment-settings>label {display:flex;align-items:center;gap:12px;line-height:1.5;}
.work-assignment-settings input[type="checkbox"] {appearance:auto;box-sizing:border-box;flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;max-height:18px;margin:0;padding:0;border:initial;border-radius:2px;background:initial;accent-color:var(--appearance-link,#1859d9);}
.work-assignment-settings input:focus-visible {outline:3px solid var(--appearance-focus,#98b8fa);outline-offset:3px;}
.work-assignment-settings .button {width:auto;margin-top:12px;border-radius:12px;}
.work-assignment-settings p:empty {display:none;}

/* Response feedback stays visually separate from document actions. */
.sense-feedback { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--border, #899ab2); }
.sense-feedback:empty { display: none; }
.sense-feedback-choices { display:flex; gap:.5rem; }
.sense-feedback button { width:auto; flex:none; white-space:nowrap; }
.sense-feedback button[aria-pressed="true"] { outline:2px solid #8b5cf6; outline-offset:2px; }
.sense-feedback .sense-feedback-editor { margin-top:.75rem; }
.sense-feedback .sense-feedback-editor[hidden] { display:none; }
.sense-feedback label { display:grid; gap:.5rem; }
.sense-feedback textarea { font:inherit; box-sizing:border-box; width:100%; max-width:100%; resize:vertical; }
.sense-feedback p { font-size:.875rem; line-height:1.5; }

.ai-provider-alert{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;width:min(640px,calc(100% - 32px));box-sizing:border-box;background:var(--appearance-surface,#fff);color:var(--ink);border:1px solid var(--appearance-line,#b8c8dc);border-left:4px solid var(--sense,#6941c6);border-radius:12px;padding:16px;box-shadow:0 8px 32px #0003;display:flex;align-items:center;gap:16px}.ai-provider-alert p{margin:0;flex:1;min-width:0;font-size:14px;line-height:1.5}.ai-provider-alert button{flex:none}

.opportunity-card .opportunity-estimate-alert{display:flex;align-items:center;gap:8px;margin-top:14px;padding:8px 10px;border-radius:8px;font-size:10px;font-weight:600;line-height:1.4;text-align:left}
.opportunity-card .opportunity-estimate-alert.missing{--estimate-alert-color:var(--appearance-danger-text,#b42318);background:var(--danger-soft,#fef3f2);color:var(--estimate-alert-color)}
.opportunity-card .opportunity-estimate-alert.incomplete{--estimate-alert-color:var(--appearance-warning-text,#b54708);background:var(--appearance-warning-soft,#fffaeb);color:var(--estimate-alert-color)}
.opportunity-card .opportunity-estimate-alert>b{display:grid;place-items:center;flex:0 0 16px;height:16px;border-radius:50%;background:var(--estimate-alert-color);color:var(--canvas,#fff);font-size:10px}
html[data-theme="dark"] .opportunity-card .opportunity-estimate-alert{border:1px solid currentColor;border-inline-start-width:4px}

/* Personal connection setup is independent of workspace administration. */
#profileGoogleChat{position:static;display:grid;gap:12px;min-width:0;width:min(720px,100%);margin:0 auto 20px;overflow:visible}
#profileGoogleChat>h3,#profileGoogleChat>p{margin:0}
#profileGoogleChat>section{display:grid;gap:12px;min-width:0}
#profileGoogleChat label{display:flex;align-items:flex-start;gap:10px;min-width:0;line-height:1.5}
#profileGoogleChat input[type="checkbox"]{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:3px 0 0}
#profileGoogleChat label>span{min-width:0;overflow-wrap:anywhere}
#profileGoogleChat button{justify-self:start;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#profileGoogleChat pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all}
.workspace-account-actions #workspaceMyProfile{grid-column:1/-1;justify-content:center}

/* Company saves may include research; keep progress visible at any form scroll position. */
.company-save-pending{filter:blur(1px)}
.company-save-progress{position:fixed;inset:0;z-index:1;display:grid;place-items:center;padding:24px;cursor:wait;background:rgba(16,24,39,.16)}
.company-save-progress-card{box-sizing:border-box;width:min(440px,100%);padding:28px;border:1px solid var(--appearance-line,#cbd8eb);border-radius:16px;background:var(--appearance-surface,#fff);color:var(--ink,#101827);box-shadow:0 16px 60px rgba(10,27,55,.24);text-align:center}
.company-save-progress-card strong{display:block;font-size:1.2em}
.company-save-progress-card p{margin:12px 0 0;line-height:1.5}

#marketRecordBackdrop.company-save-active{backdrop-filter:none}
