.retention-view{margin-top:20px}.full-replay{display:block;width:100%;max-height:580px;background:#101722;border-radius:12px;margin:15px 0}.replay-state{color:#50617c}.replay-retry,.collect-button{padding:10px 16px;border:1px solid #cbd8ed;background:#eef3ff;border-radius:8px;color:#275ede}.retention-chart{border:1px solid #e0e7f0;border-radius:12px;padding:16px;margin-top:18px;background:#fbfcfe}.retention-chart svg{display:block;width:100%;cursor:pointer}.retention-chart svg text{font-size:12px;fill:#78879a}.axis{fill:none;stroke:#dbe3ef}.entry-line,.secondary-line{fill:none;stroke-width:2.5;stroke-linejoin:round}.entry-line{stroke:#3477ed}.secondary-line{stroke:#ef9a36}.play-cursor{stroke:#26344b;stroke-dasharray:5 4;stroke-width:1.5}.curve-legend{display:flex;align-items:center;gap:9px;font-size:13px}.curve-legend small{margin-left:auto;color:#8390a3}.entry-dot,.secondary-dot{display:inline-block;width:10px;height:10px;background:#3477ed;border-radius:50%}.secondary-dot{background:#ef9a36;margin-left:15px}.curve-readout{font-size:13px;min-height:20px;margin:8px 0 0}.retention-tags{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin-top:15px}.retention-tag{display:flex;flex-direction:column;gap:6px;text-align:left;padding:15px;border-radius:10px;border:1px solid #dfe6ef;background:white;color:#273950;cursor:pointer}.retention-tag span{font-weight:700;color:#168064}.retention-tag.poor span{color:#c36628}.retention-tag small{color:#6d7d90}.retention-tag:hover,.retention-tag.selected,.retention-tag.playing{border-color:#3975db;background:#f0f5ff;box-shadow:0 0 0 1px #3975db}.retention-tag:disabled{opacity:.55;cursor:default}.retention-method{margin-top:20px;color:#6b7b90;font-size:13px}.retention-method summary{cursor:pointer;color:#344a68}.phone-form{max-width:420px;display:grid;gap:16px;margin:10px auto}.phone-form label{display:grid;gap:7px;font-weight:600;color:#34445e}.phone-form input[type=tel],.phone-form input[inputmode=numeric]{width:100%;padding:12px;border:1px solid #cbd6e6;border-radius:8px;background:white;min-width:0}.phone-row{display:flex;align-items:center;gap:10px}.phone-row .country{padding:12px 0;color:#758399}.phone-row button{white-space:nowrap;padding:12px;border-radius:8px;border:1px solid #cbd6e6;color:#275ede;background:#f4f7ff}.phone-form .agreement{display:flex;align-items:flex-start;font-size:13px;font-weight:400;gap:8px;line-height:1.6}.agreement input{margin-top:4px}.agreement a{color:#275ede}.phone-submit{padding:12px;border:0;border-radius:8px;background:#275ede;color:white;font-weight:600}.phone-form button:disabled{opacity:.5;cursor:not-allowed}.login-methods button.active{background:#275ede;color:#fff}.login-dialog-head{display:flex;align-items:center;justify-content:space-between}.captcha-wrap{border-top:1px solid #dce4ef;margin-top:16px;padding-top:12px}.captcha-wrap img{width:100%;height:auto}.phone-error{color:#b45129;font-size:13px}.collection-status{font-size:13px;color:#64738a;padding:12px 0}.library-full{margin-top:16px}.legacy-clips{margin-top:16px}.legacy-clips summary{cursor:pointer;color:#64738a}.batch-result button{margin-top:8px}@media(max-width:600px){.curve-legend{flex-wrap:wrap}.curve-legend small{margin-left:0}.retention-chart{padding:8px}.phone-form{width:100%}.retention-tags{grid-template-columns:1fr}}

/* Let evidence wrap inside its grid cell; shared button styles must not force one line. */
.retention-view,.retention-chart,.retention-tags{min-width:0;max-width:100%}
.retention-view .section-head{flex-wrap:wrap}
.retention-tags{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:stretch}
.retention-tags .retention-tag{min-width:0;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.6;padding:16px;gap:8px;align-items:flex-start}
.retention-tag>span,.retention-tag>strong,.retention-tag>small{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.retention-tag>strong{font-variant-numeric:tabular-nums;line-height:1.5}
.retention-tag>small{line-height:1.7}.retention-tags>p{grid-column:1/-1}
.retention-method,.curve-readout{overflow-wrap:anywhere;white-space:normal}
.curve-legend{flex-wrap:wrap}.curve-legend small{white-space:normal}
.retention-chart svg{height:auto;touch-action:pan-y}
.chart-time-cursor{stroke:#e5484d;stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}
