/* TENOR_RESCUE_5_PAGE_ICON_NAV_ADDENDUM_V1_5_20260725 */
#tenor-rescue-form-overlay .trl-v15-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto auto;
    align-items: center;
    width: 100%;
    margin: 4px 0 18px;
}
#tenor-rescue-form-overlay .trl-v15-dot {
    width: 13px;
    height: 13px;
    border: 1px solid #4d6d8d;
    border-radius: 50%;
    background: #092643;
    box-sizing: border-box;
}
#tenor-rescue-form-overlay .trl-v15-dot.on {
    border-color: #1687ff;
    background: #1687ff;
    box-shadow: 0 0 0 3px rgba(22,135,255,.10);
}
#tenor-rescue-form-overlay .trl-v15-line {
    height: 2px;
    background: #405a73;
}
#tenor-rescue-form-overlay .trl-v15-line.on { background: #1687ff; }
#tenor-rescue-form-overlay .trl-v15-count {
    min-width: 48px;
    margin-left: 12px;
    color: #d9e9f8;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid rgba(70,157,229,.42);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(5,41,75,.96), rgba(4,31,58,.96));
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum > p {
    margin: 0 0 14px;
    color: #bfd4e8;
    font-size: 14px;
}
#tenor-rescue-form-overlay .trl-v15-location-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
#tenor-rescue-form-overlay .trl-v15-location-type,
#tenor-rescue-form-overlay .trl-option.trl-v15-option {
    border: 1px solid rgba(101,161,214,.45);
    border-radius: 14px;
    background: rgba(3,31,58,.88);
    color: #f7fbff;
    box-sizing: border-box;
    cursor: pointer;
}
#tenor-rescue-form-overlay .trl-v15-location-type {
    display: flex;
    min-height: 94px;
    padding: 12px 9px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    text-align: center;
}
#tenor-rescue-form-overlay .trl-v15-location-type:last-child {
    grid-column: 1 / -1;
    min-height: 62px;
    flex-direction: row;
}
#tenor-rescue-form-overlay .trl-v15-location-type.selected,
#tenor-rescue-form-overlay .trl-option.trl-v15-option.selected {
    border-color: #1687ff;
    background: linear-gradient(180deg, #167cff, #075dd5);
    box-shadow: 0 0 0 3px rgba(22,135,255,.12);
}
#tenor-rescue-form-overlay .trl-v15-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #dcecff;
}
#tenor-rescue-form-overlay .trl-v15-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#tenor-rescue-form-overlay .trl-v15-location-type.selected .trl-v15-icon,
#tenor-rescue-form-overlay .trl-option.trl-v15-option.selected .trl-v15-icon { color: #fff; }
#tenor-rescue-form-overlay .trl-v15-location-label {
    display: block;
    margin: 0 0 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
#tenor-rescue-form-overlay .trl-v15-exact-location {
    display: block;
    width: 100%;
    min-height: 104px;
    padding: 13px 14px;
    border: 1px solid rgba(105,166,219,.55);
    border-radius: 13px;
    background: #062646;
    color: #fff;
    font: inherit;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
}
#tenor-rescue-form-overlay .trl-v15-exact-location::placeholder { color: #8ca8c2; }
#tenor-rescue-form-overlay .trl-option.trl-v15-option {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px 16px;
    text-align: left;
}
#tenor-rescue-form-overlay .trl-option.trl-v15-option.trl-v15-danger {
    border-color: #e43c3c;
}
#tenor-rescue-form-overlay .trl-option.trl-v15-option.trl-v15-danger.selected {
    background: linear-gradient(180deg, #e32626, #c91616);
}
#tenor-rescue-form-overlay .trl-v15-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 14px 0 16px;
}
#tenor-rescue-form-overlay .trl-v15-next {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 12px 20px;
    border: 1px solid #1687ff;
    border-radius: 13px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(180deg, #258cff, #0865e4);
    color: #fff;
    font: 800 17px/1.1 inherit;
    cursor: pointer;
}
#tenor-rescue-form-overlay .trl-v15-next:disabled {
    opacity: .48;
    cursor: not-allowed;
}
#tenor-rescue-form-overlay .trl-v15-arrow {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}
#tenor-rescue-form-overlay .trl-v15-status {
    min-height: 20px;
    color: #ffd28b;
    font-size: 13px;
    text-align: center;
}
#tenor-rescue-form-overlay .trl-v15-preserved-note {
    margin: -4px 0 10px;
    color: #9eb8d1;
    font-size: 12px;
    text-align: center;
}
@media (max-width: 390px) {
    #tenor-rescue-form-overlay .trl-v15-location-types { gap: 8px; }
    #tenor-rescue-form-overlay .trl-v15-location-type { min-height: 86px; }
}

/* TENOR_RESCUE_COMPACT_ANDROID_IOS_UI_V1_6_20260726
   Compact, touch-accessible, safe-area-aware refinement for Android and iOS. */
#tenor-rescue-form-overlay,
#tenor-rescue-form-overlay * {
    -webkit-tap-highlight-color: rgba(22, 135, 255, .20);
}
#tenor-rescue-form-overlay .trl-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
}
#tenor-rescue-form-overlay .trl-v15-progress {
    margin: 2px 0 8px !important;
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum {
    margin: 0 0 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum h3 {
    margin-bottom: 3px !important;
    font-size: 18px !important;
}
#tenor-rescue-form-overlay .trl-v15-page1-addendum > p {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}
#tenor-rescue-form-overlay .trl-v15-location-types {
    gap: 6px !important;
    margin-bottom: 8px !important;
}
#tenor-rescue-form-overlay .trl-v15-location-type {
    min-height: 52px !important;
    height: auto !important;
    padding: 6px 8px !important;
    border-radius: 11px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    text-align: left !important;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
#tenor-rescue-form-overlay .trl-v15-location-type:last-child {
    min-height: 48px !important;
}
#tenor-rescue-form-overlay .trl-v15-icon {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
}
#tenor-rescue-form-overlay .trl-v15-icon svg {
    width: 28px !important;
    height: 28px !important;
}
#tenor-rescue-form-overlay .trl-v15-location-label {
    margin-bottom: 4px !important;
    font-size: 13px !important;
}
#tenor-rescue-form-overlay .trl-v15-exact-location {
    min-height: 62px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    -webkit-appearance: none;
    appearance: none;
}
#tenor-rescue-form-overlay .trl-options {
    display: grid !important;
    gap: 6px !important;
    margin: 8px 0 !important;
}
#tenor-rescue-form-overlay .trl-option.trl-v15-option {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: start !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 7px 10px !important;
    border-radius: 11px !important;
    text-align: left !important;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
#tenor-rescue-form-overlay .trl-option.trl-v15-option > .trl-icon {
    display: none !important;
}
#tenor-rescue-form-overlay .trl-option.trl-v15-option > span:last-child {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}
#tenor-rescue-form-overlay .trl-v15-nav {
    position: sticky !important;
    top: 8px !important;
    z-index: 60 !important;
    display: block !important;
    margin: 6px 0 8px !important;
    padding: 4px !important;
    padding-left: max(4px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(4px, env(safe-area-inset-right, 0px)) !important;
    border: 1px solid rgba(83, 166, 240, .45) !important;
    border-radius: 14px !important;
    background: rgba(3, 31, 58, .94) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
#tenor-rescue-form-overlay .trl-v15-next {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 8px 16px !important;
    border-radius: 11px !important;
    gap: 10px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
#tenor-rescue-form-overlay .trl-v15-arrow {
    font-size: 22px !important;
}
#tenor-rescue-form-overlay .trl-v15-status {
    min-height: 0 !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
#tenor-rescue-form-overlay .trl-v15-status:empty {
    display: none !important;
}
#tenor-rescue-form-overlay .trl-v15-preserved-note {
    display: none !important;
}
#tenor-rescue-form-overlay #trl-visible-answers {
    margin: 7px 0 !important;
    padding: 8px !important;
    border-radius: 10px !important;
}
#tenor-rescue-form-overlay #trl-edit-location {
    min-height: 54px !important;
    padding: 8px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}
#tenor-rescue-form-overlay #trl-save-location-change {
    min-height: 48px !important;
    margin-top: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}
#tenor-rescue-form-overlay .trl-write {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
#tenor-rescue-form-overlay .trl-input {
    min-height: 68px !important;
    padding: 9px 10px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}
#tenor-rescue-form-overlay .trl-submit {
    gap: 8px !important;
    margin-top: 8px !important;
}
#tenor-rescue-form-overlay .trl-btn {
    min-height: 48px !important;
    height: auto !important;
    padding: 8px 10px !important;
    font-size: 15px !important;
    touch-action: manipulation;
}
#tenor-rescue-form-overlay button:focus-visible,
#tenor-rescue-form-overlay textarea:focus-visible,
#tenor-rescue-form-overlay input:focus-visible {
    outline: 3px solid #ffe066 !important;
    outline-offset: 2px !important;
}
#tenor-rescue-form-overlay button:active {
    transform: scale(.985);
}
@media (max-width: 390px) {
    #tenor-rescue-form-overlay .trl-v15-location-types {
        grid-template-columns: 1fr !important;
    }
    #tenor-rescue-form-overlay .trl-v15-location-type {
        min-height: 48px !important;
    }
}
@media (orientation: landscape) and (max-height: 520px) {
    #tenor-rescue-form-overlay .trl-v15-page1-addendum {
        padding: 8px !important;
    }
    #tenor-rescue-form-overlay .trl-option.trl-v15-option,
    #tenor-rescue-form-overlay .trl-v15-location-type {
        min-height: 48px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    #tenor-rescue-form-overlay .trl-v15-nav {
        top: 4px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #tenor-rescue-form-overlay *,
    #tenor-rescue-form-overlay *::before,
    #tenor-rescue-form-overlay *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    #tenor-rescue-form-overlay button:active {
        transform: none !important;
    }
}

/* TENOR_RESCUE_4_STAGE_AUTOSAVE_SUMMARY_V1_7_20260726
   Four-stage progress, compact conditional detail and trusted-person action UI. */
#tenor-rescue-form-overlay .trl-v17-other-detail,
#tenor-rescue-form-overlay .trl-v17-trusted-action {
    margin: 7px 0 9px !important;
    padding: 10px !important;
    border: 1px solid rgba(84, 169, 245, .58) !important;
    border-radius: 12px !important;
    background: rgba(4, 34, 62, .96) !important;
}
#tenor-rescue-form-overlay .trl-v17-other-detail label,
#tenor-rescue-form-overlay .trl-v17-trusted-action h3 {
    display: block !important;
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
#tenor-rescue-form-overlay .trl-v17-other-input {
    display: block !important;
    width: 100% !important;
    min-height: 72px !important;
    padding: 9px 10px !important;
    border: 1px solid #527da4 !important;
    border-radius: 10px !important;
    background: #173c5d !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    resize: vertical !important;
    box-sizing: border-box !important;
}
#tenor-rescue-form-overlay .trl-v17-autosave-status {
    min-height: 17px !important;
    margin-top: 5px !important;
    color: #9fd1ff !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
#tenor-rescue-form-overlay .trl-v17-trusted-action {
    border-color: rgba(83, 201, 133, .72) !important;
    background: rgba(4, 67, 65, .95) !important;
}
#tenor-rescue-form-overlay .trl-v17-trusted-action p {
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    white-space: pre-line !important;
}
#tenor-rescue-form-overlay .trl-v17-action-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
}
#tenor-rescue-form-overlay .trl-v17-action-button {
    min-height: 48px !important;
    padding: 8px 10px !important;
    border: 1px solid #62b8ff !important;
    border-radius: 10px !important;
    background: #0878ef !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    touch-action: manipulation !important;
}
#tenor-rescue-form-overlay .trl-v17-trusted-action.trl-v17-show-mode {
    position: relative !important;
    z-index: 80 !important;
    padding: 16px !important;
    border-width: 2px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .36) !important;
}
#tenor-rescue-form-overlay .trl-v17-trusted-action.trl-v17-show-mode p {
    font-size: 19px !important;
    line-height: 1.42 !important;
}
#tenor-rescue-form-overlay .trl-v17-progress-four .trl-v15-count {
    min-width: 48px !important;
}
@media (max-width: 390px) {
    #tenor-rescue-form-overlay .trl-v17-action-row {
        grid-template-columns: 1fr !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #tenor-rescue-form-overlay .trl-v17-trusted-action {
        transition: none !important;
    }
}

/* TENOR_RESCUE_BACK_NAV_TEXT_ADVANCE_ACTIONABLE_REPORT_V1_9_20260726
   Middle-stage navigation only. Page 1 and final review layout are untouched. */
#tenor-rescue-form-overlay .trl-v19-nav-row {
    display: grid !important;
    grid-template-columns: minmax(112px, .38fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
}
#tenor-rescue-form-overlay .trl-v19-back {
    min-height: 48px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(116, 181, 238, .72) !important;
    border-radius: 12px !important;
    background: #082f55 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    touch-action: manipulation !important;
}
#tenor-rescue-form-overlay .trl-v19-back:disabled { opacity: .42 !important; }
#tenor-rescue-form-overlay .trl-v19-nav-row .trl-v15-next { width: 100% !important; margin: 0 !important; }
#tenor-rescue-form-overlay .trl-v19-text-ready { box-shadow: 0 0 0 2px rgba(75, 174, 255, .34) !important; }
#tenor-rescue-form-overlay .trl-v19-middle .trl-v15-preserved-note { display: none !important; }
@media (max-width: 360px) {
    #tenor-rescue-form-overlay .trl-v19-nav-row {
        grid-template-columns: 104px minmax(0, 1fr) !important;
        gap: 6px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #tenor-rescue-form-overlay .trl-v19-back,
    #tenor-rescue-form-overlay .trl-v19-nav-row .trl-v15-next { transition: none !important; }
}

/* TENOR_RESCUE_LIVE_POSITION_PERSIST_TOP_VISIBILITY_V1_10_1_20260726 */
#tenor-rescue-form-overlay .trl-v1101-live-panel{margin:10px 0 12px;padding:12px;border:1px solid rgba(116,181,238,.55);border-radius:14px;background:#071f39;color:#fff}
#tenor-rescue-form-overlay .trl-v1101-live-title{font-size:15px;font-weight:900;margin-bottom:7px}
#tenor-rescue-form-overlay .trl-v1101-live-copy{font-size:13px;line-height:1.4;color:rgba(255,255,255,.9);margin-bottom:10px}
#tenor-rescue-form-overlay .trl-v1101-live-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#tenor-rescue-form-overlay .trl-v1101-live-btn,#tenor-rescue-form-overlay .trl-v1101-stop-btn{min-height:48px;border:0;border-radius:12px;padding:9px 10px;color:#fff;font-size:14px;font-weight:900;touch-action:manipulation}
#tenor-rescue-form-overlay .trl-v1101-live-btn{background:linear-gradient(180deg,#2b8cff,#176be8)}
#tenor-rescue-form-overlay .trl-v1101-stop-btn{background:#163f66}
#tenor-rescue-form-overlay .trl-v1101-live-status{margin-top:9px;font-size:12px;line-height:1.45;white-space:pre-line;color:#eaf5ff}
#tenor-rescue-form-overlay .trl-v1101-live-status strong{color:#7dccff}
#tenor-rescue-form-overlay .trl-question,#tenor-rescue-form-overlay h1,#tenor-rescue-form-overlay h2,#tenor-rescue-form-overlay h3{scroll-margin-top:calc(env(safe-area-inset-top,0px) + 12px)}
@media(max-width:380px){#tenor-rescue-form-overlay .trl-v1101-live-actions{grid-template-columns:1fr}}

/* TENOR_RESCUE_STICKY_QUESTION_PERSISTENT_ANSWER_NEXT_V1_10_3_2_20260726 */
#tenor-rescue-form-overlay #trl-content {
    position: relative !important;
}
#tenor-rescue-form-overlay .trl-v1103-sticky-top {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 0 12px 0 !important;
    padding: 8px 0 12px 0 !important;
    background: linear-gradient(180deg, #0d4d80 0%, #0b426f 100%) !important;
    border-bottom: 1px solid rgba(126, 200, 255, .38) !important;
    box-shadow: none !important;
    isolation: auto !important;
}
#tenor-rescue-form-overlay .trl-v1103-sticky-top .trl-progress {
    margin-top: 0 !important;
}
#tenor-rescue-form-overlay .trl-v1103-sticky-top .trl-question {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    overflow: visible !important;
    max-height: none !important;
    white-space: normal !important;
    text-overflow: clip !important;
}
#tenor-rescue-form-overlay .trl-v1103-sticky-top .trl-guidance {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
    max-height: none !important;
    white-space: normal !important;
}
#tenor-rescue-form-overlay #trl-answer-input.trl-v1103-answer-live {
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#tenor-rescue-form-overlay #trl-v15-next.trl-v1103-ready,
#tenor-rescue-form-overlay #trl-send.trl-v1103-ready {
    opacity: 1 !important;
    cursor: pointer !important;
}

/* TENOR_RESCUE_IOS_ANDROID_SURGICAL_SEND_NEXT_TEXT_TRIM_V1_6_3_20260727 */
#tenor-rescue-form-overlay .trl-question,
#tenor-rescue-form-overlay .trl-guidance,
#tenor-rescue-form-overlay .trl-v15-status,
#tenor-rescue-form-overlay .trl-v1101-live-copy,
#tenor-rescue-form-overlay .trl-v17-trusted-action p,
#tenor-rescue-form-overlay .trl-v15-location-label,
#tenor-rescue-form-overlay .trl-write label {
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

