.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%)}

.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; }

/* 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%}}
