html.emdrtool-html-lock{
    overflow:hidden;
    overscroll-behavior:none;
    background:#eef7ff !important;
}

body.emdrtool-body-lock{
    overflow:hidden;
    overscroll-behavior:none;
    background:#eef7ff !important;
}

html.emdrtool-page-bleed,
body.emdrtool-page-bleed{
    min-height:100%;
    background:#eef7ff !important;
}

.emdrtool-mobile-direct-audio{
    display:none;
    width:100%;
}

.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio{
    display:block;
}

html.emdrtool-page-bleed{
    overflow-x:hidden;
}

body.emdrtool-page-bleed{
    overflow-x:hidden;
}

body.emdrtool-page-bleed::before{
    content:"";
    position:fixed;
    left:0;
    right:0;
    top:calc(-1 * env(safe-area-inset-top, 0px));
    bottom:calc(-1 * env(safe-area-inset-bottom, 0px));
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at top right, rgba(143,174,155,.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(200,169,135,.18), transparent 30%),
        linear-gradient(180deg, #F7F3EC, #ECE6DA 52%, #FBF8F1);
}

.emdrtool-wrap{
    --emdr-orb-half-cycle:3.4s;
    --emdr-orb-half-cycle-ms:3400;
    --emdr-bg-1:#F7F3EC;
    --emdr-bg-2:#ECE6DA;
    --emdr-bg-3:#FBF8F1;
    --emdr-ink:#24312F;
    --emdr-muted:#65716D;
    --emdr-line:#DED5C8;
    --emdr-slider-rest:rgba(36,49,47,.18);
    --emdr-track-soft:rgba(143,174,155,.24);
    --emdr-primary:#5F8E95;
    --emdr-primary-dark:#456F75;
    --emdr-progress-accent:#C8A987;
    --emdr-white:#ffffff;
    --emdr-success:#dff1e4;
    --emdr-success-ink:#1c6d40;
    --emdr-shadow:0 18px 40px rgba(36,49,47,.12);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--emdr-ink);
    margin:30px 0;
    position:relative;
    box-sizing:border-box;
}

.emdrtool-wrap *{
    box-sizing:border-box;
}

.emdrtool-wrap.is-fullscreen{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:100vw !important;
    height:100vh !important;
    height:100dvh !important;
    height:calc(var(--emdr-vh, 1vh) * 100) !important;
    max-width:none !important;
    margin:0 !important;
    padding:22px !important;
    z-index:2147483000 !important;
    overflow:hidden !important;
    isolation:isolate;
    display:flex;
    align-items:stretch;
    justify-content:center;
    background:
        radial-gradient(circle at top left, rgba(114,180,255,.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(139,223,206,.16), transparent 28%),
        linear-gradient(180deg, rgba(14,21,40,.90), rgba(20,29,52,.94));
}

.emdrtool-wrap.is-fullscreen::before{
    content:"";
    position:fixed;
    inset:-160px -32px -220px -32px;
    z-index:0;
    background:
        radial-gradient(circle at top left, rgba(114,180,255,.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(139,223,206,.16), transparent 28%),
        linear-gradient(180deg, rgba(14,21,40,.90), rgba(20,29,52,.94));
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transform:translateZ(0);
    pointer-events:none;
}

.emdrtool-browser-bleed{
    display:none;
}

.emdrtool-wrap.is-fullscreen .emdrtool-browser-bleed{
    display:block;
    position:fixed;
    left:-6px;
    right:-6px;
    top:-180px;
    bottom:-240px;
    z-index:0;
    pointer-events:none;
    background:
        radial-gradient(circle at top left, rgba(114,180,255,.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(139,223,206,.16), transparent 28%),
        linear-gradient(180deg, rgba(14,21,40,.96), rgba(20,29,52,.98));
    transform:translateZ(0);
}

.emdrtool-shell{
    max-width:980px;
    margin:0 auto;
    background:linear-gradient(135deg,var(--emdr-bg-1),var(--emdr-bg-2));
    border:1px solid rgba(255,255,255,.92);
    border-radius:30px;
    box-shadow:var(--emdr-shadow);
    padding:34px;
    position:relative;
    overflow:hidden;
}

.emdrtool-wrap.is-fullscreen .emdrtool-shell{
    z-index:1;
    width:min(100%, 1380px);
    max-width:1380px;
    height:calc(100vh - 44px);
    height:calc(100dvh - 44px);
    height:calc((var(--emdr-vh, 1vh) * 100) - 44px);
    min-height:0;
    max-height:calc(100vh - 44px);
    max-height:calc(100dvh - 44px);
    max-height:calc((var(--emdr-vh, 1vh) * 100) - 44px);
    margin:auto;
    padding:42px;
    border-radius:34px;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    background:
        linear-gradient(135deg, rgba(247,243,236,.98), rgba(236,230,218,.98)),
        linear-gradient(180deg, var(--emdr-bg-1), var(--emdr-bg-3));
    box-shadow:
        0 28px 70px rgba(7, 16, 38, .28),
        0 0 0 1px rgba(255,255,255,.65) inset;
}

.emdrtool-shell::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(143,174,155,.20), transparent 28%),
        radial-gradient(circle at bottom left, rgba(200,169,135,.16), transparent 24%);
    pointer-events:none;
}

.emdrtool-header,
.emdrtool-topbar,
.emdrtool-progress,
.emdrtool-panel,
.emdrtool-footnote{
    position:relative;
    z-index:1;
}

.emdrtool-topbar{
    display:flex;
    justify-content:flex-end;
    margin-bottom:14px;
}

.emdrtool-wrap.is-fullscreen .emdrtool-topbar{
    position:sticky;
    top:0;
    z-index:8;
    padding-bottom:8px;
}

.emdrtool-kicker{
    display:inline-block;
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
    background:rgba(75,103,255,.10);
    color:var(--emdr-primary-dark);
    border-radius:999px;
    padding:8px 12px;
    margin-bottom:14px;
    font-weight:700;
}

.emdrtool-wrap h2,
.emdrtool-wrap h3{
    margin:0 0 10px;
    color:var(--emdr-ink);
}

.emdrtool-wrap h2{
    font-size:clamp(28px,4vw,40px);
    line-height:1.08;
}

.emdrtool-wrap h3{
    font-size:28px;
}

.emdrtool-subtitle,
.emdrtool-copy,
.emdrtool-footnote,
.emdrtool-breathing-note,
.emdrtool-session-hint{
    color:var(--emdr-muted);
}

.emdrtool-progress{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
    margin:26px 0 24px;
}

.emdrtool-progress span{
    height:8px;
    border-radius:999px;
    background:rgba(75,103,255,.12);
}

.emdrtool-progress span.is-active,
.emdrtool-progress span.is-done{
    background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff));
}
.emdrtool-wrap.emdrtool-step-0 .emdrtool-progress{
    display:none;
}

.emdrtool-panel{
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(7px);
    border:1px solid rgba(255,255,255,.92);
    border-radius:24px;
    padding:28px;
}

.emdrtool-wrap.is-fullscreen .emdrtool-panel{
    padding:34px;
    border-radius:28px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-header,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-progress,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-footnote{
    display:none;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
    min-height:0;
}

.emdrtool-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:12px;
}

.emdrtool-label{
    display:block;
    font-weight:700;
    margin:20px 0 10px;
}

.emdrtool-textarea{
    width:100%;
    min-height:200px;
    border-radius:20px;
    border:1px solid var(--emdr-line);
    background:var(--emdr-white);
    padding:18px;
    font-size:16px;
    line-height:1.6;
    resize:vertical;
    color:var(--emdr-ink);
    box-shadow:inset 0 1px 3px rgba(17,24,39,.03);
}

.emdrtool-wrap.is-fullscreen .emdrtool-textarea{
    min-height:250px;
    font-size:17px;
    padding:22px;
}

.emdrtool-textarea:focus{
    outline:none;
    border-color:rgba(75,103,255,.55);
    box-shadow:0 0 0 4px rgba(75,103,255,.12);
}

.emdrtool-actions{
    display:flex;
    gap:12px;
    margin-top:24px;
    flex-wrap:wrap;
}

.emdrtool-btn{
    appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
    user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout:none;
    pointer-events:auto;
    position:relative;
    z-index:10;
    border:1px solid #cfd8ea;
    border-radius:999px;
    padding:13px 18px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    text-decoration:none;
    line-height:1.2;
    background:#fff;
    color:var(--emdr-ink);
    white-space:nowrap;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
}

.emdrtool-btn:hover{
    transform:translateY(-1px);
}

.emdrtool-btn-primary{
    background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff));
    color:#fff;
    border-color:transparent;
    box-shadow:0 12px 24px rgba(75,103,255,.24);
}

.emdrtool-btn-primary:hover{
    background:linear-gradient(90deg,var(--emdr-primary-dark),#63a8ff);
    color:#fff;
}

.emdrtool-btn-secondary{
    background:rgba(255,255,255,.88);
    color:var(--emdr-ink);
    border:1px solid var(--emdr-line);
}

.emdrtool-btn-ghost{
    background:rgba(255,255,255,.72);
    color:var(--emdr-ink);
    border:1px solid rgba(89,108,158,.18);
    backdrop-filter:blur(6px);
    box-shadow:0 10px 24px rgba(18,27,55,.08);
}

.emdrtool-btn-audio{
    min-width:150px;
    font-size:13px;
    padding:12px 16px;
}

.emdrtool-btn-active{
    background:linear-gradient(90deg,#2f9d6f,#53c497);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 24px rgba(47,157,111,.24);
}

.emdrtool-btn-danger,
.emdrtool-btn.is-playing{
    background:linear-gradient(90deg,#f97373,#ff9a6c);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 24px rgba(249,115,115,.22);
}

.emdrtool-btn-gear{
    min-width:52px;
    width:52px;
    height:52px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:800;
    line-height:1;
}

.emdrtool-alert{
    margin-bottom:16px;
    padding:13px 16px;
    border-radius:16px;
    background:#fff5f5;
    color:#8b1f2c;
    border:1px solid #f4c9d1;
    font-weight:600;
}

.emdrtool-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-top:18px;
}

.emdrtool-summary.emdrtool-summary-three{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

@media (min-width:1281px){
    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-shell{
        padding:32px 34px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-progress{
        margin:18px 0 16px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-panel{
        padding:24px 28px 22px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-panel-header{
        margin-bottom:10px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-panel-header .emdrtool-copy{
        max-width:720px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,.9fr);
        align-items:stretch;
        gap:14px;
        margin-top:14px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-card-box{
        padding:14px 16px;
        height:100%;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary-textarea{
        height:auto;
        flex:1 1 auto;
        min-height:96px;
        max-height:none;
        overflow-y:auto;
        overflow-x:hidden;
        padding:10px 12px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-label{
        margin:16px 0 8px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-session-meta{
        margin-top:8px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-actions{
        margin-top:16px;
    }
}

@media (min-width:821px) and (max-width:1280px){
    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-shell{
        padding:clamp(18px,2.6vw,28px);
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-progress{
        margin:16px 0 16px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-panel{
        padding:22px 24px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-panel-header{
        margin-bottom:10px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three{
        grid-template-columns:repeat(2,minmax(0,1fr));
        align-items:stretch;
        gap:14px;
        margin-top:14px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3){
        grid-column:1 / -1;
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(220px,320px);
        grid-template-areas:
            "title title"
            "rating label"
            "rating select"
            "rating meta";
        column-gap:18px;
        row-gap:8px;
        align-content:start;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-card-box{
        padding:14px 16px;
        min-height:260px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3) .emdrtool-card-title{
        grid-area:title;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3) .emdrtool-rating-control{
        grid-area:rating;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3) .emdrtool-label{
        grid-area:label;
        margin:0 0 2px;
        align-self:end;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3) .emdrtool-select{
        grid-area:select;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3) .emdrtool-session-meta{
        grid-area:meta;
        margin-top:0;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary-textarea{
        height:auto;
        flex:1 1 auto;
        min-height:112px;
        max-height:28vh;
        overflow-y:auto;
        overflow-x:hidden;
        padding:10px 12px;
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-actions{
        margin-top:16px;
    }
}

@media (min-width:821px) and (max-width:1040px){
    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-summary.emdrtool-summary-three > .emdrtool-card-box:nth-child(3){
        grid-template-columns:1fr;
        grid-template-areas:
            "title"
            "rating"
            "label"
            "select"
            "meta";
    }

    .emdrtool-wrap.emdrtool-step-3.is-fullscreen .emdrtool-card-box{
        min-height:220px;
    }
}

.emdrtool-rating-control{
    display:grid;
    gap:10px;
    min-width:0;
}

.emdrtool-rating-topline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-weight:800;
    min-width:0;
}

.emdrtool-rating-topline > *{
    min-width:0;
}

.emdrtool-rating-value{
    min-width:58px;
    max-width:100%;
    flex:0 1 auto;
    text-align:center;
    padding:7px 10px;
    border-radius:999px;
    color:var(--emdr-primary-dark);
    background:rgba(75,103,255,.10);
    white-space:normal;
    overflow-wrap:anywhere;
}

.emdrtool-sud-range{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    height:40px;
    padding:12px 0;
    margin:0;
    accent-color:var(--emdr-primary);
    -webkit-appearance:none;
    appearance:none;
    background:transparent;
    touch-action:pan-y;
    cursor:pointer;
}

.emdrtool-sud-range::-webkit-slider-runnable-track{
    height:8px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--emdr-primary) 0 var(--emdr-range-fill,50%),var(--emdr-slider-rest,rgba(109,121,146,.24)) var(--emdr-range-fill,50%) 100%);
}

.emdrtool-sud-range::-webkit-slider-thumb{
    -webkit-appearance:none;
    appearance:none;
    width:26px;
    height:26px;
    margin-top:-9px;
    border-radius:999px;
    border:3px solid #fff;
    background:var(--emdr-primary);
    box-shadow:0 4px 12px rgba(31,49,104,.22);
}

.emdrtool-sud-range::-moz-range-track{
    height:8px;
    border-radius:999px;
    background:var(--emdr-slider-rest,rgba(109,121,146,.24));
}

.emdrtool-sud-range::-moz-range-progress{
    height:8px;
    border-radius:999px;
    background:var(--emdr-primary);
}

.emdrtool-sud-range::-moz-range-thumb{
    width:24px;
    height:24px;
    border-radius:999px;
    border:3px solid #fff;
    background:var(--emdr-primary);
    box-shadow:0 4px 12px rgba(31,49,104,.22);
}

.emdrtool-sud-name{
    min-height:22px;
    color:var(--emdr-ink);
    font-size:14px;
    font-weight:700;
    line-height:1.35;
}

.emdrtool-sud-name.is-muted{
    color:var(--emdr-muted);
    font-weight:600;
}

.emdrtool-sud-range.emdrtool-sud-unrated{
    accent-color:rgba(89,108,158,.32);
}

.emdrtool-sud-range.emdrtool-sud-unrated::-webkit-slider-runnable-track{
    background:var(--emdr-slider-rest,rgba(109,121,146,.24));
}

.emdrtool-sud-range.emdrtool-sud-unrated::-moz-range-progress{
    background:var(--emdr-slider-rest,rgba(109,121,146,.24));
}

.emdrtool-sud-range.emdrtool-sud-unrated::-webkit-slider-thumb{
    opacity:0;
}

.emdrtool-sud-range.emdrtool-sud-unrated::-moz-range-thumb{
    opacity:0;
}

.emdrtool-sud-range.emdrtool-input-needs-attention{
    outline:3px solid rgba(224,162,58,.18);
    outline-offset:6px;
    border-radius:999px;
}

.emdrtool-sud-number{
    width:100%;
    border:1px solid var(--emdr-line);
    background:var(--emdr-white);
    border-radius:16px;
    padding:14px 15px;
    font-size:18px;
    font-weight:800;
    color:var(--emdr-ink);
    font-variant-numeric:tabular-nums;
}

.emdrtool-sud-number:focus{
    outline:none;
    border-color:rgba(75,103,255,.44);
    box-shadow:0 0 0 3px rgba(75,103,255,.12);
}

.emdrtool-sud-number.emdrtool-input-needs-attention{
    border-color:#e0a23a;
    box-shadow:0 0 0 3px rgba(224,162,58,.16);
}

.emdrtool-sud-help{
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.35;
}

.emdrtool-sud-notice{
    margin-top:10px;
    padding:12px 14px;
    border-radius:16px;
    background:#fff8e8;
    border:1px solid #f1d49b;
    color:#73521d;
    font-size:14px;
    line-height:1.45;
    box-shadow:0 12px 26px rgba(115,82,29,.08);
}

.emdrtool-sud-notice[hidden]{
    display:none;
}

.emdrtool-scale-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.35;
}



.emdrtool-step-3 .emdrtool-progress,
.emdrtool-step-1 .emdrtool-progress,
.emdrtool-step-2 .emdrtool-progress,
.emdrtool-step-4 .emdrtool-progress,
.emdrtool-step-5 .emdrtool-progress{
    display:none;
}

.emdrtool-step-3 .emdrtool-shell,
.emdrtool-step-1 .emdrtool-shell,
.emdrtool-step-2 .emdrtool-shell,
.emdrtool-step-4 .emdrtool-shell,
.emdrtool-step-5 .emdrtool-shell{
    max-width:1220px;
}

.emdrtool-step-3 .emdrtool-panel,
.emdrtool-step-1 .emdrtool-panel,
.emdrtool-step-2 .emdrtool-panel,
.emdrtool-step-4 .emdrtool-panel,
.emdrtool-step-5 .emdrtool-panel{
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.emdrtool-step-3 .emdrtool-footnote,
.emdrtool-step-1 .emdrtool-footnote,
.emdrtool-step-2 .emdrtool-footnote,
.emdrtool-step-4 .emdrtool-footnote,
.emdrtool-step-5 .emdrtool-footnote{
    display:none;
}

.emdrtool-setup-page,
.emdrtool-level-page{display:grid;gap:18px;}
.emdrtool-setup-header{display:grid;gap:10px;}
.emdrtool-setup-eyebrow{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:7px 12px;background:rgba(143,174,155,.18);color:var(--emdr-primary-dark);font-size:12px;line-height:1;font-weight:900;letter-spacing:.02em;}
.emdrtool-setup-title{margin:0;color:var(--emdr-ink);font-size:clamp(42px,4vw,62px);line-height:.98;letter-spacing:-.03em;font-weight:500;}
.emdrtool-setup-subtitle{margin:0;color:var(--emdr-muted);font-size:clamp(17px,1.8vw,20px);line-height:1.4;max-width:70ch;}
.emdrtool-level-progress{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:start;margin:2px 0 4px;}
.emdrtool-level-progress::before{content:"";position:absolute;left:9%;right:9%;top:18px;height:2px;background:linear-gradient(90deg,rgba(95,142,149,.42),rgba(36,49,47,.12));pointer-events:none;}
.emdrtool-level-progress-step{position:relative;z-index:1;display:grid;justify-items:center;gap:7px;color:var(--emdr-muted);font-size:12px;line-height:1.2;text-align:center;}
.emdrtool-level-progress-dot{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid var(--emdr-line);color:var(--emdr-muted);box-shadow:0 7px 18px rgba(36,49,47,.08);font-weight:900;}
.emdrtool-level-progress-step.is-done .emdrtool-level-progress-dot,.emdrtool-level-progress-step.is-active .emdrtool-level-progress-dot{background:linear-gradient(135deg,var(--emdr-primary),#98BDB5);color:#fff;border-color:transparent;}
.emdrtool-level-progress-step.is-active{color:var(--emdr-primary-dark);font-weight:800;}
.emdrtool-setup-card,.emdrtool-level-card{border:1px solid rgba(200,169,135,.26);border-radius:28px;background:rgba(255,252,247,.82);box-shadow:0 18px 44px rgba(36,49,47,.08);padding:26px;}
.emdrtool-setup-card .emdrtool-panel-header{margin-bottom:18px;}
.emdrtool-setup-card .emdrtool-panel-header h3{margin:0 0 10px;color:var(--emdr-ink);font-size:clamp(28px,2.6vw,38px);line-height:1.08;}
.emdrtool-setup-card .emdrtool-copy{margin:0;max-width:72ch;}
.emdrtool-setup-card .emdrtool-actions,.emdrtool-level-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;}
.emdrtool-setup-card .emdrtool-btn,.emdrtool-level-actions .emdrtool-btn{min-width:150px;}
.emdrtool-setup-card .emdrtool-btn-primary,.emdrtool-level-actions .emdrtool-btn-primary{min-width:220px;}
.emdrtool-level-prompt{margin:0 0 18px;color:var(--emdr-ink);font-size:clamp(18px,1.8vw,24px);line-height:1.28;font-weight:850;text-align:center;}
.emdrtool-sud-range-mobile,.emdrtool-sud-mobile-scale{display:none;}
.emdrtool-sud-choice-grid{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:10px;margin:8px 0 18px;}
.emdrtool-sud-choice{--sud-accent:var(--emdr-primary);appearance:none;position:relative;display:flex;min-width:0;min-height:88px;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(222,213,200,.92);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,252,247,.90));color:var(--emdr-ink);cursor:pointer;box-shadow:0 10px 24px rgba(36,49,47,.07), inset 0 1px 0 rgba(255,255,255,.86);transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;-webkit-tap-highlight-color:transparent;}
.emdrtool-sud-choice:nth-child(1){--sud-accent:#7FAEA7;}.emdrtool-sud-choice:nth-child(2){--sud-accent:#82A99B;}.emdrtool-sud-choice:nth-child(3){--sud-accent:#93AA8D;}.emdrtool-sud-choice:nth-child(4){--sud-accent:#A7AB83;}.emdrtool-sud-choice:nth-child(5){--sud-accent:#B8AA78;}.emdrtool-sud-choice:nth-child(6){--sud-accent:#C4A06F;}.emdrtool-sud-choice:nth-child(7){--sud-accent:#BD8864;}.emdrtool-sud-choice:nth-child(8){--sud-accent:#B87061;}.emdrtool-sud-choice:nth-child(9){--sud-accent:#AA625F;}.emdrtool-sud-choice:nth-child(10){--sud-accent:#9E514F;}.emdrtool-sud-choice:nth-child(11){--sud-accent:#8F4245;}
.emdrtool-sud-choice::after{content:"";width:min(46px,62%);height:4px;border-radius:999px;background:var(--sud-accent);opacity:.75;box-shadow:0 1px 0 rgba(255,255,255,.72) inset;}
.emdrtool-sud-choice:hover,.emdrtool-sud-choice:focus-visible{transform:translateY(-2px);border-color:rgba(95,142,149,.44);box-shadow:0 15px 30px rgba(36,49,47,.12),0 0 0 3px rgba(143,174,155,.14);outline:none;}
.emdrtool-sud-choice.is-selected,.emdrtool-sud-choice[aria-pressed="true"]{background:linear-gradient(180deg,#6EA0A5,#456F75);color:#fff;border-color:transparent;box-shadow:0 16px 34px rgba(69,111,117,.26),0 0 0 4px rgba(143,174,155,.16);transform:translateY(-2px);}
.emdrtool-sud-choice.is-selected::after,.emdrtool-sud-choice[aria-pressed="true"]::after{background:rgba(255,255,255,.76);opacity:1;}
.emdrtool-sud-choice-number{display:block;font-size:clamp(25px,2.15vw,34px);line-height:.95;font-weight:850;font-variant-numeric:tabular-nums;}
.emdrtool-sud-choice-label{display:block;min-height:2.2em;color:inherit;font-size:10.5px;line-height:1.12;font-weight:800;opacity:.92;max-width:100%;overflow-wrap:anywhere;}
.emdrtool-level-scale-row{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--emdr-muted);font-size:13px;line-height:1.35;margin-top:6px;}
.emdrtool-level-scale-row strong{color:var(--emdr-primary-dark);font-weight:900;}
.emdrtool-level-scale-line{flex:1 1 auto;min-width:48px;height:3px;background:linear-gradient(90deg,rgba(127,174,167,.70),rgba(196,160,111,.56),rgba(143,66,69,.62));border-radius:999px;opacity:.78;}
.emdrtool-level-current{width:min(220px,100%);margin:22px auto 0;padding:18px 22px 20px;text-align:center;border-radius:24px;border:1px solid rgba(143,174,155,.24);background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(143,174,155,.13));box-shadow:0 12px 26px rgba(36,49,47,.07), inset 0 1px 0 rgba(255,255,255,.9);}
.emdrtool-level-current strong{display:block;color:var(--emdr-ink);font-size:clamp(48px,6vw,72px);line-height:.9;font-weight:500;font-variant-numeric:tabular-nums;}
.emdrtool-level-current .emdrtool-sud-name{display:inline-flex;align-items:center;justify-content:center;min-height:0;margin-top:8px;padding:0 0 8px;color:var(--emdr-primary-dark);font-size:clamp(17px,1.6vw,21px);line-height:1.15;font-weight:800;border-bottom:4px solid rgba(95,142,149,.62);}
.emdrtool-level-current .emdrtool-sud-name.is-muted{color:var(--emdr-muted);border-bottom-color:rgba(101,113,109,.26);}
.emdrtool-level-card > .emdrtool-rating-value{display:block;width:max-content;max-width:100%;margin:12px auto 0;}
.emdrtool-level-card > .emdrtool-sud-help{margin-top:10px;text-align:center;}
.emdrtool-level-context-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.emdrtool-level-context-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;border:1px solid rgba(200,169,135,.24);border-radius:22px;background:rgba(255,252,247,.76);box-shadow:0 12px 28px rgba(36,49,47,.06);padding:16px;min-height:116px;}
.emdrtool-level-context-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,rgba(143,174,155,.22),rgba(255,255,255,.72));color:var(--emdr-primary-dark);border:1px solid rgba(143,174,155,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 8px 18px rgba(36,49,47,.06);}
.emdrtool-level-context-icon svg{width:29px;height:29px;display:block;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;}
.emdrtool-level-context-title{display:block;color:var(--emdr-ink);font-weight:900;font-size:15px;line-height:1.25;margin:0 0 6px;}
.emdrtool-level-context-body{color:var(--emdr-muted);font-size:14px;line-height:1.45;overflow-wrap:anywhere;}
.emdrtool-level-context-card .emdrtool-select{padding:10px 12px;font-size:14px;border-radius:14px;}
.emdrtool-level-notice{margin-top:16px;}
.emdrtool-level-card.emdrtool-sud-needs-attention{box-shadow:0 18px 44px rgba(36,49,47,.08),0 0 0 4px rgba(224,162,58,.14);}
@media (max-width:1140px){.emdrtool-sud-choice-grid{gap:8px;}.emdrtool-sud-choice{min-height:80px;border-radius:16px;}.emdrtool-sud-choice-number{font-size:clamp(21px,2vw,29px);}.emdrtool-sud-choice-label{font-size:9.5px;min-height:2.4em;}.emdrtool-level-context-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:700px){.emdrtool-setup-card,.emdrtool-level-card{padding:18px;}.emdrtool-level-progress{grid-template-columns:repeat(5,1fr);gap:4px;}.emdrtool-level-progress-dot{width:30px;height:30px;font-size:12px;}.emdrtool-level-progress::before{top:15px;}.emdrtool-level-progress-step{font-size:10px;}.emdrtool-sud-choice-grid{display:none;}.emdrtool-sud-range-mobile{display:block;position:static !important;width:100% !important;height:auto !important;margin:16px 0 0 !important;padding:0 !important;border:0 !important;overflow:visible !important;clip:auto !important;clip-path:none !important;white-space:normal !important;}.emdrtool-sud-mobile-scale{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;color:var(--emdr-muted);font-size:11px;line-height:1.2;}.emdrtool-sud-mobile-scale span{min-width:0;text-align:center;font-variant-numeric:tabular-nums;}.emdrtool-level-scale-row{margin-top:12px;align-items:flex-start;}.emdrtool-level-scale-line{display:none;}.emdrtool-level-current{width:min(260px,100%);margin:18px auto 0;}.emdrtool-level-context-grid{grid-template-columns:1fr;}.emdrtool-setup-card .emdrtool-btn,.emdrtool-setup-card .emdrtool-btn-primary,.emdrtool-level-actions .emdrtool-btn,.emdrtool-level-actions .emdrtool-btn-primary{width:100%;min-width:0;}}


.emdrtool-select{
    padding:10px 12px;
    font-size:14px;
    border-radius:14px;
}

.emdrtool-level-notice{
    margin-top:16px;
}

.emdrtool-level-card.emdrtool-sud-needs-attention{
    box-shadow:0 18px 44px rgba(36,49,47,.08),0 0 0 4px rgba(224,162,58,.14);
}

@media (max-width:980px){
    .emdrtool-sud-choice-grid{
        grid-template-columns:repeat(6,minmax(0,1fr));
    }
    .emdrtool-level-context-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:640px){
    .emdrtool-level-card{
        padding:18px;
    }
    .emdrtool-level-progress{
        grid-template-columns:repeat(5,1fr);
        gap:4px;
    }
    .emdrtool-level-progress-dot{
        width:30px;
        height:30px;
        font-size:12px;
    }
    .emdrtool-level-progress::before{
        top:15px;
    }
    .emdrtool-level-progress-step{
        font-size:10px;
    }
    .emdrtool-sud-choice-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .emdrtool-sud-choice{
        min-height:70px;
    }
    .emdrtool-level-scale-row{
        align-items:flex-start;
    }
    .emdrtool-level-scale-line{
        display:none;
    }
    .emdrtool-level-context-grid{
        grid-template-columns:1fr;
    }
    .emdrtool-level-actions .emdrtool-btn,
    .emdrtool-level-actions .emdrtool-btn-primary{
        width:100%;
        min-width:0;
    }
}

.emdrtool-select{
    width:100%;
    max-width:100%;
    min-width:0;
    border:1px solid var(--emdr-line);
    background:var(--emdr-white);
    border-radius:16px;
    padding:13px 14px;
    font-size:16px;
    color:var(--emdr-ink);
}

.emdrtool-session-meta{
    margin-top:10px;
    color:var(--emdr-muted);
    font-size:14px;
    line-height:1.45;
}

.emdrtool-timer-badge{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    min-width:142px;
    text-align:center;
}

.emdrtool-timer-badge small{
    font-size:11px;
    line-height:1;
    letter-spacing:.09em;
    text-transform:uppercase;
    opacity:.82;
}

.emdrtool-timer-badge span{
    font-variant-numeric:tabular-nums;
}

.emdrtool-timer-badge.is-unlimited small{
    display:none;
}

.emdrtool-timer-badge.is-unlimited span{
    font-variant-numeric:normal;
}

.emdrtool-checkin-panel{
    display:grid;
    gap:18px;
}

.emdrtool-wrap.emdrtool-step-5 .emdrtool-header{
    margin-bottom:16px;
}

.emdrtool-wrap.emdrtool-step-5 .emdrtool-panel{
    padding-top:22px;
}

.emdrtool-wrap.emdrtool-step-5.is-fullscreen .emdrtool-panel{
    padding-top:28px;
}

.emdrtool-wrap.emdrtool-step-5 .emdrtool-checkin-panel{
    gap:14px;
}

.emdrtool-checkin-hero{
    border:1px solid rgba(75,103,255,.12);
    background:linear-gradient(135deg,rgba(75,103,255,.06),rgba(114,180,255,.09));
    border-radius:24px;
    padding:20px;
    box-shadow:0 18px 38px rgba(31,49,104,.055);
}

.emdrtool-checkin-hero h3{
    margin-bottom:8px;
}

.emdrtool-checkin-hero .emdrtool-copy{
    margin:0;
    max-width:760px;
    line-height:1.55;
}

.emdrtool-checkin-cues{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:16px;
}

.emdrtool-checkin-cue{
    display:flex;
    gap:10px;
    align-items:flex-start;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(119,137,182,.15);
    border-radius:18px;
    padding:12px;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.35;
}

.emdrtool-checkin-cue-number{
    flex:0 0 auto;
    width:24px;
    height:24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(75,103,255,.10);
    color:var(--emdr-primary-dark);
    font-weight:900;
    font-size:12px;
}

.emdrtool-checkin-cue b{
    display:block;
    color:var(--emdr-ink);
    font-size:13px;
    margin-bottom:2px;
}

.emdrtool-checkin-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    align-items:stretch;
}

.emdrtool-checkin-score-card{
    background:rgba(255,255,255,.88);
    border:1px solid var(--emdr-line);
    border-radius:20px;
    padding:16px 18px;
}

.emdrtool-checkin-score-label{
    font-size:12px;
    letter-spacing:.10em;
    text-transform:uppercase;
    color:var(--emdr-primary-dark);
    font-weight:800;
    margin-bottom:6px;
}

.emdrtool-checkin-score-value{
    font-size:clamp(24px,4vw,34px);
    line-height:1.08;
    color:var(--emdr-ink);
    font-weight:900;
    font-variant-numeric:tabular-nums;
}

.emdrtool-checkin-score-sub{
    margin-top:5px;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.35;
}

.emdrtool-checkin-slider-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:14px;
}

.emdrtool-checkin-slider-head .emdrtool-card-title{
    margin-bottom:4px;
}

.emdrtool-checkin-card-sub{
    margin:0;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.45;
}

.emdrtool-checkin-before-chip{
    --emdr-before-chip-fill:#eef2ff;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:1px solid var(--emdr-before-chip-fill);
    background:var(--emdr-before-chip-fill);
    color:var(--emdr-ink);
    border-radius:999px;
    padding:8px 11px;
    font-size:12px;
    line-height:1;
    white-space:nowrap;
}

.emdrtool-checkin-before-chip span{
    color:var(--emdr-muted);
    font-weight:700;
}

.emdrtool-checkin-before-chip strong{
    color:var(--emdr-primary-dark);
    font-weight:900;
    font-variant-numeric:tabular-nums;
}

.emdrtool-checkin-actions{
    align-items:flex-end;
}

.emdrtool-checkin-continue-group{
    display:flex;
    align-items:flex-end;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.emdrtool-next-set-control{
    min-width:178px;
}

.emdrtool-next-set-label{
    display:block;
    margin:0 0 5px 2px;
    color:var(--emdr-muted);
    font-size:11px;
    font-weight:850;
    line-height:1;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.emdrtool-next-set-select{
    min-height:46px;
    width:100%;
    border:1px solid rgba(75,103,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    color:var(--emdr-ink);
    font-size:14px;
    font-weight:750;
    padding:0 36px 0 15px;
    box-shadow:0 12px 26px rgba(31,49,104,.06);
}

.emdrtool-next-set-select:focus{
    outline:3px solid rgba(75,103,255,.18);
    border-color:rgba(75,103,255,.42);
}

.emdrtool-checkin-decision{
    --emdr-step5-control-height:46px;
    --emdr-step5-label-space:16px;
    --emdr-step5-pill-padding:10px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
    margin-top:14px;
    padding:16px;
    border:1px solid rgba(75,103,255,.14);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(246,249,255,.94));
    box-shadow:0 18px 42px rgba(31,49,104,.06);
}

.emdrtool-checkin-decision-copy p{
    margin:4px 0 0;
    max-width:440px;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.45;
}

.emdrtool-checkin-decision-controls{
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.emdrtool-checkin-back-stack{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding-top:calc(var(--emdr-step5-pill-padding) + var(--emdr-step5-label-space));
}

.emdrtool-end-session-stack{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding-top:calc(var(--emdr-step5-pill-padding) + var(--emdr-step5-label-space));
}

.emdrtool-end-session-trigger{
    gap:8px;
}

.emdrtool-end-session-trigger svg{
    width:15px;
    height:15px;
    display:block;
    flex:none;
    opacity:.72;
}

.emdrtool-end-session-trigger::after{
    content:none;
    display:none;
}

@media (min-width:821px){
    .emdrtool-checkin-decision .emdrtool-end-session-stack{
        padding-top:calc(var(--emdr-step5-pill-padding) + var(--emdr-step5-label-space) + 1px);
    }
}

.emdrtool-end-session-overlay{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100vw;
    height:100vh;
    height:100dvh;
    z-index:2147483600;
    display:none;
    align-items:center;
    justify-content:center;
    padding:clamp(14px,4vw,30px);
    overflow:auto;
    background:rgba(42,49,66,.44);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
}

.emdrtool-end-session-overlay.is-open{
    display:flex;
}

.emdrtool-end-session-sheet{
    width:calc(100vw - 32px);
    max-width:520px;
    min-width:0;
    margin:auto;
    transform:translateY(-2vh);
    padding:18px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:24px;
    background:linear-gradient(180deg, rgba(250,252,255,.98), rgba(244,248,255,.98));
    box-shadow:0 28px 70px rgba(15,23,42,.24);
    box-sizing:border-box;
}

.emdrtool-end-session-sheet-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
}

.emdrtool-end-session-sheet-title{
    margin:0;
    font-size:18px;
    line-height:1.2;
    color:var(--emdr-ink);
}

.emdrtool-end-session-sheet-copy{
    margin:4px 0 0;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.45;
}

.emdrtool-end-session-close{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:0;
    border-radius:999px;
    box-shadow:none;
}

.emdrtool-end-session-options{
    display:grid;
    gap:10px;
    min-width:0;
}

.emdrtool-end-session-options .emdrtool-end-session-option{
    display:flex;
    width:100%;
    min-width:0;
    min-height:46px;
    height:46px;
    max-height:46px;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    padding:0 14px;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    color:var(--emdr-ink);
    box-sizing:border-box;
    text-decoration:none;
    box-shadow:none;
    white-space:nowrap;
}

.emdrtool-end-session-options .emdrtool-end-session-option svg{
    width:15px;
    height:15px;
    display:block;
    flex:none;
    opacity:.72;
    margin-left:auto;
}

.emdrtool-end-session-options a.emdrtool-end-session-option,
.emdrtool-end-session-options a.emdrtool-end-session-option:visited,
.emdrtool-end-session-options a.emdrtool-end-session-option:hover,
.emdrtool-end-session-options a.emdrtool-end-session-option:focus{
    color:var(--emdr-ink);
    text-decoration:none;
}

.emdrtool-end-session-home{
    color:var(--emdr-ink);
}

.emdrtool-control-label-spacer{
    display:none;
}

.emdrtool-next-set-pill{
    display:grid;
    grid-template-columns:minmax(166px,200px) minmax(178px,auto);
    align-items:end;
    gap:10px;
    padding:var(--emdr-step5-pill-padding);
    border:1px solid rgba(75,103,255,.055);
    border-radius:18px;
    background:rgba(75,103,255,.055);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.68);
}

.emdrtool-checkin-decision .emdrtool-next-set-control{
    min-width:0;
}

.emdrtool-checkin-decision .emdrtool-next-set-label{
    height:11px;
    margin-left:12px;
    margin-bottom:5px;
}

.emdrtool-checkin-decision .emdrtool-next-set-select{
    min-height:var(--emdr-step5-control-height);
    height:var(--emdr-step5-control-height);
    border-radius:999px;
    box-shadow:none;
    background:rgba(255,255,255,.98);
}

.emdrtool-checkin-decision .emdrtool-btn{
    min-height:var(--emdr-step5-control-height);
    height:var(--emdr-step5-control-height);
    padding-top:0;
    padding-bottom:0;
    box-sizing:border-box;
}

.emdrtool-checkin-back-btn{
    margin-top:0;
    min-height:var(--emdr-step5-control-height);
    height:var(--emdr-step5-control-height);
    padding-top:0;
    padding-bottom:0;
    align-self:auto;
    box-sizing:border-box;
    box-shadow:none;
    background:rgba(255,255,255,.64);
}

.emdrtool-checkin-continue-btn{
    min-width:178px;
    min-height:var(--emdr-step5-control-height);
    height:var(--emdr-step5-control-height);
    padding-top:0;
    padding-bottom:0;
    border-radius:999px;
    box-sizing:border-box;
}

.emdrtool-checkin-decision .emdrtool-next-set-select,
.emdrtool-checkin-decision .emdrtool-checkin-continue-btn,
.emdrtool-checkin-decision .emdrtool-end-session-trigger{
    min-height:var(--emdr-step5-control-height) !important;
    height:var(--emdr-step5-control-height) !important;
    max-height:var(--emdr-step5-control-height) !important;
    box-sizing:border-box !important;
    line-height:1.2 !important;
}

.emdrtool-checkin-decision .emdrtool-checkin-continue-btn,
.emdrtool-checkin-decision .emdrtool-end-session-trigger{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.emdrtool-checkin-decision .emdrtool-next-set-select{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.emdrtool-checkin-arrow{
    align-self:center;
    width:34px;
    height:34px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--emdr-primary-dark);
    background:rgba(75,103,255,.10);
    font-weight:900;
}

.emdrtool-checkin-slider-card{
    background:rgba(255,255,255,.92);
    border:1px solid rgba(75,103,255,.16);
    border-radius:24px;
    padding:20px;
    box-shadow:0 18px 42px rgba(31,49,104,.06);
}

.emdrtool-checkin-slider-card .emdrtool-rating-topline{
    margin-bottom:2px;
}

.emdrtool-checkin-slider-card .emdrtool-sud-range{
    height:54px;
    padding:18px 0;
}

.emdrtool-checkin-slider-card .emdrtool-sud-range::-webkit-slider-runnable-track{
    height:10px;
}

.emdrtool-checkin-slider-card .emdrtool-sud-range::-webkit-slider-thumb{
    width:30px;
    height:30px;
    margin-top:-10px;
}

.emdrtool-checkin-slider-card .emdrtool-sud-range::-moz-range-track{
    height:10px;
}

.emdrtool-checkin-slider-card .emdrtool-sud-range::-moz-range-thumb{
    width:28px;
    height:28px;
}

.emdrtool-checkin-safety-note{
    margin-top:2px;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.45;
}

@media (max-width:820px){
    .emdrtool-summary.emdrtool-summary-three{
        grid-template-columns:1fr;
    }
    .emdrtool-checkin-cues,
    .emdrtool-checkin-summary,
    .emdrtool-checkin-decision{
        grid-template-columns:1fr;
    }
    .emdrtool-checkin-slider-head{
        flex-direction:column;
        gap:10px;
    }
    .emdrtool-checkin-before-chip{
        align-self:flex-start;
    }
    .emdrtool-checkin-actions,
    .emdrtool-checkin-continue-group,
    .emdrtool-next-set-control,
    .emdrtool-checkin-actions .emdrtool-btn,
    .emdrtool-checkin-decision-controls,
    .emdrtool-checkin-back-stack,
    .emdrtool-end-session-stack,
    .emdrtool-end-session-trigger,
    .emdrtool-next-set-pill,
    .emdrtool-checkin-decision .emdrtool-btn{
        width:100%;
    }
    .emdrtool-checkin-decision{
        --emdr-step5-control-height:46px;
        padding:14px;
        align-items:stretch;
    }
    .emdrtool-checkin-decision-controls{
        align-items:stretch;
    }
    .emdrtool-checkin-back-stack{
        padding-top:0;
    }
    .emdrtool-checkin-back-btn{
        margin-top:0;
    }
    .emdrtool-end-session-stack{
        padding-top:0;
    }
    .emdrtool-end-session-sheet{
        width:calc(100vw - 28px);
        max-width:520px;
        margin:auto;
        padding:16px;
        transform:translateY(-1vh);
    }
    .emdrtool-next-set-pill{
        grid-template-columns:1fr;
        align-items:stretch;
        border-radius:18px;
    }
    .emdrtool-checkin-decision .emdrtool-next-set-control{
        min-width:0;
    }
    .emdrtool-checkin-decision .emdrtool-next-set-select{
        min-height:var(--emdr-step5-control-height) !important;
        height:var(--emdr-step5-control-height) !important;
        max-height:var(--emdr-step5-control-height) !important;
    }
    .emdrtool-checkin-continue-group{
        align-items:stretch;
    }
    .emdrtool-checkin-arrow{
        width:100%;
        height:28px;
        transform:rotate(90deg);
    }
}

.emdrtool-card-box,
.emdrtool-focus-card{
    background:rgba(255,255,255,.90);
    border:1px solid var(--emdr-line);
    border-radius:20px;
    padding:18px;
    min-width:0;
}

.emdrtool-card-box{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.emdrtool-wrap.is-fullscreen .emdrtool-card-box,
.emdrtool-wrap.is-fullscreen .emdrtool-focus-card{
    padding:22px;
}

.emdrtool-card-title,
.emdrtool-focus-label{
    font-size:12px;
    letter-spacing:.10em;
    text-transform:uppercase;
    color:var(--emdr-primary-dark);
    font-weight:700;
    margin-bottom:8px;
}

.emdrtool-card-text,
.emdrtool-focus-body{
    white-space:pre-wrap;
    line-height:1.6;
    color:var(--emdr-ink);
}

.emdrtool-focus-card{
    display:flex;
    flex-direction:column;
    min-height:0;
}

.emdrtool-focus-body{
    min-height:0;
    max-height:min(13.5em, 30vh);
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:4px;
    scrollbar-width:thin;
    scrollbar-color:rgba(109,121,146,.44) transparent;
}

.emdrtool-focus-body::-webkit-scrollbar{
    width:6px;
}

.emdrtool-focus-body::-webkit-scrollbar-track{
    background:transparent;
}

.emdrtool-focus-body::-webkit-scrollbar-thumb{
    background:rgba(109,121,146,.38);
    border-radius:999px;
}

.emdrtool-card-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.emdrtool-card-title-row .emdrtool-card-title{
    margin-bottom:0;
}

.emdrtool-edit-icon-button{
    width:30px;
    min-width:30px;
    height:30px;
    padding:0;
    border:0;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    line-height:1;
    background:transparent;
    color:rgba(44,54,73,.68);
    box-shadow:none;
    transition:background .16s ease, color .16s ease, transform .16s ease;
}

.emdrtool-edit-icon-button:hover,
.emdrtool-edit-icon-button:focus-visible{
    background:rgba(75,103,255,.09);
    color:var(--emdr-primary-dark);
}

.emdrtool-edit-icon-button:active{
    transform:scale(.96);
}

.emdrtool-edit-icon-button.is-editing{
    background:rgba(75,103,255,.12);
    color:var(--emdr-primary-dark);
}

.emdrtool-edit-icon-button svg{
    width:19px;
    height:19px;
    display:block;
}

.emdrtool-summary-textarea{
    display:block;
    width:100%;
    min-height:128px;
    height:100%;
    flex:1 1 auto;
    min-width:0;
    min-height:0;
    border:1px solid transparent;
    border-radius:16px;
    padding:12px 13px;
    background:transparent;
    color:var(--emdr-ink);
    font:inherit;
    line-height:1.55;
    resize:none;
    overflow-y:auto;
    white-space:pre-wrap;
}

.emdrtool-summary-textarea[readonly]{
    cursor:default;
}

.emdrtool-summary-textarea.is-editing,
.emdrtool-summary-textarea:not([readonly]){
    background:#fff;
    border-color:rgba(75,103,255,.36);
    box-shadow:0 0 0 3px rgba(75,103,255,.10);
    outline:none;
}

.emdrtool-session-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:20px;
}

.emdrtool-session-copy{
    max-width:460px;
}

.emdrtool-badge{
    padding:16px 18px;
    border-radius:999px;
    background:var(--emdr-success);
    color:var(--emdr-success-ink);
    font-weight:800;
    white-space:nowrap;
    font-size:18px;
}


.emdrtool-audio-unlock{
    display:none;
}

.emdrtool-audio-unlock.is-visible{
    display:inline-flex;
}

.emdrtool-audio-note{
    display:none;
    font-size:13px;
    color:var(--emdr-muted);
    line-height:1.4;
    margin-top:6px;
}

.emdrtool-audio-note.is-visible{
    display:block;
}

.emdrtool-session-toolbar{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
    align-items:flex-start;
    margin:26px 0 18px;
    position:relative;
    z-index:6;
}

.emdrtool-session-group{
    position:relative;
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    flex:0 1 auto;
}

.emdrtool-native-audio{
    display:inline-flex;
    align-items:center;
    gap:10px;
    position:relative;
    min-height:52px;
    height:52px;
    padding:0 16px 0 14px;
    border-radius:999px;
    border:1px solid #cfd8ea;
    background:rgba(255,255,255,.92);
    box-shadow:0 8px 18px rgba(18,27,55,.06);
    cursor:pointer;
    user-select:none;
    -webkit-user-select:none;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
}

.emdrtool-native-audio.is-on{
    background:rgba(255,255,255,.96);
    color:var(--emdr-ink);
    border-color:rgba(75,103,255,.40);
    box-shadow:0 10px 24px rgba(75,103,255,.14);
}

.emdrtool-native-audio input{
    position:absolute;
    width:1px;
    height:1px;
    margin:0;
    opacity:0;
    pointer-events:none;
}

.emdrtool-switch{
    width:44px;
    height:26px;
    border-radius:999px;
    border:1px solid #cfd8ea;
    background:#edf2fb;
    position:relative;
    flex:0 0 auto;
    transition:background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.emdrtool-switch-knob{
    position:absolute;
    top:3px;
    left:3px;
    width:18px;
    height:18px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 2px 7px rgba(18,27,55,.20);
    transition:transform .18s ease;
}

.emdrtool-native-audio.is-on .emdrtool-switch{
    background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff));
    border-color:transparent;
    box-shadow:0 6px 12px rgba(75,103,255,.24) inset;
}

.emdrtool-native-audio.is-on .emdrtool-switch-knob{
    transform:translateX(18px);
}

.emdrtool-native-audio input:focus-visible + .emdrtool-switch{
    outline:2px solid rgba(75,103,255,.35);
    outline-offset:3px;
}

.emdrtool-native-audio-text{
    font-size:13px;
    font-weight:700;
    line-height:1.2;
    white-space:nowrap;
}

@media (max-width:900px), (hover:none) and (pointer:coarse){
    .emdrtool-native-audio{
        width:100%;
    }
}

.emdrtool-session-toolbar .emdrtool-btn,
.emdrtool-session-toolbar .emdrtool-native-audio{
    min-height:52px;
    height:52px;
}

.emdrtool-session-toolbar > .emdrtool-btn-ghost{
    flex:0 0 auto;
    padding:0 18px;
    font-size:13px;
}



.emdrtool-options-pop{
    position:absolute;
    top:56px;
    left:0;
    min-width:290px;
    max-width:340px;
    max-height:360px;
    overflow:auto;
    background:rgba(255,255,255,.99);
    border:1px solid var(--emdr-line);
    border-radius:20px;
    padding:14px;
    box-shadow:0 18px 35px rgba(17,28,58,.16);
    display:none;
    z-index:18;
}

.emdrtool-options-pop.is-open{
    display:block;
}

.emdrtool-options-title{
    font-size:12px;
    letter-spacing:.10em;
    text-transform:uppercase;
    color:var(--emdr-primary-dark);
    font-weight:800;
    margin-bottom:10px;
}

.emdrtool-options-list{
    display:grid;
    gap:8px;
}

.emdrtool-option-section{
    font-size:11px;
    letter-spacing:.10em;
    text-transform:uppercase;
    color:var(--emdr-primary-dark);
    font-weight:800;
    padding:8px 4px 4px;
    margin-top:4px;
}

.emdrtool-option-item{
    width:100%;
    text-align:left;
    border:1px solid var(--emdr-line);
    background:#fff;
    border-radius:14px;
    padding:10px 12px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    color:var(--emdr-ink);
}

.emdrtool-option-item.is-selected{
    border-color:rgba(75,103,255,.35);
    background:rgba(75,103,255,.08);
    color:var(--emdr-primary-dark);
}


.emdrtool-orb-speed-control{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    padding:12px 14px;
    margin:2px 0 8px;
    border:1px solid rgba(119,137,182,.24);
    border-radius:20px;
    background:rgba(255,255,255,.72);
    box-shadow:0 8px 20px rgba(38,51,103,.06);
}

.emdrtool-orb-speed-label{
    min-width:118px;
    font-weight:800;
    font-size:14px;
    color:var(--emdr-text);
}

.emdrtool-orb-speed-value{
    display:inline-flex;
    align-items:center;
    min-width:116px;
    justify-content:center;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(75,103,255,.09);
    color:var(--emdr-primary-dark);
    font-size:13px;
    font-weight:800;
}

.emdrtool-orb-speed-range{
    flex:1 1 180px;
    width:100%;
    accent-color:var(--emdr-primary);
    -webkit-appearance:none;
    appearance:none;
    background:transparent;
    min-height:32px;
}

.emdrtool-orb-speed-range::-webkit-slider-runnable-track{
    height:8px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--emdr-primary) 0 var(--emdr-range-fill,42.857%),var(--emdr-slider-rest,rgba(109,121,146,.24)) var(--emdr-range-fill,42.857%) 100%);
}

.emdrtool-orb-speed-range::-webkit-slider-thumb{
    -webkit-appearance:none;
    appearance:none;
    width:24px;
    height:24px;
    margin-top:-8px;
    border-radius:999px;
    border:3px solid #fff;
    background:var(--emdr-primary);
    box-shadow:0 4px 12px rgba(31,49,104,.22);
}

.emdrtool-orb-speed-range::-moz-range-track{
    height:8px;
    border-radius:999px;
    background:var(--emdr-slider-rest,rgba(109,121,146,.24));
}

.emdrtool-orb-speed-range::-moz-range-progress{
    height:8px;
    border-radius:999px;
    background:var(--emdr-primary);
}

.emdrtool-orb-speed-range::-moz-range-thumb{
    width:22px;
    height:22px;
    border-radius:999px;
    border:3px solid #fff;
    background:var(--emdr-primary);
    box-shadow:0 4px 12px rgba(31,49,104,.22);
}

.emdrtool-orb-speed-note{
    width:100%;
    margin:-2px 0 8px;
    font-size:12px;
    line-height:1.35;
    color:var(--emdr-muted);
}

.emdrtool-orb-speed-disclosure{
    width:100%;
    margin:2px 0 10px;
    position:relative;
}

.emdrtool-orb-speed-disclosure > summary{
    list-style:none;
}

.emdrtool-orb-speed-disclosure > summary::-webkit-details-marker{
    display:none;
}

.emdrtool-orb-speed-toggle{
    width:100%;
    min-height:52px;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    -webkit-user-select:none;
    user-select:none;
}

.emdrtool-orb-speed-disclosure[open] > .emdrtool-orb-speed-toggle{
    border-color:rgba(75,103,255,.46);
    background:rgba(255,255,255,.98);
    box-shadow:0 12px 28px rgba(18,27,55,.10), 0 0 0 3px rgba(75,103,255,.08);
}

.emdrtool-orb-speed-summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:96px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(75,103,255,.09);
    color:var(--emdr-primary-dark);
    font-size:12px;
    font-weight:800;
}

.emdrtool-orb-speed-panel{
    margin-top:12px;
    width:100%;
    padding:14px;
    border:1px solid #d9e3f2;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    box-shadow:0 14px 34px rgba(18,27,55,.08);
}

.emdrtool-orb-speed-panel .emdrtool-orb-speed-control{
    margin:0;
}

.emdrtool-stage{
    position:relative;
    height:210px;
    border-radius:32px;
    margin:18px 0 18px;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,247,255,.95));
    border:1px solid var(--emdr-line);
    overflow:hidden;
}

.emdrtool-wrap.is-fullscreen .emdrtool-stage{
    height:300px;
    margin:22px 0 20px;
    border-radius:36px;
}

.emdrtool-track{
    position:absolute;
    left:7%;
    right:7%;
    top:50%;
    height:4px;
    margin-top:-2px;
    border-radius:999px;
    background:linear-gradient(90deg, rgba(75,103,255,.18), rgba(114,180,255,.85), rgba(75,103,255,.18));
}

.emdrtool-orb{
    position:absolute;
    top:50%;
    left:var(--emdr-orb-edge, 7%);
    width:64px;
    height:64px;
    margin-top:-32px;
    border-radius:50%;
    background:radial-gradient(circle at 30% 30%, #ffffff, #9fd8ff 35%, #5b7cff 70%, #3d4ed1 100%);
    box-shadow:0 0 0 10px rgba(91,124,255,.09), 0 18px 28px rgba(52,75,176,.28);
    animation:emdrtool-orbit var(--emdr-orb-half-cycle, 3.4s) ease-in-out infinite alternate;
    will-change:transform;
    transform:translate3d(0,0,0) scale(.98);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

.emdrtool-wrap.is-fullscreen .emdrtool-orb{
    width:84px;
    height:84px;
    margin-top:-42px;
    box-shadow:0 0 0 18px rgba(91,124,255,.08), 0 20px 36px rgba(52,75,176,.22);
}

.emdrtool-focus-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:18px;
}

.emdrtool-focus-headline{
    font-size:clamp(20px,3vw,30px);
    line-height:1.15;
    margin-bottom:10px;
    font-weight:800;
}

.emdrtool-session-footer{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    margin-top:22px;
}

.emdrtool-session-hint{
    max-width:680px;
    font-size:14px;
    line-height:1.55;
}

.emdrtool-footnote{
    margin-top:18px;
    font-size:14px;
}


/* v5.11.253: setup flow polish and responsive SUD/check-in fixes */
.emdrtool-step-1 .emdrtool-header,
.emdrtool-step-2 .emdrtool-header,
.emdrtool-step-4 .emdrtool-header,
.emdrtool-step-5 .emdrtool-header,
.emdrtool-step-4 .emdrtool-setup-header,
.emdrtool-step-5 .emdrtool-setup-header{
    display:none;
}

@media (max-width:700px){
    .emdrtool-step-3 .emdrtool-level-card .emdrtool-level-scale-row,
    .emdrtool-step-5 .emdrtool-level-card .emdrtool-level-scale-row{
        display:none;
    }
    .emdrtool-step-3 .emdrtool-sud-mobile-scale,
    .emdrtool-step-5 .emdrtool-sud-mobile-scale{
        display:grid !important;
        grid-template-columns:repeat(11,minmax(0,1fr));
        align-items:start;
        gap:0;
        margin:8px 0 14px;
        padding:0 1px;
        color:var(--emdr-muted);
        font-size:11px;
        line-height:1.15;
    }
    .emdrtool-step-3 .emdrtool-sud-mobile-scale span,
    .emdrtool-step-5 .emdrtool-sud-mobile-scale span{
        min-width:0;
        text-align:center;
        font-variant-numeric:tabular-nums;
        white-space:nowrap;
    }
    .emdrtool-step-3 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge,
    .emdrtool-step-5 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge{
        display:grid;
        gap:2px;
        justify-items:center;
        color:var(--emdr-muted);
        white-space:normal;
    }
    .emdrtool-step-3 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge strong,
    .emdrtool-step-5 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge strong{
        color:var(--emdr-primary-dark);
        font-size:13px;
        line-height:1;
        font-weight:900;
    }
    .emdrtool-step-3 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge em,
    .emdrtool-step-5 .emdrtool-sud-mobile-scale .emdrtool-sud-mobile-edge em{
        font-style:normal;
        font-size:10px;
        line-height:1.1;
    }
}



/* v5.11.254: preparation quick-step typography and step 5 spacing */
.emdrtool-intro-chip b{
    display:block;
    margin:0 0 9px;
    color:var(--emdr-ink);
    font-size:clamp(15px,1.05vw,17px);
    line-height:1.25;
    font-weight:900;
    letter-spacing:0;
}
.emdrtool-intro-chip span{
    font-size:14px;
    line-height:1.5;
}
.emdrtool-checkin-decision{
    margin-top:14px;
}



/* v5.11.255: prep title matching, step copy, and check-in note spacing */
.emdrtool-intro-chip h4,
.emdrtool-intro-detail h4{
    margin:0 0 9px;
    font-weight:900;
    color:var(--emdr-ink);
    font-size:15px;
    line-height:1.25;
    letter-spacing:0;
}
.emdrtool-intro-chip b{
    display:none;
}
.emdrtool-step-5 .emdrtool-level-card .emdrtool-sud-help{
    margin-top:16px;
    color:var(--emdr-muted);
    text-align:center;
}
.emdrtool-checkin-safety-note{
    max-width:820px;
    margin:18px auto 0;
    padding:11px 14px;
    border:1px solid rgba(200,169,135,.22);
    border-radius:16px;
    background:rgba(255,252,247,.64);
    color:var(--emdr-muted);
    text-align:center;
    line-height:1.45;
}
.emdrtool-step-5 .emdrtool-level-current{
    margin-bottom:4px;
}
@media (max-width:700px){
    .emdrtool-checkin-safety-note{
        margin-top:14px;
        text-align:left;
    }
}

/* v5.11.253: session card and typography polish */
.emdrtool-session-card{
    border:1px solid rgba(200,169,135,.26);
    border-radius:28px;
    background:rgba(255,252,247,.82);
    box-shadow:0 18px 44px rgba(36,49,47,.08);
    padding:26px;
    display:grid;
    gap:16px;
}
.emdrtool-session-card .emdrtool-session-top,
.emdrtool-session-card .emdrtool-session-toolbar,
.emdrtool-session-card .emdrtool-audio-note,
.emdrtool-session-card .emdrtool-stage,
.emdrtool-session-card .emdrtool-breathing-note{
    margin-top:0;
}
.emdrtool-checkin-title{
    margin:0 0 8px;
    color:var(--emdr-ink);
    font-size:clamp(28px,2.6vw,38px);
    line-height:1.08;
    font-weight:500;
    letter-spacing:-.02em;
    text-transform:none;
}
@media (max-width:700px){
    .emdrtool-session-card{
        padding:18px;
        border-radius:24px;
    }
    .emdrtool-checkin-title{
        font-size:clamp(28px,8vw,36px);
    }
}

@keyframes emdrtool-orbit{
    from{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(0,0,0) scale(.98);
    }
    to{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(var(--emdr-orb-travel-px, calc(86vw - 64px)),0,0) scale(1.03);
    }
}



.emdrtool-ios-sounds-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    width:100%;
    align-items:stretch;
}

.emdrtool-ios-sounds-disclosure{
    flex:1 1 220px;
    min-width:0;
    position:relative;
}

.emdrtool-ios-sounds-disclosure[open]{
    flex-basis:100%;
}

.emdrtool-ios-sounds-disclosure > summary{
    list-style:none;
}

.emdrtool-ios-sounds-disclosure > summary::-webkit-details-marker{
    display:none;
}

.emdrtool-ios-sounds-disclosure > .emdrtool-ios-sounds-action{
    display:flex;
    width:100%;
    cursor:pointer;
    -webkit-user-select:none;
    user-select:none;
}

.emdrtool-ios-sounds-disclosure[open] > .emdrtool-ios-sounds-action,
.emdrtool-ios-sounds-action{
    margin-top:10px;
    min-width:170px;
    min-height:52px;
    padding:0 18px;
    justify-content:center;
    gap:10px;
}

.emdrtool-ios-sounds-action[aria-expanded="true"],
.emdrtool-ios-sounds-disclosure[open] > .emdrtool-ios-sounds-action{
    border-color:rgba(75,103,255,.46);
    background:rgba(255,255,255,.98);
    box-shadow:0 12px 28px rgba(18,27,55,.10), 0 0 0 3px rgba(75,103,255,.08);
}

.emdrtool-ios-sounds-chevron{
    font-size:14px;
    line-height:1;
    opacity:.78;
}

.emdrtool-ios-sounds-panel{
    flex:1 1 100%;
    margin-top:12px;
    width:100%;
    max-width:100%;
    overflow:hidden;
    padding:18px;
    border:1px solid #d9e3f2;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    box-shadow:0 14px 34px rgba(18,27,55,.08);
}

.emdrtool-ios-sounds-panel[hidden]{
    display:none !important;
}

.emdrtool-ios-sounds-titlebar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 14px;
}

.emdrtool-ios-sounds-title{
    margin:0;
    font-size:15px;
    font-weight:800;
    color:#12213a;
}

.emdrtool-ios-sounds-close{
    min-height:40px;
    padding:0 15px;
    font-size:13px;
    white-space:nowrap;
}

.emdrtool-ios-sound-card{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:14px;
    border:1px solid #e4eaf5;
    border-radius:16px;
    background:#fbfdff;
}

.emdrtool-ios-sound-heading{
    margin:0 0 10px;
    font-size:14px;
    font-weight:800;
    color:#12213a;
}

.emdrtool-ios-sound-note{
    margin:0 0 12px;
    color:#60718f;
    font-size:13px;
    line-height:1.45;
}

.emdrtool-ios-sound-controls{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:stretch;
    width:100%;
    min-width:0;
}

.emdrtool-ios-sound-controls select{
    min-height:44px;
    padding:10px 12px;
    border:1px solid #cfd8ea;
    border-radius:12px;
    background:#fff;
    color:#12213a;
    width:100%;
    max-width:100%;
    min-width:0;
    flex:1 1 100%;
}

.emdrtool-ios-sound-controls .emdrtool-btn{
    flex:1 1 190px;
    max-width:100%;
}

.emdrtool-ios-status{
    margin-top:12px;
    color:#5d6b85;
    font-size:13px;
    line-height:1.4;
    min-height:1.4em;
}

/* v5.11.42 mobile audio controls: compact PC-like switch + dropdown rows. */
.emdrtool-sr-only{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

.emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:grid;
    grid-template-columns:minmax(0,1fr) 50px;
    grid-template-rows:auto auto;
    gap:8px;
    align-items:stretch;
    flex:1 1 100%;
    width:100%;
    position:relative;
}

.emdrtool-ios-audio-combo > .emdrtool-ios-dropdown-action{
    grid-column:2;
    grid-row:1;
    margin:0;
    min-width:50px;
    width:50px;
    min-height:52px;
    padding:0;
    border-radius:20px;
    border:1px solid rgba(154,169,199,.42);
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 22px rgba(18,27,55,.07);
    justify-content:center;
}

.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    grid-column:1 / -1;
    grid-row:2;
    margin-top:2px;
}

.emdrtool-ios-audio-switch{
    grid-column:1;
    grid-row:1;
    width:100%;
    min-width:0;
    min-height:52px;
    padding:8px 12px;
    border-radius:999px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    justify-content:stretch;
    border:1px solid rgba(154,169,199,.42);
    background:rgba(255,255,255,.92);
    color:#12213a;
    box-shadow:0 10px 22px rgba(18,27,55,.07);
    text-align:left;
}

.emdrtool-ios-audio-switch:hover,
.emdrtool-ios-audio-switch:focus-visible{
    border-color:rgba(75,103,255,.46);
    box-shadow:0 12px 26px rgba(18,27,55,.10), 0 0 0 3px rgba(75,103,255,.08);
}

.emdrtool-ios-switch-track{
    width:34px;
    height:22px;
    border-radius:999px;
    background:#dfe7f6;
    border:1px solid #c9d5e9;
    display:flex;
    align-items:center;
    padding:2px;
    transition:background .18s ease, border-color .18s ease;
}

.emdrtool-ios-switch-knob{
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(18,27,55,.20);
    transform:translateX(0);
    transition:transform .18s ease;
}

.emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:#6aa892;
    border-color:#5b9e87;
}

.emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    transform:translateX(12px);
}

.emdrtool-ios-switch-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
    line-height:1.15;
}

.emdrtool-ios-switch-title{
    font-size:13px;
    font-weight:900;
    color:#12213a;
}

.emdrtool-ios-switch-subtitle{
    margin-top:2px;
    font-size:12px;
    font-weight:700;
    color:#657594;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.emdrtool-ios-switch-state{
    font-size:11px;
    font-weight:900;
    color:#6e7d99;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-state{
    color:#376d5e;
}

.emdrtool-ios-audio-switch.emdrtool-btn-danger{
    background:rgba(255,255,255,.96);
    border-color:rgba(106,168,146,.60);
    color:#12213a;
}

.emdrtool-ios-audio-combo .emdrtool-ios-sound-controls .emdrtool-btn{
    display:none;
}


/* v5.11.43 mobile audio controls: always-visible toggle + inline selector.
   The separate disclosure chevron/panel is visually removed; the existing
   select/audio elements stay in place so the mobile audio framework is unchanged. */
.emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:grid !important;
    grid-template-columns:64px minmax(0,1fr) !important;
    grid-template-rows:auto !important;
    gap:0 !important;
    align-items:center !important;
    width:100% !important;
    min-height:58px;
    padding:6px !important;
    border:1px solid rgba(154,169,199,.42);
    border-radius:28px;
    background:rgba(255,255,255,.94);
    box-shadow:0 10px 22px rgba(18,27,55,.07);
    overflow:visible;
}
.emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    grid-column:1 !important;
    grid-row:1 !important;
    width:56px !important;
    min-width:56px !important;
    min-height:46px !important;
    height:46px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    width:46px;
    height:28px;
    padding:3px;
    background:#e9eef8;
    border-color:#cad6ea;
    box-shadow:inset 0 1px 3px rgba(18,27,55,.10);
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
    width:20px;
    height:20px;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:#6aa892;
    border-color:#5b9e87;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    transform:translateX(18px);
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    min-width:0;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls{
    display:block !important;
    width:100%;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
    min-height:46px !important;
    height:46px !important;
    width:100% !important;
    padding:9px 36px 9px 12px !important;
    border:0 !important;
    border-radius:22px !important;
    background:rgba(247,249,253,.96) !important;
    color:#12213a !important;
    font-size:15px !important;
    font-weight:850 !important;
    box-shadow:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select:focus{
    outline:2px solid rgba(75,103,255,.28);
    outline-offset:1px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen{
    align-items:center;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell{
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:calc(100vh - 44px);
    height:calc(100dvh - 44px);
    height:calc((var(--emdr-vh, 1vh) * 100) - 44px);
    max-height:calc((var(--emdr-vh, 1vh) * 100) - 44px);
    padding:clamp(24px, 3.2vh, 38px);
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    padding:clamp(20px, 2.9vh, 32px);
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top{
    flex:0 0 auto;
    margin-bottom:clamp(8px, 1.2vh, 12px);
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-copy h3{
    font-size:clamp(21px, 2.4vh, 28px);
    margin-bottom:6px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-copy .emdrtool-copy{
    font-size:clamp(13px, 1.7vh, 17px);
    line-height:1.42;
    margin:0;
    max-width:520px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-toolbar{
    flex:0 0 auto;
    margin:clamp(8px, 1.2vh, 12px) 0;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
    flex:1 1 auto;
    min-height:150px;
    height:auto;
    max-height:clamp(170px, 30vh, 270px);
    margin:clamp(8px, 1.4vh, 16px) 0;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-breathing-note{
    flex:0 0 auto;
    font-size:clamp(13px, 1.7vh, 16px);
    line-height:1.35;
    margin:clamp(8px, 1.2vh, 12px) 0;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-grid{
    flex:0 1 auto;
    min-height:0;
    gap:clamp(10px, 1.8vh, 18px);
    margin-top:clamp(8px, 1.2vh, 12px);
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-card{
    min-height:0;
    padding:clamp(14px, 2.1vh, 22px);
    overflow:hidden;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-headline{
    font-size:clamp(20px, 2.5vh, 28px);
    line-height:1.08;
    margin-bottom:8px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-body{
    max-height:7.2em;
    overflow-y:auto;
    overflow-x:hidden;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
    flex:0 0 auto;
    margin-top:clamp(8px, 1.2vh, 12px);
}


.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
    scrollbar-width:none;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell::-webkit-scrollbar,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel::-webkit-scrollbar,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel > form::-webkit-scrollbar{
    display:none;
}

@media (min-width:721px){
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
        overflow:hidden !important;
    }
}

@media (max-width:720px), (hover:none) and (pointer:coarse){
    
/* v5.11.43 mobile audio controls: always-visible toggle + inline selector.
   The separate disclosure chevron/panel is visually removed; the existing
   select/audio elements stay in place so the mobile audio framework is unchanged. */
.emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:grid !important;
    grid-template-columns:64px minmax(0,1fr) !important;
    grid-template-rows:auto !important;
    gap:0 !important;
    align-items:center !important;
    width:100% !important;
    min-height:58px;
    padding:6px !important;
    border:1px solid rgba(154,169,199,.42);
    border-radius:28px;
    background:rgba(255,255,255,.94);
    box-shadow:0 10px 22px rgba(18,27,55,.07);
    overflow:visible;
}
.emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    grid-column:1 !important;
    grid-row:1 !important;
    width:56px !important;
    min-width:56px !important;
    min-height:46px !important;
    height:46px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    width:46px;
    height:28px;
    padding:3px;
    background:#e9eef8;
    border-color:#cad6ea;
    box-shadow:inset 0 1px 3px rgba(18,27,55,.10);
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
    width:20px;
    height:20px;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:#6aa892;
    border-color:#5b9e87;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    transform:translateX(18px);
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    min-width:0;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status{
    display:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls{
    display:block !important;
    width:100%;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
    min-height:46px !important;
    height:46px !important;
    width:100% !important;
    padding:9px 36px 9px 12px !important;
    border:0 !important;
    border-radius:22px !important;
    background:rgba(247,249,253,.96) !important;
    color:#12213a !important;
    font-size:15px !important;
    font-weight:850 !important;
    box-shadow:none !important;
}
.emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select:focus{
    outline:2px solid rgba(75,103,255,.28);
    outline-offset:1px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen{
        align-items:stretch;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        overflow-y:auto !important;
        overflow-x:hidden !important;
        -webkit-overflow-scrolling:touch;
        display:block;
        padding-bottom:calc(28px + env(safe-area-inset-bottom, 0px) + 96px);
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
        overflow:visible !important;
        display:block;
        min-height:auto;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
        overflow:visible !important;
        display:block;
        min-height:auto;
        padding-bottom:calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-toolbar,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-breathing-note,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-grid,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
        flex:none;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        height:210px;
        max-height:none;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:14px;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-card{
        overflow:visible;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-body{
        max-height:12em;
        overflow-y:auto;
        overflow-x:hidden;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
        margin-top:18px;
        padding-bottom:16px;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer .emdrtool-actions,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer .emdrtool-btn{
        width:100%;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-panel{
        position:fixed;
        left:max(16px, env(safe-area-inset-left));
        right:max(16px, env(safe-area-inset-right));
        bottom:max(16px, env(safe-area-inset-bottom));
        z-index:2147483001;
        width:auto;
        max-width:none;
        max-height:min(62vh, 480px);
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
        padding:18px;
        border-radius:26px;
        box-shadow:0 26px 72px rgba(7,16,38,.30), 0 0 0 1px rgba(255,255,255,.85) inset;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-title{
        font-size:17px;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sound-note{
        font-size:14px;
    }
}


@supports (padding: max(0px)){
    .emdrtool-wrap.is-fullscreen{
        padding-top:max(22px, env(safe-area-inset-top, 0px)) !important;
        padding-right:max(22px, env(safe-area-inset-right, 0px)) !important;
        padding-bottom:max(22px, env(safe-area-inset-bottom, 0px)) !important;
        padding-left:max(22px, env(safe-area-inset-left, 0px)) !important;
    }
}

@media (max-width:1040px){
    .emdrtool-session-toolbar{
        flex-wrap:wrap;
    }
}

@media (max-width:900px){
    .emdrtool-summary,
    .emdrtool-focus-grid{
        grid-template-columns:1fr;
    }
}


@media (max-width:900px), (hover:none) and (pointer:coarse){
    .emdrtool-session-toolbar{
        flex-wrap:wrap;
        align-items:stretch;
    }

    .emdrtool-session-group{
        width:100%;
        flex-wrap:wrap;
    }

    .emdrtool-audio-toggle{
        width:100%;
    }

    .emdrtool-options-pop{
        position:relative;
        top:10px;
        left:0;
        width:100%;
        min-width:0;
        max-width:none;
    }
}

@media (max-width:720px){
    .emdrtool-wrap.is-fullscreen{
        padding:10px !important;
        padding-top:max(10px, env(safe-area-inset-top, 0px)) !important;
        padding-right:max(10px, env(safe-area-inset-right, 0px)) !important;
        padding-bottom:max(10px, env(safe-area-inset-bottom, 0px)) !important;
        padding-left:max(10px, env(safe-area-inset-left, 0px)) !important;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-shell{
        height:calc(100vh - 20px);
        height:calc(100dvh - 20px);
        height:calc((var(--emdr-vh, 1vh) * 100) - 20px);
        min-height:0;
        max-height:calc(100vh - 20px);
        max-height:calc(100dvh - 20px);
        max-height:calc((var(--emdr-vh, 1vh) * 100) - 20px);
        width:100%;
        padding:22px;
        border-radius:24px;
    }

    .emdrtool-shell{
        padding:20px;
        border-radius:22px;
    }

    .emdrtool-panel{
        padding:20px;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-panel{
        padding:22px;
    }

    .emdrtool-session-top,
    .emdrtool-panel-header{
        flex-direction:column;
    }

    .emdrtool-session-toolbar{
        gap:12px;
    }

    .emdrtool-session-group{
        width:100%;
        flex-wrap:wrap;
    }

    .emdrtool-audio-toggle{
        width:100%;
    }

    .emdrtool-options-pop{
        position:relative;
        top:10px;
        left:0;
        width:100%;
        min-width:0;
        max-width:none;
    }


    .emdrtool-orb-speed-control{
        flex-wrap:wrap;
        gap:8px;
        padding:12px;
        border-radius:18px;
    }

    .emdrtool-orb-speed-label{
        width:auto;
        min-width:0;
        flex:1 1 auto;
    }

    .emdrtool-orb-speed-value{
        min-width:98px;
    }

    .emdrtool-orb-speed-range{
        flex-basis:100%;
    }

    .emdrtool-stage{
        height:150px;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-stage{
        height:210px;
    }



    .emdrtool-session-toolbar > .emdrtool-btn,
    .emdrtool-ios-sounds-action,
    .emdrtool-ios-sound-controls .emdrtool-btn{
        width:100%;
        min-height:58px;
        font-size:16px;
        justify-content:center;
    }

    .emdrtool-ios-sounds-tabs{
        gap:12px;
    }

    .emdrtool-ios-sounds-action{
        margin-top:0;
    }

    .emdrtool-ios-sounds-panel{
        padding:14px;
    }

    .emdrtool-ios-sound-card{
        padding:12px;
    }

    .emdrtool-orb{
        width:48px;
        height:48px;
        margin-top:-24px;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-orb{
        width:60px;
        height:60px;
        margin-top:-30px;
    }

    @keyframes emdrtool-orbit{
        from{
            left:var(--emdr-orb-edge, 7%);
            transform:translate3d(0,0,0) scale(.98);
        }
        to{
            left:var(--emdr-orb-edge, 7%);
            transform:translate3d(var(--emdr-orb-travel-px, calc(86vw - 48px)),0,0) scale(1.03);
        }
    }
}

/* v5.6.2 real-world sample panning refinements */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap:not(.is-fullscreen){
        position:relative;
        left:50%;
        right:50%;
        width:100vw;
        max-width:100vw;
        margin-left:calc(-50vw) !important;
        margin-right:calc(-50vw) !important;
        margin-top:0 !important;
        margin-bottom:0 !important;
        padding:0 0 18px !important;
        overflow-x:hidden;
        background:
            radial-gradient(circle at top left, rgba(114,180,255,.16), transparent 32%),
            radial-gradient(circle at bottom right, rgba(139,223,206,.14), transparent 28%),
            linear-gradient(180deg, #10192f, #14213a);
    }

    @supports (width:100dvw){
        .emdrtool-wrap:not(.is-fullscreen){
            width:100dvw;
            max-width:100dvw;
            margin-left:calc(-50dvw) !important;
            margin-right:calc(-50dvw) !important;
        }
    }

    .emdrtool-wrap:not(.is-fullscreen) .emdrtool-shell{
        width:100%;
        max-width:none;
        margin:0;
        border-radius:0;
        padding-top:max(18px, env(safe-area-inset-top, 0px));
        padding-right:max(18px, env(safe-area-inset-right, 0px));
        padding-bottom:max(26px, env(safe-area-inset-bottom, 0px));
        padding-left:max(18px, env(safe-area-inset-left, 0px));
    }

    .emdrtool-wrap.is-fullscreen{
        padding:0 !important;
        width:100vw !important;
        max-width:100vw !important;
        height:100vh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        align-items:stretch !important;
        justify-content:stretch !important;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-shell{
        width:100% !important;
        max-width:none !important;
        height:100vh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        max-height:100vh !important;
        max-height:100dvh !important;
        max-height:calc(var(--emdr-vh, 1vh) * 100) !important;
        margin:0 !important;
        border-radius:0 !important;
        padding:10px !important;
        padding-top:calc(10px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-panel{
        padding:14px !important;
        border-radius:20px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        padding:8px !important;
        padding-top:calc(8px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom:calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
        padding:14px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-toolbar{
        gap:10px;
        margin:10px 0 12px;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-tabs{
        gap:10px;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-action{
        min-height:52px;
        margin-top:0;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        height:min(31vh, 210px) !important;
        min-height:160px;
        margin:12px 0 !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-breathing-note{
        margin:12px 0 !important;
        font-size:16px;
        line-height:1.35;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-grid{
        gap:12px !important;
        margin-top:12px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-card{
        padding:16px !important;
        border-radius:18px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-focus-headline{
        font-size:26px !important;
        line-height:1.12;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
        margin-top:14px !important;
        padding-bottom:4px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-panel{
        left:10px !important;
        right:10px !important;
        bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        max-height:min(58vh, 430px) !important;
        padding:14px !important;
        border-radius:22px !important;
    }
}

/* v5.6.0 iOS/mobile browser-chrome bleed + efficient safe-area layout */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap:not(.is-fullscreen){
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap:not(.is-fullscreen) .emdrtool-shell{
        background:
            linear-gradient(135deg, rgba(247,249,255,.99), rgba(238,247,255,.99)),
            linear-gradient(180deg, #f7f9ff, #f5fbff) !important;
        padding-top:18px !important;
        padding-bottom:max(26px, env(safe-area-inset-bottom, 0px)) !important;
    }

    .emdrtool-wrap.is-fullscreen{
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.is-fullscreen::before,
    .emdrtool-wrap.is-fullscreen .emdrtool-browser-bleed{
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-shell{
        background:
            linear-gradient(135deg, rgba(247,249,255,.99), rgba(238,247,255,.99)),
            linear-gradient(180deg, #f7f9ff, #f5fbff) !important;
        padding-top:10px !important;
        padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        padding-top:8px !important;
        padding-bottom:calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    }
}


/* v5.6.0 broad mobile OS support: dynamic viewport, safe-area and browser-chrome parity */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    html.emdrtool-platform-mobile,
    body.emdrtool-platform-mobile,
    html.emdrtool-platform-android,
    body.emdrtool-platform-android,
    html.emdrtool-platform-ios,
    body.emdrtool-platform-ios{
        background:#eef7ff !important;
    }

    body.emdrtool-page-bleed.emdrtool-platform-mobile::before,
    body.emdrtool-page-bleed.emdrtool-platform-android::before,
    body.emdrtool-page-bleed.emdrtool-platform-ios::before{
        top:-96px;
        bottom:-140px;
        left:-10px;
        right:-10px;
    }

    .emdrtool-wrap.emdrtool-platform-mobile:not(.is-fullscreen),
    .emdrtool-wrap.emdrtool-platform-android:not(.is-fullscreen),
    .emdrtool-wrap.emdrtool-platform-ios:not(.is-fullscreen){
        min-height:100svh;
        min-height:calc(var(--emdr-vh, 1vh) * 100);
    }

    .emdrtool-wrap.emdrtool-platform-mobile.is-fullscreen,
    .emdrtool-wrap.emdrtool-platform-android.is-fullscreen,
    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen{
        height:100svh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        min-height:100svh !important;
        min-height:calc(var(--emdr-vh, 1vh) * 100) !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.is-fullscreen .emdrtool-shell,
    .emdrtool-wrap.emdrtool-platform-android.is-fullscreen .emdrtool-shell,
    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-shell{
        height:100svh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        max-height:calc(var(--emdr-vh, 1vh) * 100) !important;
        padding-left:calc(10px + env(safe-area-inset-left, 0px)) !important;
        padding-right:calc(10px + env(safe-area-inset-right, 0px)) !important;
        padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px) + var(--emdr-bottom-safe, 0px)) !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen .emdrtool-shell,
    .emdrtool-wrap.emdrtool-platform-android.emdrtool-step-4.is-fullscreen .emdrtool-shell,
    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        padding-bottom:calc(22px + env(safe-area-inset-bottom, 0px) + var(--emdr-bottom-safe, 0px)) !important;
    }
}


/* v5.6.1 iOS normal-mode edge-to-edge content bleed
   Safari's browser chrome remains above the page, but this lets the plugin page itself
   start behind the iOS safe-area/status area and continue behind the bottom bar area,
   instead of only painting the background there. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    html.emdrtool-page-bleed.emdrtool-platform-ios,
    body.emdrtool-page-bleed.emdrtool-platform-ios{
        min-height:100svh;
        min-height:100dvh;
        min-height:calc(var(--emdr-vh, 1vh) * 100);
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    body.emdrtool-page-bleed.emdrtool-platform-ios::before{
        top:-220px !important;
        bottom:-340px !important;
        left:-18px !important;
        right:-18px !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios:not(.is-fullscreen){
        --emdr-ios-top-bleed: max(env(safe-area-inset-top, 0px), 48px);
        --emdr-ios-bottom-bleed: max(env(safe-area-inset-bottom, 0px), 104px);
        margin-top:calc(-1 * var(--emdr-ios-top-bleed)) !important;
        margin-bottom:calc(-1 * var(--emdr-ios-bottom-bleed)) !important;
        padding-top:0 !important;
        padding-bottom:var(--emdr-ios-bottom-bleed) !important;
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed) + var(--emdr-ios-bottom-bleed)) !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios:not(.is-fullscreen) .emdrtool-shell{
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed) + var(--emdr-ios-bottom-bleed)) !important;
        padding-top:18px !important;
        padding-bottom:calc(26px + var(--emdr-ios-bottom-bleed)) !important;
        background:
            linear-gradient(135deg, rgba(247,249,255,.99), rgba(238,247,255,.99)),
            linear-gradient(180deg, #f7f9ff, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios:not(.is-fullscreen) .emdrtool-header{
        padding-top:0 !important;
    }
}


/* v5.11.434 iOS intro header-area blend.
   The Twenty Twenty-Five header uses a warm off-white menu background, while
   Safari and the page/main wrappers can leave white bands above and below it.
   Keep this intro-only and iOS-only: fullscreen steps retain the blue tool tint. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock){
        --emdr-ios-site-header-bg:#F7F3EB;
    }

    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) .wp-site-blocks,
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) .wp-site-blocks > header.wp-block-template-part,
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) header.wp-block-template-part,
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) .wp-site-blocks > main,
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) main.wp-block-group{
        background-color:var(--emdr-ios-site-header-bg) !important;
    }

    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) .wp-site-blocks > header.wp-block-template-part,
    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) header.wp-block-template-part{
        margin-block-start:0 !important;
        margin-block-end:0 !important;
    }

    body.emdrtool-page-bleed.emdrtool-platform-ios:not(.emdrtool-body-lock) .emdrtool-wrap.emdrtool-step-0:not(.is-fullscreen){
        margin-top:0 !important;
    }
}


/* v5.6.3 iOS fullscreen edge-to-edge content bleed
   Mirrors the v5.6.1 normal-mode fix in fullscreen mode too: the fixed fullscreen
   layer is allowed to extend above and below the visual viewport, so the session
   content/background can flow into the iOS Dynamic Island/status area and the
   Safari bottom/address-bar area instead of stopping at their safe-area edges. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    html.emdrtool-html-lock.emdrtool-platform-ios,
    body.emdrtool-body-lock.emdrtool-platform-ios{
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen{
        --emdr-ios-top-bleed-full: max(env(safe-area-inset-top, 0px), 48px);
        --emdr-ios-bottom-bleed-full: max(env(safe-area-inset-bottom, 0px), 108px);
        top:calc(-1 * var(--emdr-ios-top-bleed-full)) !important;
        bottom:calc(-1 * var(--emdr-ios-bottom-bleed-full)) !important;
        height:auto !important;
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        max-height:none !important;
        padding:0 !important;
        align-items:stretch !important;
        justify-content:stretch !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen::before,
    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-browser-bleed{
        inset:-260px -22px -380px -22px !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-shell{
        width:100% !important;
        max-width:none !important;
        height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        max-height:none !important;
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        margin:0 !important;
        border-radius:0 !important;
        border:0 !important;
        padding-top:18px !important;
        padding-right:max(18px, env(safe-area-inset-right, 0px)) !important;
        padding-bottom:calc(28px + var(--emdr-ios-bottom-bleed-full) + var(--emdr-bottom-safe, 0px)) !important;
        padding-left:max(18px, env(safe-area-inset-left, 0px)) !important;
        overflow:auto !important;
        -webkit-overflow-scrolling:touch;
        background:
            linear-gradient(135deg, rgba(247,249,255,.99), rgba(238,247,255,.99)),
            linear-gradient(180deg, #f7f9ff, #f5fbff) !important;
        box-shadow:none !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-header{
        padding-top:0 !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        padding-top:14px !important;
        padding-bottom:calc(32px + var(--emdr-ios-bottom-bleed-full) + var(--emdr-bottom-safe, 0px)) !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-panel,
    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
        min-height:auto !important;
        max-height:none !important;
        overflow:visible !important;
    }

    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
        padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    }
}


/* v5.6.5 iOS fullscreen viewport watchdog / gap guard
   iOS Safari can transiently desync the visual viewport while an inner scroll container
   is momentum-scrolling. The fullscreen layer is deliberately overdrawn and backed by
   a separate fixed guard below the plugin so any temporary viewport/status-bar gap keeps
   the same session background instead of exposing the site/browser strip. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    body.emdrtool-body-lock.emdrtool-platform-ios{
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
    }

    .emdrtool-ios-fullscreen-guard{
        display:none;
    }

    body.emdrtool-body-lock.emdrtool-platform-ios .emdrtool-ios-fullscreen-guard{
        display:block;
        position:fixed;
        left:-32px;
        right:-32px;
        top:calc(-260px - var(--emdr-vv-offset-top, 0px));
        bottom:calc(-360px - var(--emdr-bottom-safe, 0px));
        z-index:2147482998;
        pointer-events:none;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
        transform:translate3d(0,0,0);
        -webkit-transform:translate3d(0,0,0);
        will-change:transform;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen{
        --emdr-ios-top-bleed-full: max(env(safe-area-inset-top, 0px), var(--emdr-ios-top-bleed-js, 56px));
        --emdr-ios-bottom-bleed-full: max(env(safe-area-inset-bottom, 0px), var(--emdr-ios-bottom-bleed-js, 112px));
        top:calc(-1 * var(--emdr-ios-top-bleed-full)) !important;
        bottom:calc(-1 * var(--emdr-ios-bottom-bleed-full)) !important;
        min-height:calc(100lvh + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
        -webkit-transform:translate3d(0,0,0);
        transform:translate3d(0,0,0);
        backface-visibility:hidden;
        -webkit-backface-visibility:hidden;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen.emdrtool-bleed-refresh{
        -webkit-transform:translate3d(0,.01px,0);
        transform:translate3d(0,.01px,0);
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen::before,
    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-browser-bleed{
        top:calc(-320px - var(--emdr-vv-offset-top, 0px)) !important;
        bottom:calc(-420px - var(--emdr-bottom-safe, 0px)) !important;
        left:-44px !important;
        right:-44px !important;
        background:
            radial-gradient(circle at top right, rgba(109,168,255,.20), transparent 34%),
            radial-gradient(circle at bottom left, rgba(109,255,198,.16), transparent 30%),
            linear-gradient(180deg, #f7f9ff, #eef7ff 52%, #f5fbff) !important;
        -webkit-transform:translate3d(0,0,0);
        transform:translate3d(0,0,0);
        will-change:transform;
    }

    .emdrtool-wrap.emdrtool-platform-ios.is-fullscreen .emdrtool-shell{
        min-height:calc(100lvh + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        min-height:calc((var(--emdr-vh, 1vh) * 100) + var(--emdr-ios-top-bleed-full) + var(--emdr-ios-bottom-bleed-full)) !important;
        height:auto !important;
        padding-top:max(16px, calc(12px + var(--emdr-vv-offset-top, 0px))) !important;
        overscroll-behavior:contain;
        background:
            linear-gradient(135deg, rgba(247,249,255,.99), rgba(238,247,255,.99)),
            linear-gradient(180deg, #f7f9ff, #f5fbff) !important;
        -webkit-transform:translate3d(0,0,0);
        transform:translate3d(0,0,0);
    }
}


/* v5.6.9 mobile audio controls: keep touch targets above bleed layers and tappable on iOS */
.emdrtool-mobile-direct-audio,
.emdrtool-ios-sounds-tabs,
.emdrtool-ios-sounds-disclosure,
.emdrtool-ios-sounds-panel{
    position:relative;
    z-index:3;
    pointer-events:auto;
}

.emdrtool-ios-sounds-action,
.emdrtool-ios-sounds-close,
.emdrtool-ios-sound-controls .emdrtool-btn,
.emdrtool-ios-sound-controls select{
    touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(75,103,255,.14);
    pointer-events:auto;
}

/* v5.7.0 mobile disclosure stability: make iOS fullscreen audio panels inline.
   A fixed bottom-sheet panel was visually overlapping the Soundscape/Guiding buttons
   and the session content in fullscreen. Inline panels stay in the document flow,
   push the orb down naturally, and remain scrollable with the session. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-mobile-direct-audio,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-tabs{
        overflow:visible !important;
        isolation:isolate;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-disclosure{
        position:relative !important;
        z-index:4;
        flex:1 1 100%;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-disclosure[open]{
        z-index:7;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-panel{
        position:relative !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        top:auto !important;
        width:100% !important;
        max-width:100% !important;
        max-height:none !important;
        overflow:visible !important;
        margin:10px 0 0 !important;
        padding:14px !important;
        border-radius:22px !important;
        background:rgba(255,255,255,.985) !important;
        box-shadow:0 14px 36px rgba(18,27,55,.12), 0 0 0 1px rgba(255,255,255,.90) inset !important;
        transform:none !important;
        -webkit-transform:none !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-titlebar{
        position:relative;
        z-index:2;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-ios-sounds-close{
        min-width:128px;
        min-height:46px;
        padding:0 14px;
    }
}


/* v5.9.5 desktop toolbar repair: compact single-row toolbar on fine-pointer/Windows layouts. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-session-toolbar{
        align-items:center;
        flex-wrap:nowrap !important;
        gap:8px;
    }

    .emdrtool-session-toolbar > .emdrtool-btn{
        width:auto;
        flex:0 0 auto;
    }

    .emdrtool-session-group{
        width:auto;
        flex:0 0 auto;
        flex-wrap:nowrap !important;
        align-items:center;
        gap:6px;
    }

    .emdrtool-session-group .emdrtool-native-audio{
        width:auto;
        min-width:142px;
        flex:0 0 auto;
        padding-left:12px;
        padding-right:12px;
    }

    .emdrtool-session-group .emdrtool-btn-gear{
        width:46px;
        min-width:46px;
        flex:0 0 46px;
        padding:0;
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    .emdrtool-session-group .emdrtool-options-pop{
        position:absolute !important;
        top:calc(100% + 8px) !important;
        left:0 !important;
        width:max-content;
        min-width:290px;
        max-width:min(360px, calc(100vw - 40px));
        z-index:30;
    }

    .emdrtool-orb-speed-disclosure{
        width:auto;
        margin:0;
        flex:0 0 auto;
    }

    .emdrtool-orb-speed-toggle{
        width:auto;
        min-width:204px;
        padding:0 14px;
    }

    .emdrtool-orb-speed-summary{
        min-width:82px;
        padding-left:8px;
        padding-right:8px;
    }

    .emdrtool-orb-speed-panel{
        position:absolute;
        top:calc(100% + 8px);
        right:0;
        width:min(430px, calc(100vw - 40px));
        margin-top:0;
        z-index:30;
    }

    .emdrtool-orb-speed-panel .emdrtool-orb-speed-control{
        min-width:360px;
    }

    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        padding-left:16px;
        padding-right:16px;
    }
}

@media (hover:hover) and (pointer:fine) and (max-width:980px){
    .emdrtool-session-toolbar{
        gap:6px;
    }

    .emdrtool-session-group{
        gap:5px;
    }

    .emdrtool-session-group .emdrtool-native-audio{
        min-width:132px;
        padding-left:10px;
        padding-right:10px;
    }

    .emdrtool-session-group .emdrtool-btn-gear{
        width:42px;
        min-width:42px;
        flex-basis:42px;
    }

    .emdrtool-orb-speed-toggle{
        min-width:188px;
        padding-left:12px;
        padding-right:12px;
    }

    .emdrtool-orb-speed-summary{
        min-width:76px;
    }
}


/* v5.9.9 Windows toolbar fit: keep fullscreen, soundscape, guiding, and orb-speed controls on one row. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-session-toolbar{
        gap:5px !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
    }
    .emdrtool-session-toolbar .emdrtool-btn,
    .emdrtool-session-toolbar .emdrtool-native-audio{
        min-height:44px !important;
        height:44px !important;
    }
    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        padding-left:12px !important;
        padding-right:12px !important;
        font-size:12px !important;
        white-space:nowrap !important;
    }
    .emdrtool-session-group{
        gap:4px !important;
        flex:0 0 auto !important;
        flex-wrap:nowrap !important;
        min-width:0 !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:112px !important;
        max-width:136px !important;
        padding-left:8px !important;
        padding-right:8px !important;
        gap:7px !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:128px !important;
        max-width:150px !important;
    }
    .emdrtool-session-toolbar .emdrtool-switch{
        width:36px !important;
        height:22px !important;
    }
    .emdrtool-session-toolbar .emdrtool-switch-knob{
        top:3px !important;
        left:3px !important;
        width:14px !important;
        height:14px !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio.is-on .emdrtool-switch-knob{
        transform:translateX(14px) !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text{
        font-size:12px !important;
        letter-spacing:-.01em;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .emdrtool-session-group .emdrtool-btn-gear{
        width:36px !important;
        min-width:36px !important;
        flex-basis:36px !important;
        padding:0 !important;
        font-size:14px !important;
    }
    .emdrtool-orb-speed-toggle{
        min-width:134px !important;
        padding-left:9px !important;
        padding-right:9px !important;
        gap:6px !important;
        font-size:12px !important;
    }
    .emdrtool-orb-speed-summary{
        min-width:64px !important;
        padding:4px 6px !important;
        font-size:11px !important;
    }
}

@media (hover:hover) and (pointer:fine) and (max-width:760px){
    .emdrtool-session-toolbar{
        gap:4px !important;
    }
    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        padding-left:9px !important;
        padding-right:9px !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:104px !important;
        max-width:124px !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:116px !important;
        max-width:136px !important;
    }
    .emdrtool-orb-speed-toggle{
        min-width:108px !important;
    }
    .emdrtool-orb-speed-summary{
        display:none !important;
    }
}


/* v5.10.0 Windows toolbar readability: wider text labels and fully round dropdown buttons. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-session-toolbar{
        gap:10px !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
        justify-content:flex-start !important;
    }
    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        min-width:132px !important;
        padding-left:14px !important;
        padding-right:14px !important;
        font-size:13px !important;
        white-space:nowrap !important;
    }
    .emdrtool-session-group{
        gap:8px !important;
        flex:0 0 auto !important;
        min-width:0 !important;
        flex-wrap:nowrap !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:168px !important;
        max-width:none !important;
        padding-left:13px !important;
        padding-right:13px !important;
        gap:10px !important;
        overflow:visible !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:190px !important;
        max-width:none !important;
    }
    .emdrtool-session-toolbar .emdrtool-switch{
        flex:0 0 36px !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text{
        display:inline-block !important;
        max-width:105px !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        font-size:13px !important;
        letter-spacing:0 !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap] .emdrtool-native-audio-text{
        max-width:124px !important;
    }
    .emdrtool-session-group .emdrtool-btn-gear{
        width:46px !important;
        min-width:46px !important;
        flex-basis:46px !important;
        height:46px !important;
        min-height:46px !important;
        padding:0 !important;
        border-radius:9999px !important;
        font-size:14px !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
    }
    .emdrtool-orb-speed-toggle{
        min-width:172px !important;
        max-width:none !important;
        padding-left:13px !important;
        padding-right:13px !important;
        gap:8px !important;
        font-size:13px !important;
    }
    .emdrtool-orb-speed-summary{
        min-width:82px !important;
        padding:4px 10px !important;
        font-size:12px !important;
        display:inline-flex !important;
    }
}

@media (hover:hover) and (pointer:fine) and (max-width:760px){
    .emdrtool-session-toolbar{
        gap:6px !important;
    }
    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        min-width:118px !important;
        padding-left:10px !important;
        padding-right:10px !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:150px !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:170px !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text{
        max-width:90px !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap] .emdrtool-native-audio-text{
        max-width:108px !important;
    }
    .emdrtool-orb-speed-toggle{
        min-width:146px !important;
    }
    .emdrtool-orb-speed-summary{
        min-width:70px !important;
    }
}


/* v5.10.1 desktop toolbar: put the selected sound name on a second line and avoid label clipping. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-session-toolbar{
        gap:8px !important;
        flex-wrap:nowrap !important;
    }
    .emdrtool-session-group{
        gap:6px !important;
        flex:0 0 auto !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:176px !important;
        max-width:176px !important;
        height:50px !important;
        padding-left:12px !important;
        padding-right:12px !important;
        gap:8px !important;
        overflow:visible !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:198px !important;
        max-width:198px !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        justify-content:center !important;
        min-width:0 !important;
        max-width:none !important;
        line-height:1.05 !important;
        white-space:nowrap !important;
        overflow:visible !important;
        text-overflow:clip !important;
        font-size:13px !important;
        font-weight:800 !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text[data-emdr-active-name]::after{
        content:attr(data-emdr-active-name);
        display:block;
        max-width:112px;
        margin-top:3px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:11px;
        line-height:1;
        font-weight:800;
        opacity:.72;
    }
    .emdrtool-session-group [data-audio-guiding-wrap] .emdrtool-native-audio-text[data-emdr-active-name]::after{
        max-width:130px;
    }
    .emdrtool-session-group .emdrtool-btn-gear{
        width:46px !important;
        min-width:46px !important;
        height:46px !important;
        min-height:46px !important;
        padding:0 !important;
        border-radius:9999px !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex:0 0 46px !important;
    }
    .emdrtool-orb-speed-toggle{
        min-width:166px !important;
        max-width:166px !important;
        height:50px !important;
        padding-left:12px !important;
        padding-right:10px !important;
    }
}

@media (hover:hover) and (pointer:fine) and (max-width:900px){
    .emdrtool-session-toolbar{
        gap:6px !important;
    }
    .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        min-width:118px !important;
        padding-left:10px !important;
        padding-right:10px !important;
    }
    .emdrtool-session-group .emdrtool-native-audio{
        min-width:164px !important;
        max-width:164px !important;
    }
    .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:184px !important;
        max-width:184px !important;
    }
    .emdrtool-session-toolbar .emdrtool-native-audio-text[data-emdr-active-name]::after{
        max-width:100px;
    }
    .emdrtool-session-group [data-audio-guiding-wrap] .emdrtool-native-audio-text[data-emdr-active-name]::after{
        max-width:116px;
    }
    .emdrtool-orb-speed-toggle{
        min-width:158px !important;
        max-width:158px !important;
    }
}


/* v5.10.2 desktop speed-button fit and softer bilateral ambience gain. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-orb-speed-toggle{
        min-width:138px !important;
        max-width:138px !important;
        height:50px !important;
        padding-left:12px !important;
        padding-right:9px !important;
        gap:7px !important;
        white-space:nowrap !important;
    }
    .emdrtool-orb-speed-summary{
        min-width:72px !important;
        padding:4px 9px !important;
        font-size:12px !important;
    }
}

@media (hover:hover) and (pointer:fine) and (max-width:900px){
    .emdrtool-orb-speed-toggle{
        min-width:132px !important;
        max-width:132px !important;
    }
    .emdrtool-orb-speed-summary{
        min-width:68px !important;
        padding-left:8px !important;
        padding-right:8px !important;
    }
}


/* v5.8.0 iOS/mobile audio-output-clock sync: generated cues and audio-param pan automation. */
.emdrtool-ios-sound-controls .emdrtool-btn{
    position:relative;
    z-index:5;
    cursor:pointer;
    -webkit-user-select:none;
    user-select:none;
}
.emdrtool-ios-sound-controls .emdrtool-btn.is-starting{
    opacity:.82;
}
.emdrtool-orb.emdrtool-orb-js-sync{
    animation:none !important;
    will-change:left, transform;
}


/* v5.10.3 settings and desktop toolbar polish. */
/* v5.10.4 reworked color schemes and settings labels. */

/* v5.10.7 compact researched pre-step intro page. */
/* v5.10.8 researched open intro copy and UX refinements. */
/* v5.10.9 refined intro, fixed guidance boxes, and clearer Step 1/2 UX. */
/* v5.11.2 clarified Step 2 example grouping and anchor input placeholder. */
/* v5.11.3 restores intro as default refresh view and removes Step 1 guidance examples. */
/* v5.11.4 softens Step 2 examples group with researched filled-container styling. */
/* v5.11.5 separates the Step 2 examples label styling and uses guided-session wording instead of EMDR-session wording. */
/* v5.11.7 uses self-help exercise wording to avoid implying clinical EMDR therapy or live guidance. */
/* v5.11.8 keeps fullscreen styling active across posted steps and removes the Step 2 examples label dot. */
/* v5.11.9 uses a concise self-help title, solid Step 2 examples panel, and accessible fullscreen close control. */
/* v5.11.11 moves the fullscreen close control into the shell corner, lightens Step 2 examples, and clarifies setup copy. */
/* v5.11.12 refines Step 1/2 copy and draws a centered fullscreen close icon. */
/* v5.11.13 applies color schemes across setup steps, softens Rose Quartz controls, and lightens the fullscreen close icon. */
/* v5.11.14 prevents color-scheme flash across step posts and warm-sunset button hover uses gold tones. */
/* v5.11.15 trims the soundscape list to the requested set, adds uploaded local soundscapes, and keeps looping playback. */
/* v5.11.18 replaces Waterfall with the supplied local track and makes Warm pulse the desktop guiding default. */
/* v5.11.20 pauses soundscapes instead of resetting them, so desktop/mobile playback resumes from the same point. */
/* v5.11.19 lowers the Binaural beat base volume and restores the intro primary button styling. */
/* v5.11.21 normalizes audio output so the loudest configured sound reaches full system volume, with Waterfall slightly lower. */
/* v5.11.22 lowers Waterfall further and removes Stimulation from desktop and mobile soundscapes. */
/* v5.11.39 replaces Horizon/Stillness/Eternal/Tranquility soundscapes and sets those plus Waterfall to 70%. */
/* v5.11.23 adds random bundled Pen click guiding cues for desktop and mobile without changing the guiding frameworks. */
/* v5.11.23 gives the default color scheme a progress accent fallback so the intro CTA stays blue before any saved scheme loads. */
/* v5.11.24 adds randomized iOS/mobile HTMLAudio fallback files for Pen click so it still starts when Web Audio decoding is unavailable. */
/* v5.11.25 adds randomized Bucket Tap guiding cues for desktop and mobile using the supplied individual tap files. */
/* v5.11.26 hardens mobile no-Web-Audio fallbacks for Pen click and Bucket Tap. */
/* v5.11.27 keeps the mobile base cue <audio> elements in the DOM when switching randomized fallback sounds. */
/* v5.11.28 keeps randomized mobile cue media sessions steady and renames Bucket Tap to Bucket pat. */
/* v5.11.29 adds no-flash iOS continuous tracks for randomized Pen click and Bucket pat cues. */
/* v5.11.30 adds randomized Glass flick, Wood stick, Finger flick, Clock tick, Water snap, and Wood knock guiding cues with iOS no-flash continuous tracks. */
/* v5.11.31 renames Water snap to Water slap, rebuilds Wood knock as single knocks, and adds Bell pling, Heartbeat, Subbass, Drum, Ping, Soft blip, Robot, Pop, and Bell ting with iOS no-flash continuous tracks. */
/* v5.11.39 boosts Warm pulse, Low bell, Deep pulse, Subbass, and Bright ping without lowering other sounds. */
/* v5.11.32 rebuilds Heartbeat as full heartbeat clips, rebuilds Wood stick as single hits, and prevents untouched mobile dropdowns from auto-starting audio. */
/* v5.11.33 ports selected desktop guiding sounds to mobile, renames the older calm_tick label to Calm knock, removes old guiding options, and reorganizes guiding dropdown order. */
/* v5.11.34 rebuilds the ported mobile guiding files to match the desktop WebAudio voices more closely and renames the Heart Beat label to Heartbeat. */
/* v5.11.40 fixes the Android no-loop Web Audio fallback so it stays silent between cues and prefers the selected sample/edge files over the generic synthesized rescue tone. */
/* v5.11.41 replaces the Android emergency no-loop Web Audio fallback with a selected-cue scheduler, so Android does not hear the generic continuous carrier and each guiding sound keeps its own character. */
/* v5.11.42 restyles the mobile audio controls into compact PC-like toggle + dropdown rows without changing the audio engines. */
/* v5.11.43 keeps the mobile audio toggle visible and places the selector inline with the toggle row. */
/* v5.11.45 makes mobile audio toggles switch visually immediately on tap, then reverts them only if audio start fails. */
/* v5.11.46 labels the mobile audio toggles and keeps the inline selector text visible beside each toggle. */
/* v5.11.35 removes Wood block from desktop and makes desktop settings/dropdowns close consistently. */

/* v5.11.46 mobile audio control visual patch only: labels + robust inline select layout. */
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:grid !important;
    grid-template-columns:56px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:9px !important;
    row-gap:5px !important;
    align-items:center !important;
    width:100% !important;
    min-height:0 !important;
    padding:8px 10px 10px !important;
    border-radius:24px !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
    display:block !important;
    padding-left:2px;
    font-size:12px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:.02em;
    color:#12213a;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before{
    content:"Soundscape";
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before{
    content:"Guiding sounds";
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    grid-column:1 !important;
    grid-row:2 !important;
    align-self:center !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    grid-column:2 !important;
    grid-row:2 !important;
    align-self:center !important;
    min-width:0 !important;
    width:100% !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:44px !important;
    min-height:44px !important;
    padding:8px 34px 8px 12px !important;
    border:1px solid rgba(197,208,230,.90) !important;
    border-radius:19px !important;
    background-color:#fff !important;
    color:#12213a !important;
    -webkit-text-fill-color:#12213a !important;
    opacity:1 !important;
    font-size:15px !important;
    line-height:1.2 !important;
    font-weight:850 !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    box-shadow:0 1px 2px rgba(18,27,55,.04) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option{
    color:#12213a !important;
    background:#fff !important;
}
@media (max-width:420px){
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
        grid-template-columns:52px minmax(0,1fr) !important;
        column-gap:7px !important;
        padding-left:8px !important;
        padding-right:8px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
        font-size:14px !important;
        padding-left:10px !important;
    }
}


/* v5.11.47 mobile audio controls: tighter inline toggle/select layout and visible selected text. */
/* v5.11.48 visually polishes the mobile toggle/select cards with absolute compact rows to avoid iOS details-grid quirks. */
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:grid !important;
    grid-template-columns:58px minmax(0,1fr) !important;
    grid-template-rows:auto 42px !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:7px !important;
    min-height:0 !important;
    height:auto !important;
    padding:11px 12px 12px !important;
    margin:0 0 10px !important;
    border-radius:24px !important;
    border:1px solid rgba(154,169,199,.42) !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 10px 22px rgba(18,27,55,.07) !important;
    overflow:hidden !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action{
    display:none !important;
    width:0 !important;
    height:0 !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    overflow:hidden !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
    display:block !important;
    padding:0 !important;
    margin:0 !important;
    font-size:15px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:.01em !important;
    color:#12213a !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before{ content:"Soundscape" !important; }
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before{ content:"Guiding sounds" !important; }
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    grid-column:1 !important;
    grid-row:2 !important;
    width:58px !important;
    min-width:58px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    box-shadow:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state{
    display:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    width:52px !important;
    height:30px !important;
    min-width:52px !important;
    padding:3px !important;
    border-radius:999px !important;
    background:#e8eef8 !important;
    border:1px solid #c9d5e9 !important;
    box-shadow:inset 0 1px 4px rgba(18,27,55,.12) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
    width:22px !important;
    height:22px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:#6aa892 !important;
    border-color:#5b9e87 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    transform:translateX(22px) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    grid-column:2 !important;
    grid-row:2 !important;
    align-self:center !important;
    width:100% !important;
    min-width:0 !important;
    height:42px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    display:block !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status{
    display:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:42px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    padding:7px 32px 7px 12px !important;
    border:1px solid rgba(197,208,230,.95) !important;
    border-radius:18px !important;
    background-color:#fff !important;
    color:#12213a !important;
    -webkit-text-fill-color:#12213a !important;
    opacity:1 !important;
    font-size:15px !important;
    line-height:normal !important;
    font-weight:850 !important;
    text-align:left !important;
    text-indent:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    appearance:auto !important;
    -webkit-appearance:menulist !important;
    box-shadow:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option{
    color:#12213a !important;
    -webkit-text-fill-color:#12213a !important;
    background:#fff !important;
}
@media (max-width:420px){
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
        grid-template-columns:56px minmax(0,1fr) !important;
        column-gap:8px !important;
        padding:10px 10px 11px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
        font-size:14px !important;
        padding-left:10px !important;
        padding-right:28px !important;
    }
}


/* v5.11.48 mobile audio controls: polished compact cards with stable absolute toggle/select row.
   Visual-only CSS patch: keeps the existing mobile select/audio/button framework intact. */
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-tabs,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-tabs{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    width:100% !important;
    margin:12px 0 14px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
    display:block !important;
    position:relative !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    height:92px !important;
    min-height:92px !important;
    max-height:92px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid rgba(154,169,199,.42) !important;
    border-radius:24px !important;
    background:rgba(255,255,255,.97) !important;
    box-shadow:0 10px 24px rgba(18,27,55,.07) !important;
    overflow:visible !important;
    flex:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo > summary.emdrtool-ios-dropdown-action{
    display:none !important;
    position:absolute !important;
    width:0 !important;
    height:0 !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    opacity:0 !important;
    pointer-events:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo::before{
    position:absolute !important;
    top:13px !important;
    left:16px !important;
    right:16px !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    font-size:16px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:.01em !important;
    color:#12213a !important;
    z-index:1 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="bg"]::before{
    content:"Soundscape" !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo[data-ios-sound-details="gd"]::before{
    content:"Guiding sounds" !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    position:absolute !important;
    left:16px !important;
    top:43px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    box-shadow:none !important;
    z-index:2 !important;
    -webkit-tap-highlight-color:transparent !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-copy,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-state{
    display:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    display:block !important;
    position:relative !important;
    box-sizing:border-box !important;
    width:64px !important;
    min-width:64px !important;
    height:34px !important;
    min-height:34px !important;
    padding:3px !important;
    border-radius:999px !important;
    background:#e7edf8 !important;
    border:1px solid #c8d4e7 !important;
    box-shadow:inset 0 1px 4px rgba(18,27,55,.12), 0 2px 6px rgba(18,27,55,.08) !important;
    transition:background .16s ease, border-color .16s ease !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
    display:block !important;
    width:26px !important;
    height:26px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 2px 8px rgba(18,27,55,.20) !important;
    transform:translateX(0) !important;
    transition:transform .16s ease !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:#6aa892 !important;
    border-color:#5b9e87 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    transform:translateX(30px) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    position:absolute !important;
    left:92px !important;
    right:16px !important;
    top:40px !important;
    bottom:auto !important;
    display:block !important;
    box-sizing:border-box !important;
    width:auto !important;
    min-width:0 !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    z-index:2 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sounds-titlebar,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-heading,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-note,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-status{
    display:none !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls{
    display:block !important;
    position:relative !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls::after,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls::after,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls::after{
    content:"⌄" !important;
    position:absolute !important;
    right:13px !important;
    top:50% !important;
    transform:translateY(-52%) !important;
    color:#53617a !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:900 !important;
    pointer-events:none !important;
    z-index:3 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding:0 38px 0 14px !important;
    border:1px solid rgba(197,208,230,.95) !important;
    border-radius:999px !important;
    background:#fff !important;
    background-image:none !important;
    color:#12213a !important;
    -webkit-text-fill-color:#12213a !important;
    opacity:1 !important;
    font-family:inherit !important;
    font-size:15px !important;
    line-height:42px !important;
    font-weight:850 !important;
    text-align:left !important;
    text-indent:0 !important;
    direction:ltr !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    appearance:none !important;
    -webkit-appearance:none !important;
    box-shadow:0 3px 10px rgba(18,27,55,.04) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select:focus,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select:focus,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select:focus{
    outline:2px solid rgba(75,103,255,.22) !important;
    outline-offset:2px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select option{
    color:#12213a !important;
    -webkit-text-fill-color:#12213a !important;
    background:#fff !important;
}
@media (max-width:380px){
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-disclosure.emdrtool-ios-audio-combo{
        height:90px !important;
        min-height:90px !important;
        max-height:90px !important;
        border-radius:22px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
        left:14px !important;
        width:58px !important;
        min-width:58px !important;
        max-width:58px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
        width:58px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
        transform:translateX(24px) !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
        left:84px !important;
        right:14px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel .emdrtool-ios-sound-controls select{
        font-size:14px !important;
        padding-left:12px !important;
        padding-right:34px !important;
    }
}

.emdrtool-step-0 .emdrtool-progress,
.emdrtool-step-0 .emdrtool-session-toolbar{
    display:none !important;
}
.emdrtool-step-0 .emdrtool-panel{
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
}
.emdrtool-step-0 .emdrtool-header{
    margin-bottom:14px;
}
.emdrtool-step-0 .emdrtool-header h2{
    max-width:820px;
}
.emdrtool-step-0 .emdrtool-shell{
    max-width:1240px;
}
.emdrtool-intro-hero{
    display:grid;
    gap:14px;
}
.emdrtool-intro-top{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
    gap:14px;
    align-items:stretch;
}
.emdrtool-intro-card,
.emdrtool-intro-action-card{
    border:1px solid rgba(119,137,182,.18);
    background:rgba(255,255,255,.78);
    border-radius:24px;
    padding:18px;
    box-shadow:0 14px 34px rgba(18,27,55,.06);
}
.emdrtool-intro-action-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:250px;
    background:linear-gradient(135deg, rgba(255,255,255,.94), var(--emdr-track-soft));
}
.emdrtool-intro-eyebrow{
    display:inline-flex;
    align-items:center;
    width:max-content;
    border-radius:999px;
    padding:6px 10px;
    background:rgba(75,103,255,.10);
    color:var(--emdr-primary-dark);
    font-size:12px;
    line-height:1;
    font-weight:900;
    letter-spacing:.02em;
}
.emdrtool-intro-card h3,
.emdrtool-intro-card h4,
.emdrtool-intro-action-card h3{
    margin:10px 0 8px;
}
.emdrtool-intro-action-card h3{
    font-size:clamp(27px,3.2vw,42px);
    line-height:1.05;
    letter-spacing:-.03em;
}
.emdrtool-intro-lead{
    margin:0;
    color:var(--emdr-muted);
    font-size:16px;
    line-height:1.55;
    max-width:64ch;
}
.emdrtool-intro-main-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:18px;
}
.emdrtool-intro-main-actions .emdrtool-btn{
    min-height:52px;
    padding-left:22px;
    padding-right:22px;
}

/* Keep the intro CTA visibly primary even when a theme/global button style is loaded after the base rules. */
.emdrtool-wrap .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary,
.emdrtool-wrap .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary{
    background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff)) !important;
    color:#fff !important;
    border-color:transparent !important;
    box-shadow:0 12px 24px rgba(75,103,255,.24) !important;
}
.emdrtool-wrap .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:focus-visible,
.emdrtool-wrap .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:focus-visible{
    background:linear-gradient(90deg,var(--emdr-primary-dark),#63a8ff) !important;
    color:#fff !important;
}
.emdrtool-intro-microcopy{
    margin:8px 0 0;
    color:var(--emdr-muted);
    font-size:13px;
    line-height:1.4;
}
.emdrtool-intro-quick{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.emdrtool-intro-chip{
    border:1px solid rgba(119,137,182,.16);
    background:rgba(255,255,255,.72);
    border-radius:18px;
    padding:12px;
    min-height:86px;
}
.emdrtool-intro-chip b{
    display:block;
    margin:0 0 9px;
    color:var(--emdr-ink);
    font-size:clamp(15px,1.05vw,17px);
    line-height:1.25;
    font-weight:900;
    letter-spacing:0;
}
.emdrtool-intro-chip span{
    display:block;
    color:var(--emdr-muted);
    font-size:14px;
    line-height:1.5;
}
.emdrtool-intro-checklist{
    list-style:none;
    margin:12px 0 0;
    padding:0;
    display:grid;
    gap:9px;
}
.emdrtool-intro-checklist li{
    position:relative;
    padding-left:28px;
    color:var(--emdr-muted);
    font-size:14px;
    line-height:1.5;
}
.emdrtool-intro-checklist li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:1px;
    width:19px;
    height:19px;
    border-radius:999px;
    background:var(--emdr-track-soft);
    color:var(--emdr-primary-dark);
    font-size:12px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
}
.emdrtool-intro-safety-inline{
    margin-top:12px;
    padding:12px 14px;
    border-radius:18px;
    border:1px solid rgba(214,107,107,.20);
    background:rgba(214,107,107,.08);
    color:var(--emdr-ink);
    font-size:14px;
    line-height:1.48;
}
.emdrtool-intro-accordion{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.emdrtool-intro-detail{
    border:1px solid rgba(119,137,182,.18);
    background:rgba(255,255,255,.74);
    border-radius:20px;
    padding:15px 16px 16px;
    overflow:hidden;
}
.emdrtool-intro-detail h4{
    margin:0 0 9px;
    font-weight:900;
    color:var(--emdr-ink);
    font-size:15px;
    line-height:1.25;
}
.emdrtool-intro-detail ul{
    margin:0;
    padding:0 0 0 19px;
    color:var(--emdr-muted);
    font-size:14px;
    line-height:1.5;
}
.emdrtool-intro-detail li{margin:6px 0; font-size:14px; line-height:1.5;}
.emdrtool-intro-card h4,
.emdrtool-intro-chip b,
.emdrtool-intro-chip h4,
.emdrtool-intro-detail h4{
    font-size:clamp(15px,1.05vw,17px);
    line-height:1.25;
    font-weight:900;
    letter-spacing:0;
    color:var(--emdr-ink);
}
.emdrtool-step-guidance{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:14px 0 4px;
}
.emdrtool-step-note{
    border:1px solid rgba(119,137,182,.16);
    background:rgba(255,255,255,.68);
    border-radius:18px;
    padding:12px 14px;
    color:var(--emdr-muted);
    font-size:14px;
    line-height:1.45;
}
.emdrtool-step-note b{
    display:block;
    color:var(--emdr-ink);
    margin-bottom:3px;
}
.emdrtool-example-box{
    margin:12px 0 4px;
    border:1px solid rgba(75,103,255,.10);
    background:rgba(75,103,255,.045);
    border-radius:22px;
    padding:16px;
    box-shadow:0 12px 30px rgba(31,49,104,.045);
}
.emdrtool-example-box-label{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 10px 2px;
    color:var(--emdr-muted);
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.emdrtool-example-box-label::before{
    content:none;
    display:none;
}
.emdrtool-example-chips{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
}
.emdrtool-example-chips span{
    border:1px solid rgba(75,103,255,.13);
    background:rgba(255,255,255,.86);
    color:var(--emdr-primary-dark);
    border-radius:999px;
    padding:6px 10px;
    box-shadow:0 4px 12px rgba(31,49,104,.035);
    font-size:12px;
    font-weight:800;
}
@supports (background:color-mix(in srgb, #fff 90%, #000)){
    .emdrtool-example-box{
        border-color:color-mix(in srgb, var(--emdr-primary) 14%, #fff);
        background:color-mix(in srgb, var(--emdr-primary) 4.5%, #fff);
    }
    .emdrtool-example-chips span{
        border-color:color-mix(in srgb, var(--emdr-primary) 16%, transparent);
    }
}
@media (max-width:720px){
    .emdrtool-step-guidance{grid-template-columns:1fr;}
}
.emdrtool-intro-bottom-actions{
    display:none;
}
.emdrtool-settings-speed-control{
    grid-column:1 / -1;
    width:100%;
}
.emdrtool-settings-speed-control .emdrtool-orb-speed-control{
    width:100%;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
}
.emdrtool-settings-speed-control .emdrtool-orb-speed-label{
    display:none;
}
.emdrtool-settings-speed-control .emdrtool-orb-speed-value{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:900;
    color:var(--emdr-primary-dark);
    background:rgba(75,103,255,.09);
    border-radius:999px;
    padding:4px 8px;
    min-width:78px;
}
@media (max-width:980px){
    .emdrtool-intro-top{grid-template-columns:1fr;}
    .emdrtool-intro-action-card{min-height:auto;}
}
@media (max-width:760px){
    .emdrtool-intro-quick{grid-template-columns:1fr;}
    .emdrtool-intro-accordion{grid-template-columns:1fr;}
    .emdrtool-intro-card,.emdrtool-intro-action-card{padding:16px;border-radius:20px;}
    .emdrtool-intro-main-actions .emdrtool-btn{width:100%;justify-content:center;}
    .emdrtool-intro-microcopy{text-align:center;}
}
@media (min-width:981px){
    .emdrtool-intro-bottom-actions{display:none !important;}
}

.emdrtool-settings-disclosure{position:relative;width:auto;margin:0;flex:0 0 auto;}
.emdrtool-settings-disclosure > summary{list-style:none;}
.emdrtool-settings-disclosure > summary::-webkit-details-marker{display:none;}
.emdrtool-settings-toggle{width:52px;min-width:52px;height:52px;min-height:52px;padding:0 !important;border-radius:9999px !important;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1;}
.emdrtool-settings-disclosure[open] > .emdrtool-settings-toggle{border-color:rgba(75,103,255,.46);background:rgba(255,255,255,.98);box-shadow:0 12px 28px rgba(18,27,55,.10),0 0 0 3px rgba(75,103,255,.08);}
.emdrtool-settings-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(360px, calc(100vw - 40px));padding:16px;border:1px solid var(--emdr-line);border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 18px 42px rgba(17,28,58,.16);z-index:34;}
.emdrtool-settings-title{font-size:12px;letter-spacing:.10em;text-transform:uppercase;color:var(--emdr-primary-dark);font-weight:900;margin-bottom:12px;}
.emdrtool-settings-row{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:10px 0;border-top:1px solid rgba(119,137,182,.18);}
.emdrtool-settings-row:first-of-type{border-top:0;padding-top:0;}
.emdrtool-settings-row label,.emdrtool-settings-label{font-size:13px;font-weight:800;color:var(--emdr-ink);}
.emdrtool-settings-row input[type="range"]{grid-column:1 / -1;width:100%;accent-color:var(--emdr-primary);-webkit-appearance:none;appearance:none;background:transparent;min-height:32px;}
.emdrtool-settings-row input[type="range"]::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:linear-gradient(90deg,var(--emdr-primary) 0 var(--emdr-range-fill,100%),var(--emdr-slider-rest,rgba(109,121,146,.24)) var(--emdr-range-fill,100%) 100%);}
.emdrtool-settings-row input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;margin-top:-8px;border-radius:999px;border:3px solid #fff;background:var(--emdr-primary);box-shadow:0 4px 12px rgba(31,49,104,.22);}
.emdrtool-settings-row input[type="range"]::-moz-range-track{height:8px;border-radius:999px;background:var(--emdr-slider-rest,rgba(109,121,146,.24));}
.emdrtool-settings-row input[type="range"]::-moz-range-progress{height:8px;border-radius:999px;background:var(--emdr-primary);}
.emdrtool-settings-row input[type="range"]::-moz-range-thumb{width:22px;height:22px;border-radius:999px;border:3px solid #fff;background:var(--emdr-primary);box-shadow:0 4px 12px rgba(31,49,104,.22);}
.emdrtool-settings-value{font-size:12px;font-weight:900;color:var(--emdr-primary-dark);background:rgba(75,103,255,.09);border-radius:999px;padding:4px 8px;min-width:48px;text-align:center;}
.emdrtool-settings-switch-row{grid-template-columns:1fr auto;}
.emdrtool-settings-switch-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.emdrtool-settings-switch-label input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none;}
.emdrtool-settings-switch{width:44px;height:26px;border-radius:999px;border:1px solid #cfd8ea;background:#edf2fb;position:relative;display:inline-block;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;}
.emdrtool-settings-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 2px 7px rgba(18,27,55,.20);transition:transform .18s ease;}
.emdrtool-settings-switch-label input:checked + .emdrtool-settings-switch{background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff));border-color:transparent;box-shadow:0 6px 12px rgba(75,103,255,.24) inset;}
.emdrtool-settings-switch-label input:checked + .emdrtool-settings-switch::after{transform:translateX(18px);}
.emdrtool-settings-switch-label input:focus-visible + .emdrtool-settings-switch{outline:2px solid rgba(75,103,255,.35);outline-offset:3px;}
.emdrtool-settings-select{grid-column:1 / -1;width:100%;min-height:42px;border:1px solid var(--emdr-line);border-radius:14px;background:#fff;padding:0 12px;font-weight:800;color:var(--emdr-ink);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"]{--emdr-bg-1:#F7F3EC;--emdr-bg-2:#ECE6DA;--emdr-bg-3:#FBF8F1;--emdr-ink:#24312F;--emdr-muted:#65716D;--emdr-primary:#5A9097;--emdr-primary-dark:#3F7076;--emdr-line:#DED5C8;--emdr-track-soft:rgba(120,166,162,.26);--emdr-progress-accent:#98BDB5;--emdr-slider-rest:rgba(36,49,47,.18);--emdr-shadow:0 18px 40px rgba(36,49,47,.12);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-track{background:linear-gradient(90deg, rgba(90,144,151,.18), rgba(120,166,162,.90), rgba(90,144,151,.18));box-shadow:0 0 0 1px rgba(90,144,151,.05);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-stage{background:linear-gradient(180deg,rgba(254,252,249,.98),rgba(249,246,241,.96));border-color:rgba(214,206,193,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.78);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-orb{background:radial-gradient(circle at 32% 28%,#ffffff 0%,#EEF6F3 30%,#B7D6D0 56%,#72AAA9 78%,#3F7076 100%);box-shadow:0 0 0 12px rgba(114,170,169,.14),0 18px 34px rgba(63,112,118,.28);} 
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-kicker,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-eyebrow{background:rgba(143,174,155,.18);color:#456F75;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-primary,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary{background:linear-gradient(90deg,#5F8E95,#6EA0A5) !important;box-shadow:0 12px 24px rgba(95,142,149,.24) !important;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-primary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:focus-visible{background:linear-gradient(90deg,#456F75,#6EA0A5) !important;box-shadow:0 14px 28px rgba(69,111,117,.22),0 0 0 3px rgba(200,169,135,.16) !important;color:#fff !important;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-secondary:hover,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-secondary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-ghost:hover,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-btn-ghost:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-settings-disclosure[open] > .emdrtool-settings-toggle{border-color:rgba(200,169,135,.46) !important;background:rgba(255,252,247,.96) !important;box-shadow:0 12px 28px rgba(36,49,47,.10),0 0 0 3px rgba(143,174,155,.16) !important;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-settings-value,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-orb-speed-value,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-settings-speed-control .emdrtool-orb-speed-value{background:rgba(143,174,155,.16);color:#456F75;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-native-audio.is-on{border-color:rgba(90,144,151,.42);box-shadow:0 10px 24px rgba(90,144,151,.14);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-native-audio.is-on .emdrtool-switch,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-settings-switch-label input:checked + .emdrtool-settings-switch{background:linear-gradient(90deg,#5A9097,#98BDB5);border-color:transparent;box-shadow:0 6px 12px rgba(90,144,151,.24) inset;}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-progress span{background:rgba(143,174,155,.18);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-progress span.is-active,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-progress span.is-done{background:linear-gradient(90deg,#5A9097,#98BDB5);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-card,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-action-card,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-chip,
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-detail{border-color:rgba(200,169,135,.28);background:rgba(255,252,247,.74);}
.emdrtool-wrap[data-emdr-color-scheme="grounded-calm"] .emdrtool-intro-action-card{background:linear-gradient(135deg,rgba(255,253,249,.99) 0%,rgba(252,247,239,.97) 52%,rgba(237,226,211,.50) 100%);}
.emdrtool-wrap[data-emdr-color-scheme="calm-blue"]{--emdr-bg-1:#f7f9ff;--emdr-bg-2:#eef7ff;--emdr-bg-3:#f5fbff;--emdr-primary:#4b67ff;--emdr-primary-dark:#364fda;--emdr-line:#d9e3f2;--emdr-track-soft:rgba(75,103,255,.18);--emdr-progress-accent:#72b4ff;}
.emdrtool-wrap[data-emdr-color-scheme="calm-blue"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#9fd8ff 35%,#5b7cff 70%,#3d4ed1 100%);box-shadow:0 0 0 10px rgba(91,124,255,.09),0 18px 28px rgba(52,75,176,.28);}
.emdrtool-wrap[data-emdr-color-scheme="ocean"]{--emdr-bg-1:#f3fbff;--emdr-bg-2:#e6f7fb;--emdr-bg-3:#f5fdff;--emdr-primary:#13a8bd;--emdr-primary-dark:#087987;--emdr-line:#cbe9ef;--emdr-track-soft:rgba(19,168,189,.18);--emdr-progress-accent:#82d9da;}
.emdrtool-wrap[data-emdr-color-scheme="ocean"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#b7f4f7 36%,#25b8c7 72%,#087987 100%);box-shadow:0 0 0 10px rgba(19,168,189,.10),0 18px 28px rgba(8,121,135,.24);}
.emdrtool-wrap[data-emdr-color-scheme="lavender"]{--emdr-bg-1:#fbf8ff;--emdr-bg-2:#f1ecff;--emdr-bg-3:#fff8ff;--emdr-primary:#8b6cff;--emdr-primary-dark:#6a4de1;--emdr-line:#ded5f7;--emdr-track-soft:rgba(139,108,255,.18);--emdr-progress-accent:#c9b8ff;}
.emdrtool-wrap[data-emdr-color-scheme="lavender"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#dacdff 35%,#8b6cff 70%,#6042cd 100%);box-shadow:0 0 0 10px rgba(139,108,255,.10),0 18px 28px rgba(96,66,205,.24);}
.emdrtool-wrap[data-emdr-color-scheme="forest"]{--emdr-bg-1:#f6faf6;--emdr-bg-2:#e9f2e8;--emdr-bg-3:#fbfcf8;--emdr-primary:#3d785e;--emdr-primary-dark:#2f6b52;--emdr-line:#d5e2d1;--emdr-track-soft:rgba(61,120,94,.17);--emdr-progress-accent:#9ab982;--emdr-slider-rest:rgba(47,107,82,.20);}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-orb{background:radial-gradient(circle at 30% 28%,#fff,#edf4e3 30%,#bfd2a3 48%,#74a676 70%,#2f6b52 100%);box-shadow:0 0 0 10px rgba(154,185,130,.16),0 18px 30px rgba(47,107,82,.26),inset 0 2px 5px rgba(255,255,255,.58);}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-stage{background:linear-gradient(180deg,rgba(253,255,250,.98),rgba(239,247,236,.95));border-color:rgba(154,185,130,.42);}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-track{background:linear-gradient(90deg,rgba(61,120,94,.12),rgba(154,185,130,.58) 20%,#4e8f70 50%,rgba(154,185,130,.58) 80%,rgba(61,120,94,.12)) !important;box-shadow:0 0 0 1px rgba(47,107,82,.06),0 8px 22px rgba(47,107,82,.12);}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-primary,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary{background:linear-gradient(90deg,#3d785e,#587f4a) !important;box-shadow:0 12px 24px rgba(47,107,82,.23) !important;color:#fff !important;}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-primary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-main-actions .emdrtool-btn.emdrtool-btn-primary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-intro-action-card .emdrtool-btn.emdrtool-btn-primary:focus-visible{background:linear-gradient(90deg,#2f6b52,#4d7442) !important;box-shadow:0 14px 28px rgba(47,107,82,.24),0 0 0 3px rgba(154,185,130,.18) !important;color:#fff !important;}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-secondary:hover,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-secondary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-ghost:hover,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-btn-ghost:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-settings-disclosure[open] > .emdrtool-settings-toggle{border-color:rgba(154,185,130,.48) !important;background:rgba(250,253,247,.96) !important;box-shadow:0 12px 28px rgba(47,107,82,.10),0 0 0 3px rgba(154,185,130,.16) !important;}
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-settings-value,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-orb-speed-value,
.emdrtool-wrap[data-emdr-color-scheme="forest"] .emdrtool-settings-speed-control .emdrtool-orb-speed-value{background:rgba(154,185,130,.18);color:#2f6b52;}
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"]{--emdr-bg-1:#fff9f4;--emdr-bg-2:#fceee6;--emdr-bg-3:#fff6ef;--emdr-primary:#d88b6a;--emdr-primary-dark:#a95f45;--emdr-line:#ecd6ca;--emdr-track-soft:rgba(216,139,106,.18);--emdr-progress-accent:#f0b07f;}
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#f8d8c7 38%,#dd9474 72%,#a95f45 100%);box-shadow:0 0 0 10px rgba(216,139,106,.10),0 18px 28px rgba(169,95,69,.20);}
.emdrtool-wrap[data-emdr-color-scheme="sage"]{--emdr-bg-1:#f8faf5;--emdr-bg-2:#eef4e9;--emdr-bg-3:#fbfcf7;--emdr-primary:#7d9a6f;--emdr-primary-dark:#58724d;--emdr-line:#dce6d4;--emdr-track-soft:rgba(125,154,111,.18);--emdr-progress-accent:#bfd0a2;}
.emdrtool-wrap[data-emdr-color-scheme="sage"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#dce8cc 38%,#8fac7f 72%,#58724d 100%);box-shadow:0 0 0 10px rgba(125,154,111,.10),0 18px 28px rgba(88,114,77,.21);}
.emdrtool-wrap[data-emdr-color-scheme="aqua-mint"]{--emdr-bg-1:#f4fffb;--emdr-bg-2:#e7f8f4;--emdr-bg-3:#f7fffd;--emdr-primary:#2db8a3;--emdr-primary-dark:#157f72;--emdr-line:#cce9e1;--emdr-track-soft:rgba(45,184,163,.18);--emdr-progress-accent:#98e0d0;}
.emdrtool-wrap[data-emdr-color-scheme="aqua-mint"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#c5f5e8 38%,#38c4ad 72%,#157f72 100%);box-shadow:0 0 0 10px rgba(45,184,163,.10),0 18px 28px rgba(21,127,114,.22);}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"]{--emdr-bg-1:#fff8fb;--emdr-bg-2:#f8edf3;--emdr-bg-3:#fff9fc;--emdr-primary:#c97aa4;--emdr-primary-dark:#985376;--emdr-line:#ead3df;--emdr-track-soft:rgba(201,122,164,.18);--emdr-progress-accent:#ecc1d5;}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#f2cddd 38%,#cf83ab 72%,#985376 100%);box-shadow:0 0 0 10px rgba(201,122,164,.10),0 18px 28px rgba(152,83,118,.20);}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-native-audio.is-on{border-color:rgba(201,122,164,.34);box-shadow:0 10px 24px rgba(201,122,164,.13);}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-native-audio.is-on .emdrtool-switch{background:linear-gradient(90deg,#f4d7e5,#fff8fb);border-color:rgba(201,122,164,.25);box-shadow:0 6px 12px rgba(201,122,164,.14) inset;}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-option-item.is-selected{border-color:rgba(201,122,164,.30);background:#fff4f9;color:#985376;}
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-orb-speed-value,
.emdrtool-wrap[data-emdr-color-scheme="rose-quartz"] .emdrtool-settings-speed-control .emdrtool-orb-speed-value{background:#fff1f7;color:#985376;}
.emdrtool-wrap[data-emdr-color-scheme="golden-sand"]{--emdr-bg-1:#fffaf0;--emdr-bg-2:#f7ecd8;--emdr-bg-3:#fffdf6;--emdr-primary:#c49a4c;--emdr-primary-dark:#8a6a2f;--emdr-line:#e7d9bd;--emdr-track-soft:rgba(196,154,76,.18);--emdr-progress-accent:#ead09a;}
.emdrtool-wrap[data-emdr-color-scheme="golden-sand"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#f0ddb3 38%,#caa45d 72%,#8a6a2f 100%);box-shadow:0 0 0 10px rgba(196,154,76,.10),0 18px 28px rgba(138,106,47,.20);}
.emdrtool-wrap[data-emdr-color-scheme="moonlight"]{--emdr-bg-1:#f7f8fc;--emdr-bg-2:#eceff8;--emdr-bg-3:#fbfcff;--emdr-primary:#6475aa;--emdr-primary-dark:#46537f;--emdr-line:#d8deee;--emdr-track-soft:rgba(100,117,170,.18);--emdr-progress-accent:#b7c0de;}
.emdrtool-wrap[data-emdr-color-scheme="moonlight"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#d4ddf7 38%,#7080b8 72%,#46537f 100%);box-shadow:0 0 0 10px rgba(100,117,170,.10),0 18px 28px rgba(70,83,127,.22);}
.emdrtool-wrap[data-emdr-color-scheme="soft-rose-sunset"]{--emdr-bg-1:#fff8f5;--emdr-bg-2:#faebe7;--emdr-bg-3:#fffaf7;--emdr-primary:#d27a7a;--emdr-primary-dark:#9f4e53;--emdr-line:#edd2ce;--emdr-track-soft:rgba(210,122,122,.18);--emdr-progress-accent:#efb8a8;}
.emdrtool-wrap[data-emdr-color-scheme="soft-rose-sunset"] .emdrtool-orb{background:radial-gradient(circle at 30% 30%,#fff,#f3cdca 38%,#d88482 72%,#9f4e53 100%);box-shadow:0 0 0 10px rgba(210,122,122,.10),0 18px 28px rgba(159,78,83,.20);}
.emdrtool-wrap[data-emdr-color-scheme] .emdrtool-track{background:linear-gradient(90deg,var(--emdr-track-soft),var(--emdr-primary),var(--emdr-track-soft));}

/* Warm Sunset: keep interactive hover/focus accents in the warm yellow-gold family instead of the default blue. */
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-primary:hover,
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-primary:focus-visible{
    background:linear-gradient(90deg,#c77735,#f2c45f) !important;
    box-shadow:0 14px 28px rgba(199,119,53,.24) !important;
    color:#fff !important;
}
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-secondary:hover,
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-secondary:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-ghost:hover,
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-btn-ghost:focus-visible,
.emdrtool-wrap[data-emdr-color-scheme="warm-sunset"] .emdrtool-settings-disclosure[open] > .emdrtool-settings-toggle{
    border-color:rgba(216,139,106,.42) !important;
    background:rgba(255,250,240,.96) !important;
    box-shadow:0 12px 28px rgba(169,95,69,.12),0 0 0 3px rgba(242,196,95,.16) !important;
}
.emdrtool-wrap.is-fullscreen[data-emdr-color-scheme="warm-sunset"] .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close:hover,
.emdrtool-wrap.is-fullscreen[data-emdr-color-scheme="warm-sunset"] .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close:focus-visible{
    border-color:rgba(216,139,106,.48) !important;
    box-shadow:0 14px 34px rgba(169,95,69,.18),0 0 0 4px rgba(242,196,95,.18) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-session-toolbar > .emdrtool-settings-disclosure{display:none !important;}


/* v5.11.432 UI cleanup: release version footnote, hidden step-4 progress, minimal centered settings icon. */
.emdrtool-version-footnote{
    position:relative;
    z-index:1;
    margin-top:8px;
    text-align:right;
    font-size:11px;
    line-height:1.35;
    color:var(--emdr-muted);
    opacity:.56;
}
.emdrtool-wrap.is-fullscreen .emdrtool-version-footnote{display:none !important;}
.emdrtool-wrap.emdrtool-step-4 .emdrtool-level-progress{display:none !important;}
.emdrtool-settings-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    flex:0 0 22px !important;
    line-height:0 !important;
    margin:0 auto !important;
    color:currentColor !important;
}
.emdrtool-settings-icon-svg{
    display:block !important;
    width:20px !important;
    height:20px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.75 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
}
.emdrtool-settings-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
    align-items:center !important;
    justify-content:center !important;
}

/* v5.11.49 UI-only: in iOS fallback audio mode, hide volume sliders that Safari ignores. */
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure [data-emdr-audio-volume-row]{display:none !important;}
/* v5.11.50 adds SUD check-ins and timed sets without changing the audio framework. */
/* v5.11.51 requires a manual starting SUD rating, adds summary edits, and adds 30-minute check-ins. */
/* v5.11.52 restores the summary SUD slider without a submitted default, softens summary edit UI, and matches read-only text boxes to their cards. */
/* v5.11.53 adds SUD intensity labels, larger slider tap targets, hidden summary textarea resize handles, and reordered session buttons. */
/* v5.11.55 tightens the SUD check-in page: the before-set rating now sits with the current disturbance control, and next-set timing sits beside the continue action. */
/* v5.11.56 lets the Step 5 check-in choose the next set length directly from the continue action. */
/* v5.11.57 refines the Step 5 decision area with clearer visual hierarchy and grouped timing controls. */
/* v5.11.59 keeps the calmer nested next-set container while restoring the original rounded select/continue controls and bottom-aligning actions. */
@media (hover:hover) and (pointer:fine){.emdrtool-session-toolbar{gap:10px !important;align-items:center !important;flex-wrap:nowrap !important;}.emdrtool-session-group .emdrtool-native-audio{min-width:176px !important;max-width:176px !important;height:50px !important;}.emdrtool-session-group [data-audio-guiding-wrap]{min-width:198px !important;max-width:198px !important;}.emdrtool-orb-speed-toggle{min-width:156px !important;max-width:156px !important;height:50px !important;padding-left:16px !important;padding-right:12px !important;gap:10px !important;justify-content:center !important;border-radius:999px !important;}.emdrtool-orb-speed-summary{min-width:78px !important;padding:5px 10px !important;font-size:12px !important;}.emdrtool-settings-toggle{width:50px !important;min-width:50px !important;height:50px !important;min-height:50px !important;}}
@media (hover:hover) and (pointer:fine) and (max-width:860px){.emdrtool-session-toolbar{gap:6px !important;}.emdrtool-session-toolbar > .emdrtool-btn-ghost{min-width:116px !important;padding-left:10px !important;padding-right:10px !important;}.emdrtool-session-group .emdrtool-native-audio{min-width:164px !important;max-width:164px !important;}.emdrtool-session-group [data-audio-guiding-wrap]{min-width:184px !important;max-width:184px !important;}.emdrtool-orb-speed-toggle{min-width:148px !important;max-width:148px !important;padding-left:12px !important;padding-right:8px !important;gap:7px !important;}.emdrtool-settings-toggle{width:46px !important;min-width:46px !important;height:46px !important;min-height:46px !important;}}
@media (max-width:720px), (hover:none) and (pointer:coarse){.emdrtool-settings-disclosure{width:100%;}.emdrtool-settings-toggle{width:100%;min-width:0;justify-content:center;gap:8px;padding:0 16px !important;}.emdrtool-settings-panel{position:relative;top:auto;right:auto;width:100%;max-width:100%;margin-top:10px;}.emdrtool-ios-settings-disclosure{flex:1 1 100%;}.emdrtool-ios-settings-disclosure .emdrtool-settings-toggle{min-height:52px;height:52px;}}


/* v5.11.11 accessible fullscreen close control: one shell-level close button. */
.emdrtool-fullscreen-toggle{
    white-space:nowrap;
}
.emdrtool-fullscreen-shell-close{
    display:none !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-topbar{
    position:static !important;
    top:auto !important;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-topbar .emdrtool-fullscreen-toggle,
.emdrtool-wrap.is-fullscreen .emdrtool-session-toolbar > .emdrtool-fullscreen-toggle{
    display:none !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close{
    position:absolute !important;
    top:calc(clamp(14px, 1.8vw, 22px) + env(safe-area-inset-top, 0px)) !important;
    right:calc(clamp(14px, 1.8vw, 22px) + env(safe-area-inset-right, 0px)) !important;
    z-index:30 !important;
    width:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    height:48px !important;
    min-height:48px !important;
    max-height:48px !important;
    padding:0 !important;
    border-radius:999px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:30px !important;
    line-height:1 !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    color:var(--emdr-ink) !important;
    background:rgba(255,255,255,.94) !important;
    border:1px solid rgba(119,137,182,.28) !important;
    box-shadow:0 12px 30px rgba(7,16,38,.18), 0 0 0 1px rgba(255,255,255,.55) inset !important;
    -webkit-tap-highlight-color:transparent;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close:hover,
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close:focus-visible{
    background:rgba(255,255,255,.98) !important;
    border-color:rgba(75,103,255,.42) !important;
    box-shadow:0 14px 34px rgba(7,16,38,.22), 0 0 0 4px rgba(75,103,255,.12) !important;
    outline:none;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close{
    position:absolute !important;
    overflow:hidden !important;
    color:transparent !important;
    font-size:0 !important;
    line-height:0 !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close::before,
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close::after{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:18px !important;
    height:3px !important;
    border-radius:999px !important;
    background:rgba(29, 38, 59, .68) !important;
    transform-origin:center center !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close::before{
    transform:translate(-50%, -50%) rotate(45deg) !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close::after{
    transform:translate(-50%, -50%) rotate(-45deg) !important;
}
.emdrtool-wrap.is-fullscreen .emdrtool-header,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top{
    padding-right:clamp(58px, 6vw, 76px);
}
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close{
        top:calc(10px + env(safe-area-inset-top, 0px)) !important;
        right:calc(10px + env(safe-area-inset-right, 0px)) !important;
        width:50px !important;
        min-width:50px !important;
        max-width:50px !important;
        height:50px !important;
        min-height:50px !important;
        max-height:50px !important;
        font-size:31px !important;
    }
    .emdrtool-wrap.is-fullscreen .emdrtool-header,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top{
        padding-right:62px;
    }
}






/* v5.11.452: persistent desktop browser-fullscreen host.
   The plugin root is moved into a persistent fullscreen container. Step forms
   then target a same-origin iframe inside that container, so POST navigation
   between Steps 1-5 does not destroy browser fullscreen. */
.emdrtool-native-fullscreen-host{
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    border:0;
    padding:0;
    margin:0;
    overflow:hidden;
    background:#f7f3ec;
}
.emdrtool-native-fullscreen-host:fullscreen,
.emdrtool-native-fullscreen-host:-webkit-full-screen{
    width:100vw;
    height:100vh;
}
.emdrtool-native-fullscreen-frame{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    margin:0;
    padding:0;
    display:block;
    background:#f7f3ec;
    transition:opacity .12s ease;
}

/* v5.11.455: refine the desktop browser-fullscreen icon so the two diagonal
   arrows are visually separate, with a clear gap like the provided reference. */
/* v5.11.451: native browser fullscreen control and mobile close-button policy. */
.emdrtool-browser-fullscreen-toggle{
    display:none !important;
}

@media (hover:hover) and (pointer:fine){
    .emdrtool-wrap.is-fullscreen .emdrtool-browser-fullscreen-toggle:not([hidden]){
        position:absolute !important;
        top:calc(clamp(14px, 1.8vw, 22px) + env(safe-area-inset-top, 0px)) !important;
        right:calc(clamp(14px, 1.8vw, 22px) + env(safe-area-inset-right, 0px) + 58px) !important;
        z-index:30 !important;
        width:48px !important;
        min-width:48px !important;
        max-width:48px !important;
        height:48px !important;
        min-height:48px !important;
        max-height:48px !important;
        padding:0 !important;
        border-radius:999px !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        color:rgba(29,38,59,.68) !important;
        background:rgba(255,255,255,.94) !important;
        border:1px solid rgba(119,137,182,.28) !important;
        box-shadow:0 12px 30px rgba(7,16,38,.18),0 0 0 1px rgba(255,255,255,.55) inset !important;
        -webkit-tap-highlight-color:transparent;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-browser-fullscreen-toggle:not([hidden]):hover,
    .emdrtool-wrap.is-fullscreen .emdrtool-browser-fullscreen-toggle:not([hidden]):focus-visible{
        background:rgba(255,255,255,.98) !important;
        border-color:rgba(75,103,255,.42) !important;
        box-shadow:0 14px 34px rgba(7,16,38,.22),0 0 0 4px rgba(75,103,255,.12) !important;
        outline:none;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-browser-fullscreen-toggle svg{
        width:21px;
        height:21px;
        display:block;
    }

    .emdrtool-wrap.is-fullscreen:not(.emdrtool-native-fullscreen-active) .emdrtool-header,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen:not(.emdrtool-native-fullscreen-active) .emdrtool-session-top{
        padding-right:clamp(116px, 10vw, 134px);
    }
}

@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.is-fullscreen .emdrtool-fullscreen-shell-close.emdrtool-fullscreen-close,
    .emdrtool-wrap.is-fullscreen .emdrtool-browser-fullscreen-toggle{
        display:none !important;
    }

    .emdrtool-wrap.is-fullscreen .emdrtool-header,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top{
        padding-right:0 !important;
    }
}

/* v5.11.113 iOS fallback: lazy-start the permanent JS orb clock after layout so the orb moves immediately on page load. */
/* v5.11.89: keep the wider running-stage travel, but preserve full visible stage borders. */
.emdrtool-stage{
    --emdr-orb-edge:7%;
    --emdr-orb-size:64px;
    box-sizing:border-box;
}

/* v5.11.163: restore the mobile/iOS endpoint fix that was lost when rebuilding from v200.
   The old 48px travel box made the enlarged mobile orb overshoot the right edge.
   Use the normal mobile visual circle width (64px) so left and right travel are balanced. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
    .emdrtool-stage{
        --emdr-orb-travel-size:64px;
    }
}

.emdrtool-track{
    left:var(--emdr-orb-edge, 7%);
    right:var(--emdr-orb-edge, 7%);
}

.emdrtool-orb{
    left:var(--emdr-orb-edge, 7%);
    width:var(--emdr-orb-size, 64px);
    height:var(--emdr-orb-size, 64px);
    margin-top:calc(var(--emdr-orb-size, 64px) / -2);
}

.emdrtool-wrap.is-fullscreen .emdrtool-orb{
    --emdr-orb-size:84px;
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
    padding-left:clamp(10px, 1.2vw, 16px);
    padding-right:clamp(10px, 1.2vw, 16px);
}

.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
    --emdr-orb-edge:clamp(10px, 1.2vw, 18px);
    --emdr-orb-size:84px;
    width:100%;
    margin-left:0;
    margin-right:0;
}

@media (max-width:760px){
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
        padding-left:clamp(12px, 4vw, 18px);
        padding-right:clamp(12px, 4vw, 18px);
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        --emdr-orb-edge:clamp(10px, 4vw, 18px);
        margin-left:0;
        margin-right:0;
    }
}


/* v5.11.163: Android Material-style audio switches.
   Keep the existing mobile markup and behavior, but make Android's switch look like
   a modern Android toggle: lighter track, larger raised thumb, teal active thumb. */
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    display:block !important;
    position:relative !important;
    box-sizing:border-box !important;
    width:64px !important;
    min-width:64px !important;
    height:26px !important;
    min-height:26px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(121,132,145,.52) !important;
    box-shadow:none !important;
    overflow:visible !important;
    transition:background .18s cubic-bezier(.2,0,0,1), opacity .18s ease !important;
}
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
    display:block !important;
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    background:#ffffff !important;
    box-shadow:0 3px 8px rgba(0,0,0,.24), 0 1px 2px rgba(0,0,0,.14) !important;
    transform:translate(0, -50%) !important;
    transition:transform .18s cubic-bezier(.2,0,0,1), background .18s cubic-bezier(.2,0,0,1), box-shadow .18s ease !important;
}
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-track{
    background:rgba(128,203,196,.82) !important;
    border-color:transparent !important;
}
.emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
    background:#009688 !important;
    transform:translate(30px, -50%) !important;
    box-shadow:0 4px 9px rgba(0,0,0,.28), 0 1px 2px rgba(0,0,0,.18) !important;
}
@media (max-width:380px){
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
        width:58px !important;
        min-width:58px !important;
    }
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-knob{
        width:32px !important;
        height:32px !important;
    }
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch[aria-pressed="true"] .emdrtool-ios-switch-knob{
        transform:translate(26px, -50%) !important;
    }
}

@keyframes emdrtool-orbit{
    from{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(0,0,0) scale(.98);
    }
    to{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(var(--emdr-orb-travel-px, calc(86vw - var(--emdr-orb-travel-size, var(--emdr-orb-size, 64px)))),0,0) scale(1.03);
    }
}


/* v5.11.256: larger check-in title and narrow-desktop session responsiveness */
.emdrtool-step-5 .emdrtool-checkin-title{
    margin:0 0 10px;
    color:var(--emdr-ink);
    font-size:clamp(42px,4vw,62px);
    line-height:.98;
    letter-spacing:-.03em;
    font-weight:500;
    text-transform:none;
}

.emdrtool-step-4 .emdrtool-setup-page,
.emdrtool-step-4 .emdrtool-session-card,
.emdrtool-step-4 .emdrtool-session-toolbar,
.emdrtool-step-4 .emdrtool-stage{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}

.emdrtool-step-4 .emdrtool-session-card{
    overflow:hidden;
}

@media (max-width:760px){
    .emdrtool-step-4 .emdrtool-session-card{
        padding:16px;
        border-radius:24px;
        gap:14px;
    }
    .emdrtool-step-4 .emdrtool-session-top{
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }
    .emdrtool-step-4 .emdrtool-badge,
    .emdrtool-step-4 .emdrtool-timer-badge{
        width:max-content;
        max-width:100%;
        align-self:flex-start;
        white-space:normal;
    }
    .emdrtool-step-4 .emdrtool-session-toolbar{
        display:flex;
        flex-wrap:wrap;
        align-items:stretch;
        gap:10px;
        overflow:visible;
    }
    .emdrtool-step-4 .emdrtool-session-toolbar > .emdrtool-btn,
    .emdrtool-step-4 .emdrtool-session-group{
        flex:1 1 100%;
        min-width:0;
    }
    .emdrtool-step-4 .emdrtool-session-group{
        width:100%;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        gap:8px;
    }
    .emdrtool-step-4 .emdrtool-native-audio{
        min-width:0;
        width:100%;
    }
    .emdrtool-step-4 .emdrtool-btn-gear{
        min-width:48px;
        width:48px;
        padding-left:0;
        padding-right:0;
    }
    .emdrtool-step-4 .emdrtool-settings-disclosure{
        display:block;
        flex:0 0 auto;
        min-width:48px;
        order:20;
    }
    .emdrtool-step-4 .emdrtool-settings-toggle{
        display:inline-flex;
        width:48px;
        min-width:48px;
        height:48px;
        justify-content:center;
    }
    .emdrtool-step-4 .emdrtool-stage{
        width:100%;
        min-width:0;
        height:clamp(138px,34vw,190px);
        --emdr-orb-edge:clamp(10px,4vw,18px);
        --emdr-orb-size:clamp(46px,12vw,60px);
        --emdr-orb-travel-size:clamp(46px,12vw,60px);
        margin-left:0;
        margin-right:0;
        border-radius:24px;
    }
    .emdrtool-step-4 .emdrtool-orb{
        width:var(--emdr-orb-size,56px);
        height:var(--emdr-orb-size,56px);
        margin-top:calc(var(--emdr-orb-size,56px) / -2);
    }
    .emdrtool-step-4 .emdrtool-track{
        left:var(--emdr-orb-edge,14px);
        right:var(--emdr-orb-edge,14px);
    }
    .emdrtool-step-4 .emdrtool-focus-grid,
    .emdrtool-step-4 .emdrtool-session-footer .emdrtool-actions{
        grid-template-columns:1fr;
    }
    .emdrtool-step-4 .emdrtool-session-footer .emdrtool-btn{
        width:100%;
    }
}

@media (max-width:700px){
    .emdrtool-step-5 .emdrtool-checkin-title{
        font-size:clamp(38px,10vw,52px);
    }
}


/* v5.11.261: mobile button order, session toolbar resilience, iOS spacing, and check-in spacing polish */
@media (max-width:700px){
    .emdrtool-step-1 .emdrtool-setup-card .emdrtool-actions,
    .emdrtool-step-2 .emdrtool-setup-card .emdrtool-actions,
    .emdrtool-step-3 .emdrtool-level-actions{
        flex-direction:column;
        align-items:stretch;
    }
    .emdrtool-step-1 .emdrtool-setup-card .emdrtool-actions .emdrtool-btn-primary,
    .emdrtool-step-2 .emdrtool-setup-card .emdrtool-actions .emdrtool-btn-primary,
    .emdrtool-step-3 .emdrtool-level-actions .emdrtool-btn-primary{
        order:1;
    }
    .emdrtool-step-1 .emdrtool-setup-card .emdrtool-actions .emdrtool-btn-secondary,
    .emdrtool-step-2 .emdrtool-setup-card .emdrtool-actions .emdrtool-btn-secondary,
    .emdrtool-step-3 .emdrtool-level-actions .emdrtool-btn-secondary{
        order:2;
    }
}

.emdrtool-step-5 .emdrtool-checkin-panel{
    gap:18px !important;
}
.emdrtool-step-5 .emdrtool-step-guidance{
    margin:0 !important;
}
.emdrtool-step-5 .emdrtool-checkin-decision{
    margin-top:18px !important;
}

.emdrtool-step-4 .emdrtool-session-card{
    overflow:visible !important;
}
.emdrtool-step-4 .emdrtool-stage{
    overflow:hidden !important;
}

@media (hover:hover) and (pointer:fine) and (max-width:760px){
    .emdrtool-step-4 .emdrtool-session-toolbar{
        display:flex !important;
        flex-wrap:wrap !important;
        align-items:stretch !important;
        gap:10px !important;
        overflow:visible !important;
        width:100% !important;
        max-width:100% !important;
    }
    .emdrtool-step-4 .emdrtool-session-toolbar > .emdrtool-btn,
    .emdrtool-step-4 .emdrtool-session-group,
    .emdrtool-step-4 .emdrtool-settings-disclosure{
        flex:1 1 100% !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
    }
    .emdrtool-step-4 .emdrtool-session-group{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) 50px !important;
        gap:8px !important;
        align-items:center !important;
    }
    .emdrtool-step-4 .emdrtool-session-group .emdrtool-native-audio,
    .emdrtool-step-4 .emdrtool-session-group [data-audio-guiding-wrap],
    .emdrtool-step-4 .emdrtool-session-group [data-audio-background-wrap]{
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        justify-content:flex-start !important;
    }
    .emdrtool-step-4 .emdrtool-session-group .emdrtool-btn-gear{
        width:50px !important;
        min-width:50px !important;
        max-width:50px !important;
        height:50px !important;
        min-height:50px !important;
        padding:0 !important;
    }
    .emdrtool-step-4 .emdrtool-settings-toggle{
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        height:50px !important;
        min-height:50px !important;
        justify-content:center !important;
    }
    .emdrtool-step-4 .emdrtool-stage{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        --emdr-orb-edge:clamp(12px,4vw,22px);
    }
    .emdrtool-step-4 .emdrtool-track{
        left:var(--emdr-orb-edge,16px) !important;
        right:var(--emdr-orb-edge,16px) !important;
    }
}

@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-step-4 .emdrtool-session-toolbar{
        display:none !important;
        margin:0 !important;
        min-height:0 !important;
        height:0 !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-sounds-tabs,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-sounds-tabs{
        margin-top:4px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure{
        width:100% !important;
        min-width:0 !important;
        flex:1 1 100% !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
        display:flex !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        height:56px !important;
        min-height:56px !important;
        padding:0 18px !important;
        border-radius:24px !important;
        justify-content:center !important;
        gap:9px !important;
        font-size:16px !important;
        line-height:1 !important;
        color:var(--emdr-ink) !important;
        background:rgba(255,255,255,.96) !important;
        border:1px solid rgba(154,169,199,.42) !important;
        box-shadow:0 10px 22px rgba(18,27,55,.07) !important;
        overflow:hidden !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span{
        position:static !important;
        display:inline-flex !important;
        align-items:center !important;
        width:auto !important;
        min-width:0 !important;
        height:auto !important;
        transform:none !important;
    }
}


/* v5.11.262: keep desktop session controls visible in narrow desktop windows,
   while keeping the mobile Settings control as a compact icon-only button. */
@media (hover:hover) and (pointer:fine) and (max-width:720px){
    .emdrtool-step-4 .emdrtool-session-toolbar{
        display:flex !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        overflow:visible !important;
        flex-wrap:wrap !important;
        align-items:center !important;
        gap:8px !important;
        margin:12px 0 18px !important;
    }
    .emdrtool-step-4 .emdrtool-session-toolbar > .emdrtool-btn-ghost{
        min-width:0 !important;
        width:auto !important;
        flex:0 0 auto !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }
    .emdrtool-step-4 .emdrtool-session-group{
        display:flex !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        flex:1 1 100% !important;
        flex-wrap:nowrap !important;
        gap:8px !important;
        align-items:center !important;
        overflow:visible !important;
    }
    .emdrtool-step-4 .emdrtool-session-group .emdrtool-native-audio{
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        flex:1 1 auto !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }
    .emdrtool-step-4 .emdrtool-session-group [data-audio-guiding-wrap]{
        min-width:0 !important;
        max-width:none !important;
    }
    .emdrtool-step-4 .emdrtool-session-group .emdrtool-btn-gear{
        display:inline-flex !important;
        width:46px !important;
        min-width:46px !important;
        height:46px !important;
        min-height:46px !important;
        flex:0 0 46px !important;
        padding:0 !important;
    }
    .emdrtool-step-4 .emdrtool-settings-disclosure{
        display:block !important;
        width:auto !important;
        min-width:0 !important;
        flex:0 0 auto !important;
        position:relative !important;
    }
    .emdrtool-step-4 .emdrtool-settings-toggle{
        display:inline-flex !important;
        width:46px !important;
        min-width:46px !important;
        max-width:46px !important;
        height:46px !important;
        min-height:46px !important;
        max-height:46px !important;
        padding:0 !important;
        border-radius:999px !important;
        justify-content:center !important;
        align-items:center !important;
        overflow:hidden !important;
    }
    .emdrtool-step-4 .emdrtool-settings-toggle > span{
        position:static !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        height:auto !important;
        transform:none !important;
    }
    .emdrtool-step-4 .emdrtool-settings-panel{
        position:absolute !important;
        top:calc(100% + 8px) !important;
        right:0 !important;
        width:min(340px, calc(100vw - 48px)) !important;
        max-width:calc(100vw - 48px) !important;
        margin-top:0 !important;
        z-index:60 !important;
    }
    .emdrtool-step-4 .emdrtool-stage{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        overflow:hidden !important;
    }
}

/* Mobile-only: hide the desktop toolbar, but do not let narrow desktop widths
   trigger that mobile rule. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4 .emdrtool-session-toolbar,
    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4 .emdrtool-session-toolbar,
    .emdrtool-wrap.emdrtool-platform-android.emdrtool-step-4 .emdrtool-session-toolbar{
        display:none !important;
        margin:0 !important;
        min-height:0 !important;
        height:0 !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure{
        width:auto !important;
        min-width:0 !important;
        max-width:56px !important;
        flex:0 0 56px !important;
        align-self:flex-start !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure[open],
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure[open],
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure[open]{
        width:100% !important;
        max-width:100% !important;
        flex:1 1 100% !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
        width:56px !important;
        min-width:56px !important;
        max-width:56px !important;
        height:56px !important;
        min-height:56px !important;
        max-height:56px !important;
        padding:0 !important;
        border-radius:999px !important;
        justify-content:center !important;
        align-items:center !important;
        gap:0 !important;
        font-size:22px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:not(:first-child),
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:not(:first-child),
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:not(:first-child){
        display:none !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:first-child,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:first-child,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:first-child{
        position:static !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        height:auto !important;
        transform:none !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure .emdrtool-settings-panel,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure .emdrtool-settings-panel,
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure .emdrtool-settings-panel{
        position:relative !important;
        top:auto !important;
        right:auto !important;
        width:100% !important;
        max-width:100% !important;
        margin-top:10px !important;
    }
}



/* v5.11.269: real stacked/mobile gutter fix.
   Previous attempts changed card margins, but the visible gutter can come from the
   WordPress content frame, the plugin shell, or the fullscreen panel. This keeps
   the cards rounded and only removes the extra outer frame space in steps 1-5. */
@media (hover:hover) and (pointer:fine) and (max-width:900px){
    .emdrtool-step-4 .emdrtool-settings-disclosure[open]{
        z-index:90 !important;
    }
    .emdrtool-step-4 .emdrtool-settings-disclosure[open] .emdrtool-settings-panel{
        position:absolute !important;
        top:calc(100% + 8px) !important;
        left:0 !important;
        right:auto !important;
        width:min(360px, calc(100vw - 28px)) !important;
        max-width:calc(100vw - 28px) !important;
        margin-top:0 !important;
        transform:none !important;
    }
}

.emdrtool-wrap.emdrtool-stacked-wide:not(.is-fullscreen){
    position:relative !important;
    left:0 !important;
    right:auto !important;
    transform:none !important;
    width:var(--emdr-stacked-width, 100vw) !important;
    max-width:var(--emdr-stacked-width, 100vw) !important;
    margin-left:var(--emdr-stacked-pull-left, calc(50% - 50vw)) !important;
    margin-right:0 !important;
}

@media (max-width:900px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5{
        overflow-x:hidden !important;
        box-sizing:border-box !important;
    }

    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-shell,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-shell,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-shell,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-shell,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-shell,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-panel > form,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-panel > form,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-panel > form,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-panel > form,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-panel > form,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-setup-page,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-setup-page,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-level-page,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-setup-page,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-setup-page{
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
        padding-left:0 !important;
        padding-right:0 !important;
        box-sizing:border-box !important;
    }

    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-setup-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-setup-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-level-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-session-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-focus-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-session-footer,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-checkin-panel,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-checkin-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-level-card,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-checkin-decision,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-next-step-panel{
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box !important;
        border-radius:24px !important;
    }

    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-setup-header,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-setup-header,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-setup-header,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-setup-header,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-setup-header,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-1 .emdrtool-level-progress,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-2 .emdrtool-level-progress,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-3 .emdrtool-level-progress,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-4 .emdrtool-level-progress,
    .emdrtool-wrap.emdrtool-stacked-wide.emdrtool-step-5 .emdrtool-level-progress{
        padding-left:10px !important;
        padding-right:10px !important;
        box-sizing:border-box !important;
    }
}


/* v5.11.281 Android/fullscreen orb bounds fix.
   Keep CSS animation and JS edge-phase math using the same travel box as the
   visible orb. A previous mobile override could leave --emdr-orb-travel-size
   at 64px while the fullscreen orb was larger, which made the right edge
   overshoot compared with the left. */
.emdrtool-stage{
    --emdr-orb-travel-size:var(--emdr-orb-size, 64px);
}
.emdrtool-wrap.is-fullscreen .emdrtool-stage{
    --emdr-orb-size:84px;
    --emdr-orb-travel-size:84px;
}
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
    --emdr-orb-size:84px;
    --emdr-orb-travel-size:84px;
}
@media (max-width:760px), (hover:none) and (pointer:coarse){
    .emdrtool-step-4 .emdrtool-stage,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        --emdr-orb-size:clamp(46px,12vw,60px);
        --emdr-orb-travel-size:clamp(46px,12vw,60px);
    }
}



/* v5.11.281 Android/mobile orb width cascade fix.
   Fullscreen set --emdr-orb-size on the orb itself (84px), while mobile
   set a smaller --emdr-orb-travel-size on the stage. Because custom
   properties on the orb win over inherited stage values, the visual orb
   stayed wider than the travel box and overshot the right edge. Force the
   mobile/fullscreen orb and the stage travel box to the same value. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        --emdr-orb-edge:clamp(14px, 4.8vw, 24px);
        --emdr-orb-size:clamp(46px, 12vw, 60px);
        --emdr-orb-travel-size:clamp(46px, 12vw, 60px);
    }
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-orb{
        --emdr-orb-size:clamp(46px, 12vw, 60px);
        width:var(--emdr-orb-size) !important;
        height:var(--emdr-orb-size) !important;
        margin-top:calc(var(--emdr-orb-size) / -2) !important;
    }
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-track{
        left:var(--emdr-orb-edge) !important;
        right:var(--emdr-orb-edge) !important;
    }
}


/* v5.11.340 desktop-only orb bounds safety.
   Desktop can calculate the final edge directly from the stage width, which prevents
   the viewport-width fallback from pushing the orb outside the card before JS has
   refreshed --emdr-orb-travel-px. Mobile/iOS/Android are intentionally excluded. */
@media (hover:hover) and (pointer:fine){
    @keyframes emdrtool-orbit{
        from{
            left:var(--emdr-orb-edge, 7%);
            transform:translate3d(0,0,0) scale(.98);
        }
        to{
            left:calc(100% - var(--emdr-orb-edge, 7%) - var(--emdr-orb-size, 64px));
            transform:translate3d(0,0,0) scale(1.03);
        }
    }
}


/* v5.11.340 Android-only mobile bounds safety.
   Keep the v330 iOS guiding renderer unchanged. Android's visible orb can still
   overshoot right before/after JS travel measurement because the mobile CSS
   fallback translates by a viewport-derived distance. Give Android its own
   contained keyframe and a symmetric edge inset, so left and right travel are
   balanced and the halo stays inside the card. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-platform-android.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        --emdr-orb-edge:clamp(20px, 5.2vw, 30px);
    }
    .emdrtool-wrap.emdrtool-platform-android.emdrtool-step-4.is-fullscreen .emdrtool-orb{
        animation-name:emdrtool-orbit-android-contained !important;
    }
}
@keyframes emdrtool-orbit-android-contained{
    from{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(0,0,0) scale(.98);
    }
    to{
        left:calc(100% - var(--emdr-orb-edge, 7%) - var(--emdr-orb-size, 64px));
        transform:translate3d(0,0,0) scale(1.03);
    }
}

/* v5.11.361 iOS-only deterministic full-cycle orb animation.
   The jitter-free iOS path keeps the orb CSS-owned. Use a full left-right-left
   keyframe instead of an alternate half-cycle keyframe so Safari never has to
   infer the current alternate-direction parity on guiding-sound toggles. The
   same deterministic phase delay is used for the audio file, so left/right stays
   stable across repeated ON/OFF taps. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        /* Keep this iOS-only. The edge includes a little visual halo breathing
           room; Android/desktop keep their existing working bounds. */
        --emdr-orb-edge:clamp(24px, 6vw, 34px);
        overflow:hidden !important;
        contain:paint;
    }
    .emdrtool-wrap.emdrtool-platform-ios.emdrtool-step-4.is-fullscreen .emdrtool-track{
        left:var(--emdr-orb-edge,24px) !important;
        right:var(--emdr-orb-edge,24px) !important;
    }
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-orb{
        left:var(--emdr-orb-edge, 7%) !important;
        animation-name:emdrtool-orbit-ios-full-cycle;
        animation-duration:var(--emdr-orb-full-cycle, 6.8s);
        animation-timing-function:ease-in-out;
        animation-iteration-count:infinite;
        animation-direction:normal;
        animation-fill-mode:none;
        will-change:transform !important;
    }
}
@keyframes emdrtool-orbit-ios-full-cycle{
    0%{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(0,0,0);
    }
    50%{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(var(--emdr-ios-orb-travel-px, var(--emdr-orb-travel-px, calc(86vw - var(--emdr-orb-travel-size, var(--emdr-orb-size, 64px))))),0,0);
    }
    100%{
        left:var(--emdr-orb-edge, 7%);
        transform:translate3d(0,0,0);
    }
}


/* v5.11.432 desktop/tablet fullscreen and level-check cleanup. */
@media (min-width:701px){
    /* The selected value is already visible in the button row on larger screens. */
    .emdrtool-wrap.emdrtool-step-5 .emdrtool-level-current{
        display:none !important;
    }
    .emdrtool-wrap.emdrtool-step-5 .emdrtool-level-scale-row{
        margin-bottom:16px !important;
    }
}

@media (min-width:721px){
    /* True desktop fullscreen: remove the blue browser/app backdrop and let the tool fill the viewport. */
    .emdrtool-wrap.is-fullscreen{
        padding:0 !important;
        align-items:stretch !important;
        justify-content:stretch !important;
        background:linear-gradient(135deg,var(--emdr-bg-1),var(--emdr-bg-2)) !important;
    }
    .emdrtool-wrap.is-fullscreen::before,
    .emdrtool-wrap.is-fullscreen .emdrtool-browser-bleed{
        display:none !important;
    }
    .emdrtool-wrap.is-fullscreen .emdrtool-shell{
        width:100vw !important;
        max-width:none !important;
        height:100vh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        max-height:none !important;
        margin:0 !important;
        border:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
        padding:clamp(24px, 2.2vw, 42px) !important;
        background:linear-gradient(135deg,var(--emdr-bg-1),var(--emdr-bg-2)) !important;
    }
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-shell{
        height:100vh !important;
        height:100dvh !important;
        height:calc(var(--emdr-vh, 1vh) * 100) !important;
        max-height:none !important;
        padding:clamp(18px, 1.8vw, 34px) !important;
    }
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-panel{
        width:100% !important;
        max-width:none !important;
        border-radius:0 !important;
        padding:clamp(16px, 1.7vw, 28px) !important;
    }
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        width:100% !important;
        max-width:none !important;
        --emdr-orb-edge:clamp(28px, 4vw, 72px);
        max-height:clamp(190px, 32vh, 310px) !important;
    }
}

/* v5.11.432: keep the exercise progress hidden even when fullscreen/device-specific rules apply. */
.emdrtool-wrap.emdrtool-step-4 .emdrtool-progress,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-progress,
.emdrtool-wrap.emdrtool-step-4 .emdrtool-level-progress,
.emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-level-progress{
    display:none !important;
}

/* v5.11.432: centered modern gear settings icon. */
.emdrtool-settings-toggle,
.emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
    align-items:center !important;
    justify-content:center !important;
}
.emdrtool-settings-icon,
.emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle .emdrtool-settings-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    margin:0 !important;
    line-height:0 !important;
    transform:none !important;
}
.emdrtool-settings-icon-svg{
    display:block !important;
    width:20px !important;
    height:20px !important;
    overflow:visible !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.65 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
}
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
        width:56px !important;
        min-width:56px !important;
        max-width:56px !important;
        height:56px !important;
        min-height:56px !important;
        max-height:56px !important;
        padding:0 !important;
        gap:0 !important;
        text-align:center !important;
    }
    .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:not(:first-child){
        display:none !important;
    }
    .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle > span:first-child{
        position:static !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:22px !important;
        height:22px !important;
        min-width:22px !important;
        margin:0 !important;
        transform:none !important;
    }
    .emdrtool-wrap.emdrtool-platform-android .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle .emdrtool-settings-icon,
    .emdrtool-wrap.emdrtool-platform-ios .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle .emdrtool-settings-icon{
        margin:0 !important;
        transform:none !important;
    }
}

/* v5.11.432: modern minimal settings glyph and Step 5 large-screen duplicate level cleanup. */
.emdrtool-settings-icon-svg circle{
    fill:none !important;
}
@media (min-width:701px){
    .emdrtool-wrap.emdrtool-step-5 .emdrtool-checkin-level-card .emdrtool-level-current{
        display:none !important;
    }
}

/* v5.11.432 setup copy cleanup without changing fullscreen shell geometry. */
.emdrtool-wrap.is-fullscreen.emdrtool-step-1 .emdrtool-hero-title,
.emdrtool-wrap.is-fullscreen.emdrtool-step-1 .emdrtool-hero-subtitle,
.emdrtool-wrap.is-fullscreen.emdrtool-step-2 .emdrtool-hero-title,
.emdrtool-wrap.is-fullscreen.emdrtool-step-2 .emdrtool-hero-subtitle{
    display:none !important;
}
.emdrtool-wrap.is-fullscreen.emdrtool-step-1 .emdrtool-hero-content,
.emdrtool-wrap.is-fullscreen.emdrtool-step-2 .emdrtool-hero-content{
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
}
.emdrtool-wrap.is-fullscreen.emdrtool-step-1 .emdrtool-hero,
.emdrtool-wrap.is-fullscreen.emdrtool-step-2 .emdrtool-hero{
    min-height:0 !important;
    padding-bottom:6px !important;
}
.emdrtool-wrap.is-fullscreen.emdrtool-step-1 .emdrtool-level-progress,
.emdrtool-wrap.is-fullscreen.emdrtool-step-2 .emdrtool-level-progress,
.emdrtool-wrap.is-fullscreen.emdrtool-step-3 .emdrtool-level-progress{
    margin-top:10px !important;
    margin-bottom:14px !important;
}

/* v5.11.432 setup/level/check-in content refinements. */
.emdrtool-wrap.emdrtool-step-1 .emdrtool-header,
.emdrtool-wrap.emdrtool-step-2 .emdrtool-header{
    display:none !important;
}
.emdrtool-wrap.emdrtool-step-1 .emdrtool-setup-eyebrow,
.emdrtool-wrap.emdrtool-step-2 .emdrtool-setup-eyebrow{
    display:none !important;
}
.emdrtool-wrap.emdrtool-step-1 .emdrtool-setup-header,
.emdrtool-wrap.emdrtool-step-2 .emdrtool-setup-header{
    gap:0 !important;
    min-height:0 !important;
}
.emdrtool-wrap.emdrtool-step-3 .emdrtool-header{
    display:none !important;
}
.emdrtool-level-page-heading,
.emdrtool-checkin-page-heading{
    display:grid;
    gap:8px;
    margin:8px 0 18px;
}
.emdrtool-level-page-heading h2,
.emdrtool-checkin-page-heading h2{
    margin:0;
    color:var(--emdr-ink);
    font-size:clamp(36px,3.2vw,54px);
    line-height:1.04;
    letter-spacing:-.025em;
    font-weight:500;
}
.emdrtool-level-page-heading p,
.emdrtool-checkin-page-heading p{
    margin:0;
    color:var(--emdr-muted);
    font-size:clamp(16px,1.4vw,19px);
    line-height:1.45;
}
.emdrtool-wrap.emdrtool-step-5 .emdrtool-setup-header{
    display:none !important;
}
.emdrtool-wrap.emdrtool-step-5 .emdrtool-checkin-slider-head{
    justify-content:flex-end;
}
.emdrtool-wrap.emdrtool-step-5 .emdrtool-checkin-before-chip{
    margin-left:auto;
}
@media (max-width:700px){
    .emdrtool-level-page-heading,
    .emdrtool-checkin-page-heading{
        margin:4px 0 14px;
    }
    .emdrtool-level-page-heading h2,
    .emdrtool-checkin-page-heading h2{
        font-size:clamp(30px,9vw,42px);
    }
}

/* v5.11.432 Step 3 tip refresh control. */
.emdrtool-tip-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
}
.emdrtool-tip-refresh{
    width:32px;
    height:32px;
    min-width:32px;
    border-radius:999px;
    border:1px solid rgba(95,142,149,.24);
    background:rgba(255,255,255,.72);
    color:var(--emdr-primary-dark);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(36,49,47,.06);
    transition:transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.emdrtool-tip-refresh:hover,
.emdrtool-tip-refresh:focus-visible{
    background:#fff;
    border-color:rgba(95,142,149,.44);
    box-shadow:0 8px 18px rgba(36,49,47,.10);
    outline:none;
}
.emdrtool-tip-refresh:active{
    transform:rotate(18deg) scale(.96);
}
.emdrtool-tip-refresh svg{
    width:17px;
    height:17px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.emdrtool-tip-refresh.is-spinning svg{
    animation:emdrtool-tip-refresh-spin .24s ease-out;
}
@keyframes emdrtool-tip-refresh-spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(180deg);}
}

/* v5.11.432 Step 1/2 heading move and minimal theme refresh icon. */
.emdrtool-setup-page-heading{
    display:grid;
    gap:8px;
    margin:8px 0 18px;
}
.emdrtool-setup-page-heading h2{
    margin:0;
    color:var(--emdr-ink);
    font-size:clamp(36px,3.2vw,54px);
    line-height:1.04;
    letter-spacing:-.025em;
    font-weight:500;
}
.emdrtool-setup-page-heading p{
    margin:0;
    color:var(--emdr-muted);
    font-size:clamp(16px,1.4vw,19px);
    line-height:1.45;
    max-width:72ch;
}
.emdrtool-wrap.emdrtool-step-1 .emdrtool-setup-card,
.emdrtool-wrap.emdrtool-step-2 .emdrtool-setup-card{
    margin-top:0 !important;
}
.emdrtool-tip-refresh{
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    border:0 !important;
    background:transparent !important;
    color:var(--emdr-primary-dark) !important;
    box-shadow:none !important;
    border-radius:0 !important;
}
.emdrtool-tip-refresh:hover,
.emdrtool-tip-refresh:focus-visible{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:var(--emdr-primary) !important;
    outline:2px solid rgba(95,142,149,.24);
    outline-offset:3px;
    border-radius:8px !important;
}
.emdrtool-tip-refresh svg{
    width:22px !important;
    height:22px !important;
    stroke-width:2.15 !important;
}
@media (max-width:700px){
    .emdrtool-setup-page-heading{
        margin:4px 0 14px;
    }
    .emdrtool-setup-page-heading h2{
        font-size:clamp(30px,9vw,42px);
    }
}

/* v5.11.432: Step 1/2 headings back inside cards and mobile audio grouped under one button. */
.emdrtool-wrap.emdrtool-step-1 .emdrtool-setup-page-heading,
.emdrtool-wrap.emdrtool-step-2 .emdrtool-setup-page-heading{
    display:none !important;
}
.emdrtool-mobile-audio-settings-disclosure{
    position:relative;
}
.emdrtool-mobile-audio-settings-panel{
    display:grid;
    gap:12px;
}
.emdrtool-mobile-audio-settings-panel > .emdrtool-ios-audio-combo{
    width:100%;
}
.emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-switch{
    width:100%;
}
.emdrtool-mobile-audio-settings-panel .emdrtool-ios-sounds-panel{
    position:relative;
    top:auto;
    right:auto;
    width:100%;
    max-width:100%;
    margin-top:10px;
}
.emdrtool-mobile-audio-settings-panel .emdrtool-ios-sounds-titlebar{
    align-items:center;
}
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-mobile-audio-settings-disclosure > summary.emdrtool-settings-toggle{
        width:56px !important;
        min-width:56px !important;
        max-width:56px !important;
        height:56px !important;
        min-height:56px !important;
        max-height:56px !important;
        padding:0 !important;
        gap:0 !important;
    }
    .emdrtool-mobile-audio-settings-disclosure > summary.emdrtool-settings-toggle > span:not(:first-child){
        display:none !important;
    }
    .emdrtool-mobile-audio-settings-panel{
        min-width:min(360px, calc(100vw - 32px));
    }
}

/* v5.11.432: field-level validation, mobile anchor examples, compact mobile audio/settings controls. */
.emdrtool-field-alert{
    margin:8px 0 10px !important;
}

.emdrtool-anchor-examples{
    display:block;
}
.emdrtool-anchor-examples > summary{
    list-style:none;
}
.emdrtool-anchor-examples > summary::-webkit-details-marker{
    display:none;
}
.emdrtool-anchor-examples-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    cursor:pointer;
}
.emdrtool-anchor-examples-chevron{
    color:var(--emdr-primary-dark);
    font-weight:900;
    transition:transform .16s ease;
}
.emdrtool-anchor-examples[open] .emdrtool-anchor-examples-chevron{
    transform:rotate(180deg);
}
.emdrtool-anchor-examples .emdrtool-example-chips{
    margin-top:10px;
}
.emdrtool-anchor-examples-body{
    position:relative;
}
.emdrtool-anchor-refresh-row{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-top:10px;
}

@media (min-width:721px) and (hover:hover) and (pointer:fine){
    .emdrtool-anchor-examples-summary{
        cursor:default;
    }
    .emdrtool-anchor-examples-chevron{
        display:none;
    }
}

.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio{
    width:max-content;
    max-width:calc(100vw - 48px);
    margin:8px 0 12px 0;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    gap:10px !important;
    width:max-content !important;
    max-width:calc(100vw - 48px) !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs > .emdrtool-ios-sounds-disclosure,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs > .emdrtool-settings-disclosure{
    flex:0 0 56px !important;
    width:56px !important;
    min-width:56px !important;
    max-width:56px !important;
    position:relative !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs > .emdrtool-ios-sounds-disclosure[open],
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-tabs > .emdrtool-settings-disclosure[open]{
    flex-basis:56px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-disclosure > summary.emdrtool-settings-toggle,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure > summary.emdrtool-settings-toggle{
    margin-top:0 !important;
    width:56px !important;
    min-width:56px !important;
    max-width:56px !important;
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel{
    position:absolute !important;
    left:0 !important;
    top:calc(100% + 8px) !important;
    width:min(360px, calc(100vw - 48px)) !important;
    min-width:min(360px, calc(100vw - 48px)) !important;
    max-width:calc(100vw - 48px) !important;
    z-index:55 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure) > .emdrtool-settings-panel{
    position:absolute !important;
    right:0 !important;
    left:auto !important;
    top:calc(100% + 8px) !important;
    width:min(360px, calc(100vw - 48px)) !important;
    max-width:calc(100vw - 48px) !important;
    z-index:56 !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-sounds-panel{
    padding:14px !important;
}
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-action,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-ios-sounds-disclosure[open] > .emdrtool-ios-sounds-action{
    margin-top:0 !important;
}

/* v5.11.432: restore the Step 5 selected-level card using the same block layout as Step 3. */
@media (min-width:701px){
    .emdrtool-wrap.emdrtool-step-5 .emdrtool-checkin-level-card .emdrtool-level-current{
        display:block !important;
    }
}

/* v5.11.432: clean mobile Audio/Settings buttons without changing v5.11.412 inner audio rows. */
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio{
    display:block !important;
    width:max-content !important;
    max-width:calc(100vw - 32px) !important;
    margin:6px 0 10px 0 !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs{
    position:relative !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:10px !important;
    width:122px !important;
    min-width:122px !important;
    max-width:calc(100vw - 32px) !important;
    overflow:visible !important;
}
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure),
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure),
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure),
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure[open],
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure[open],
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure[open],
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure)[open],
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure)[open],
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure)[open]{
    position:static !important;
    flex:0 0 56px !important;
    width:56px !important;
    min-width:56px !important;
    max-width:56px !important;
}
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle{
    width:56px !important;
    min-width:56px !important;
    max-width:56px !important;
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
    padding:0 !important;
    margin:0 !important;
    gap:0 !important;
}
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle > span:not(:first-child),
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle > span:not(:first-child),
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle > span:not(:first-child){
    display:none !important;
}

/* Panels below the two round buttons, never overlapping them. */
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure > .emdrtool-mobile-audio-settings-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure > .emdrtool-mobile-audio-settings-panel,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-mobile-audio-settings-disclosure > .emdrtool-mobile-audio-settings-panel,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure) > .emdrtool-settings-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure) > .emdrtool-settings-panel,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure) > .emdrtool-settings-panel{
    position:absolute !important;
    left:0 !important;
    right:auto !important;
    top:72px !important;
    transform:none !important;
    width:min(360px, calc(100vw - 72px)) !important;
    min-width:0 !important;
    max-width:calc(100vw - 72px) !important;
    box-sizing:border-box !important;
    z-index:90 !important;
}

.emdrtool-anchor-examples:not([open]){
    padding:0 16px !important;
    min-height:52px !important;
}
.emdrtool-anchor-examples:not([open]) .emdrtool-anchor-examples-summary{
    min-height:52px !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
}
.emdrtool-anchor-examples:not([open]) .emdrtool-example-box-label{
    display:flex !important;
    align-items:center !important;
    line-height:1 !important;
    margin:0 !important;
}
.emdrtool-anchor-examples:not([open]) .emdrtool-anchor-examples-chevron{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:24px !important;
    line-height:1 !important;
}
.emdrtool-anchor-examples:not([open]) .emdrtool-example-chips{
    display:none !important;
}


/* v5.11.432: exact mobile Audio row alignment.
   The dropdown and the visible toggle track both use top:43px and height:34px. */
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo{
    position:relative !important;
    height:92px !important;
    min-height:92px !important;
    max-height:92px !important;
    overflow:hidden !important;
}

.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch{
    position:absolute !important;
    left:16px !important;
    top:43px !important;
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 !important;
    padding:0 !important;
}

.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-audio-switch .emdrtool-ios-switch-track{
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
}

.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo > .emdrtool-ios-sounds-panel{
    position:absolute !important;
    left:92px !important;
    right:16px !important;
    top:43px !important;
    bottom:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    transform:none !important;
}

.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-card,
.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls{
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    transform:none !important;
}

.emdrtool-wrap.emdrtool-platform-ios .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-android .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls select,
.emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-audio-settings-panel .emdrtool-ios-audio-combo .emdrtool-ios-sound-controls select{
    position:static !important;
    display:block !important;
    top:auto !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 !important;
    padding:0 38px 0 14px !important;
    border-radius:999px !important;
    line-height:34px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    transform:none !important;
}

/* v5.11.432: compact mobile session spacing shown in the requested layout.
   The buttons move to the right; the timer-to-buttons and buttons-to-stage gaps shrink. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-card{
        gap:8px !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-session-top{
        margin-bottom:0 !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-mobile-direct-audio{
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        margin:-2px 0 0 !important;
        padding:0 !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs{
        margin-left:auto !important;
        margin-right:0 !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen .emdrtool-stage{
        margin-top:0 !important;
    }

    .emdrtool-wrap.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs >
    .emdrtool-mobile-audio-settings-disclosure > .emdrtool-mobile-audio-settings-panel,
    .emdrtool-wrap.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs >
    .emdrtool-ios-settings-disclosure:not(.emdrtool-mobile-audio-settings-disclosure) >
    .emdrtool-settings-panel{
        left:auto !important;
        right:0 !important;
    }
}

/* v5.11.432: collapsed Anchor examples remain visibly interactive on desktop. */
@media (min-width:721px) and (hover:hover) and (pointer:fine){
    .emdrtool-anchor-examples-summary{
        cursor:pointer !important;
    }
    .emdrtool-anchor-examples-chevron{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }
}

/* v5.11.432: do not let the plugin's page-bleed layer paint behind the
   WordPress header/menu when the EMDR tool is not fullscreen. */
html.emdrtool-page-bleed:not(.emdrtool-html-lock),
body.emdrtool-page-bleed:not(.emdrtool-body-lock){
    background:transparent !important;
}

body.emdrtool-page-bleed:not(.emdrtool-body-lock)::before{
    content:none !important;
    display:none !important;
}

/* v5.11.432: center the Finish-for-now dialog in the actual mobile viewport.
   The previous 100vw/100dvh plus content-box padding made the flex container
   wider than the viewport and shifted the sheet horizontally. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-end-session-overlay{
        inset:0 !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        left:0 !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        height:auto !important;
        min-height:100dvh !important;
        box-sizing:border-box !important;
        padding:
            max(16px, env(safe-area-inset-top, 0px))
            16px
            max(16px, env(safe-area-inset-bottom, 0px)) !important;
        align-items:center !important;
        justify-content:center !important;
        overflow:auto !important;
    }

    .emdrtool-end-session-sheet{
        width:min(100%, 520px) !important;
        max-width:520px !important;
        margin:0 auto !important;
        transform:none !important;
        box-sizing:border-box !important;
    }
}


/* v5.11.437: matched progress clearance, anchor refresh support, and minimal mobile tool icons. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    /* Steps 1 and 2 get an 18px grid gap from their empty setup-header row.
       Give Steps 3 and 5 the same top clearance—no more, no less. */
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-3.is-fullscreen .emdrtool-level-page,
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-5.is-fullscreen .emdrtool-setup-page{
        padding-top:18px !important;
        box-sizing:border-box !important;
    }

    /* Match the session instruction copy to the breathing note on mobile. */
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen .emdrtool-session-copy .emdrtool-copy{
        font-size:16px !important;
        line-height:1.35 !important;
    }

    /* Slightly strengthen the session title without changing desktop typography. */
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen .emdrtool-session-copy h3{
        font-size:25px !important;
        line-height:1.14 !important;
    }

    /* Audio and Settings use the same minimal, theme-colored treatment as the Tip refresh icon.
       The SVG paths are untouched; only their surrounding button chrome is removed. */
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs{
        width:74px !important;
        min-width:74px !important;
        gap:10px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details,
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details[open]{
        flex:0 0 32px !important;
        width:32px !important;
        min-width:32px !important;
        max-width:32px !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details[open] > summary.emdrtool-settings-toggle{
        width:32px !important;
        min-width:32px !important;
        max-width:32px !important;
        height:32px !important;
        min-height:32px !important;
        max-height:32px !important;
        padding:0 !important;
        margin:0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:var(--emdr-primary-dark) !important;
    }
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle:hover,
    .emdrtool-wrap.emdrtool-platform-mobile .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle:focus-visible{
        background:transparent !important;
        border:0 !important;
        box-shadow:none !important;
        color:var(--emdr-primary) !important;
        outline:2px solid rgba(95,142,149,.24) !important;
        outline-offset:2px !important;
        border-radius:8px !important;
    }
}

/* v5.11.437: pull the mobile Step 4 Audio/Settings controls away from the
   card edge and enlarge the existing glyphs without redesigning them. */
@media (max-width:720px), (hover:none) and (pointer:coarse){
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs{
        width:82px !important;
        min-width:82px !important;
        margin-left:auto !important;
        margin-right:16px !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details,
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details[open]{
        flex:0 0 36px !important;
        width:36px !important;
        min-width:36px !important;
        max-width:36px !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details > summary.emdrtool-settings-toggle,
    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio > .emdrtool-ios-sounds-tabs > details[open] > summary.emdrtool-settings-toggle{
        width:36px !important;
        min-width:36px !important;
        max-width:36px !important;
        height:36px !important;
        min-height:36px !important;
        max-height:36px !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio .emdrtool-settings-icon{
        width:26px !important;
        height:26px !important;
        min-width:26px !important;
        flex-basis:26px !important;
    }

    .emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-4.is-fullscreen
    .emdrtool-mobile-direct-audio .emdrtool-settings-icon-svg{
        width:24px !important;
        height:24px !important;
    }
}

/* v5.11.441: Mossy willow label, palette-linked setup/check-in cards,
   and update-safe text-file storage for tips and anchor words. */
/* v5.11.440: theme-linked session/rating surfaces, mobile Step 3 duration control,
   audio-list cleanup, and the Mossy willow scheme label. */
/* v5.11.439: a narrow desktop browser window must keep the desktop controls.
   Width-based responsive rules may still compact the layout, but they must not
   reveal the duplicate touch/mobile Audio and Settings launchers. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android)
.emdrtool-mobile-direct-audio{
    display:none !important;
}

/* v5.11.439: keep the two desktop audio groups and Settings on one compact
   row in a narrow desktop window. The root platform classes, rather than the
   viewport width alone, decide whether this desktop layout is used. */
@media (max-width:760px){
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar{
        display:flex !important;
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        margin:12px 0 18px !important;
        gap:6px !important;
        flex-flow:row wrap !important;
        align-items:center !important;
        overflow:visible !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar > .emdrtool-fullscreen-toggle,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar > .emdrtool-audio-unlock.is-visible{
        flex:1 0 100% !important;
        width:100% !important;
        max-width:100% !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group{
        position:relative !important;
        display:flex !important;
        flex:1 1 0 !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        gap:4px !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
        overflow:visible !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group .emdrtool-native-audio,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group [data-audio-background-wrap],
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group [data-audio-guiding-wrap]{
        flex:1 1 auto !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        height:44px !important;
        min-height:44px !important;
        padding-left:8px !important;
        padding-right:8px !important;
        gap:6px !important;
        justify-content:flex-start !important;
        overflow:hidden !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group .emdrtool-native-audio-text{
        display:block !important;
        min-width:0 !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
        font-size:12px !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group .emdrtool-btn-gear{
        display:inline-flex !important;
        flex:0 0 38px !important;
        width:38px !important;
        min-width:38px !important;
        max-width:38px !important;
        height:44px !important;
        min-height:44px !important;
        max-height:44px !important;
        padding:0 !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar > .emdrtool-settings-disclosure{
        position:relative !important;
        display:block !important;
        flex:0 0 44px !important;
        width:44px !important;
        min-width:44px !important;
        max-width:44px !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar > .emdrtool-settings-disclosure > .emdrtool-settings-toggle{
        display:inline-flex !important;
        width:44px !important;
        min-width:44px !important;
        max-width:44px !important;
        height:44px !important;
        min-height:44px !important;
        max-height:44px !important;
        padding:0 !important;
        justify-content:center !important;
        align-items:center !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group .emdrtool-options-pop{
        position:absolute !important;
        top:calc(100% + 8px) !important;
        left:0 !important;
        width:min(300px, calc(100vw - 40px)) !important;
        min-width:0 !important;
        max-width:calc(100vw - 40px) !important;
        margin:0 !important;
        z-index:60 !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group [data-audio-guiding-pop]{
        left:auto !important;
        right:0 !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-toolbar > .emdrtool-settings-disclosure > .emdrtool-settings-panel{
        position:absolute !important;
        top:calc(100% + 8px) !important;
        right:0 !important;
        left:auto !important;
        width:min(340px, calc(100vw - 40px)) !important;
        min-width:0 !important;
        max-width:calc(100vw - 40px) !important;
        margin:0 !important;
        z-index:61 !important;
    }
}

/* Below this unusually small desktop width, preserve readable labels rather
   than compressing both audio groups beyond usefulness. */
@media (max-width:420px){
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
    .emdrtool-session-group{
        flex:1 1 calc(100% - 50px) !important;
    }
}


/* v5.11.440: theme-aware selected intensity and running-session card. */
.emdrtool-sud-choice.is-selected,
.emdrtool-sud-choice[aria-pressed="true"]{
    background:linear-gradient(180deg,var(--emdr-primary),var(--emdr-primary-dark)) !important;
    color:#fff !important;
    border-color:transparent !important;
    box-shadow:0 16px 34px rgba(36,49,47,.18),0 0 0 4px var(--emdr-track-soft) !important;
}


/* v5.11.440: on an actual mobile device, place the first-set duration directly
   above Start as one full-width, button-sized label/control row. */
.emdrtool-mobile-duration-control{
    display:none;
}

.emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-3 .emdrtool-mobile-duration-control{
    order:0;
    display:grid;
    flex:1 0 100%;
    grid-template-columns:minmax(0,1fr) minmax(128px,1.15fr);
    align-items:center;
    width:100%;
    min-width:0;
    height:46px;
    min-height:46px;
    max-height:46px;
    overflow:hidden;
    border:1px solid var(--emdr-line);
    border-radius:999px;
    background:rgba(255,255,255,.88);
    color:var(--emdr-ink);
    box-shadow:0 10px 24px rgba(36,49,47,.06);
}

.emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-3 .emdrtool-mobile-duration-control > span{
    min-width:0;
    padding:0 10px 0 18px;
    color:var(--emdr-ink);
    font-size:14px;
    font-weight:800;
    line-height:1.15;
    white-space:nowrap;
}

.emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-3 .emdrtool-mobile-duration-control > .emdrtool-select{
    width:100%;
    min-width:0;
    height:44px;
    min-height:44px;
    max-height:44px;
    margin:0;
    padding:0 34px 0 14px;
    border:0;
    border-left:1px solid var(--emdr-line);
    border-radius:0;
    background:transparent;
    color:var(--emdr-ink);
    font-size:14px;
    font-weight:750;
    box-shadow:none;
}

.emdrtool-wrap.emdrtool-platform-mobile.emdrtool-step-3 .emdrtool-mobile-duration-control:focus-within{
    border-color:var(--emdr-primary);
    box-shadow:0 0 0 3px var(--emdr-track-soft);
}


/* v5.11.446: card hierarchy polish.
   Main working cards are a little brighter and more neutral so they read as
   the foreground surface. Supporting cards keep a soft theme tint so they sit
   one visual level behind while still matching the selected color scheme. */
.emdrtool-wrap[data-emdr-color-scheme]{
    --emdr-card-surface-main:
        linear-gradient(135deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.88) 100%),
        linear-gradient(135deg,var(--emdr-bg-3) 0%,var(--emdr-bg-1) 62%,var(--emdr-bg-2) 100%);
    --emdr-card-surface-soft:
        linear-gradient(135deg,rgba(255,255,255,.74) 0%,rgba(255,255,255,.68) 100%),
        linear-gradient(135deg,var(--emdr-bg-1) 0%,var(--emdr-bg-3) 100%);
    --emdr-card-shadow-main:0 18px 44px rgba(36,49,47,.08), inset 0 1px 0 rgba(255,255,255,.58);
    --emdr-card-shadow-soft:0 12px 28px rgba(36,49,47,.06), inset 0 1px 0 rgba(255,255,255,.46);
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-1 .emdrtool-setup-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-2 .emdrtool-setup-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-level-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-4 .emdrtool-session-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-level-card{
    background:var(--emdr-card-surface-main) !important;
    border-color:var(--emdr-line) !important;
    box-shadow:var(--emdr-card-shadow-main) !important;
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-1 .emdrtool-step-note,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-2 .emdrtool-step-note,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-2 .emdrtool-example-box,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-level-context-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-card-box,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-4 .emdrtool-focus-card,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-step-note,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-checkin-safety-note,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-checkin-decision,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-next-set-pill{
    background:var(--emdr-card-surface-soft) !important;
    border-color:var(--emdr-line) !important;
    box-shadow:var(--emdr-card-shadow-soft) !important;
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-level-current,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-level-current{
    background:linear-gradient(135deg,var(--emdr-bg-3),var(--emdr-bg-2)) !important;
    border-color:var(--emdr-line) !important;
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-checkin-before-chip{
    --emdr-before-chip-fill:var(--emdr-bg-2);
    border-color:var(--emdr-line) !important;
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-mobile-duration-control{
    background:var(--emdr-card-surface-soft) !important;
    border-color:var(--emdr-line) !important;
}

/* v5.11.443: the unselected 0-10 choice buttons on Steps 3 and 5 now use
   the active scheme surfaces too. Selected choices keep the stronger primary
   gradient defined above, so the current value remains visually distinct. */
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]),
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]){
    background:linear-gradient(180deg,var(--emdr-bg-3),var(--emdr-bg-1)) !important;
    border-color:var(--emdr-line) !important;
    color:var(--emdr-ink) !important;
    box-shadow:0 10px 24px rgba(36,49,47,.07),inset 0 1px 0 rgba(255,255,255,.58) !important;
}

.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]):hover,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-3 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]):focus-visible,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]):hover,
.emdrtool-wrap[data-emdr-color-scheme].emdrtool-step-5 .emdrtool-sud-choice:not(.is-selected):not([aria-pressed="true"]):focus-visible{
    background:linear-gradient(180deg,var(--emdr-bg-1),var(--emdr-bg-2)) !important;
    border-color:var(--emdr-primary) !important;
    box-shadow:0 15px 30px rgba(36,49,47,.10),0 0 0 3px var(--emdr-track-soft) !important;
}

/* v5.11.451: desktop-only Step 4 transition refinement.
   Keep the theme-tinted grey/beige transition, but fade it both vertically and
   horizontally. The overlap and small blur remove the visible cut-off at the
   left and right card edges. Mobile and coarse-pointer layouts are untouched. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-panel,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-panel > form{
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

@media (hover:hover) and (pointer:fine){
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-card,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-focus-grid{
        position:relative;
        isolation:isolate;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-card::after,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-focus-grid::after{
        content:"";
        position:absolute;
        left:-34px;
        right:-34px;
        top:calc(100% - 13px);
        height:76px;
        pointer-events:none;
        z-index:-1;
        background:radial-gradient(
            ellipse 54% 100% at 50% 0%,
            color-mix(in srgb, var(--emdr-bg-2) 74%, transparent) 0%,
            color-mix(in srgb, var(--emdr-bg-2) 52%, transparent) 30%,
            color-mix(in srgb, var(--emdr-bg-2) 25%, transparent) 62%,
            transparent 100%
        );
        filter:blur(6px);
        opacity:.86;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-focus-grid::after{
        top:calc(100% - 11px);
        height:62px;
        opacity:.70;
        background:radial-gradient(
            ellipse 54% 100% at 50% 0%,
            color-mix(in srgb, var(--emdr-bg-2) 62%, transparent) 0%,
            color-mix(in srgb, var(--emdr-bg-2) 40%, transparent) 34%,
            color-mix(in srgb, var(--emdr-bg-2) 17%, transparent) 66%,
            transparent 100%
        );
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-card{
        box-shadow:
            0 12px 34px -28px rgba(36,49,47,.16),
            inset 0 1px 0 rgba(255,255,255,.58) !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-focus-card{
        box-shadow:
            0 10px 28px -25px rgba(36,49,47,.13),
            inset 0 1px 0 rgba(255,255,255,.46) !important;
    }
}


/* v5.11.450: desktop Step 4 overlay stacking fix.
   The desktop settings panel and the soundscape/guiding-sounds dropdowns should
   open above the lower Target/Anchor cards instead of behind them. Create a
   higher stacking layer for the session card and toolbar only on desktop, while
   keeping the lower info row on a lower layer. Mobile remains untouched. */
@media (hover:hover) and (pointer:fine){
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-card{
        position:relative;
        z-index:20;
        overflow:visible !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-toolbar,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-group,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-settings-disclosure{
        position:relative;
        z-index:25;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-group .emdrtool-options-pop,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-settings-panel{
        z-index:80 !important;
    }

    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-focus-grid,
    .emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4.is-fullscreen .emdrtool-session-footer{
        position:relative;
        z-index:5;
    }
}

/* v5.11.443: on desktop, the 0–10 scale line is also a large, clickable
   target. The visible line stays slim, while the pseudo-element creates a
   forgiving hit area without changing the layout. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android)
[data-emdr-sud-scale-line]{
    position:relative;
    cursor:pointer;
    transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android)
[data-emdr-sud-scale-line]::before{
    content:"";
    position:absolute;
    z-index:1;
    left:0;
    right:0;
    top:50%;
    height:28px;
    transform:translateY(-50%);
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android)
[data-emdr-sud-scale-line]:hover{
    opacity:1;
    transform:scaleY(1.55);
    box-shadow:0 0 0 4px var(--emdr-track-soft);
}

/* v5.11.445: desktop Step 4 audio controls use one cohesive split-control
   surface. The left portion remains the on/off control and the trailing
   chevron remains a separate options button, but both now sit inside the
   same rounded card with one quiet outline. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4{
    --emdr-desktop-control-line:rgba(89,108,158,.18);
    --emdr-desktop-control-fill:rgba(255,255,255,.74);
    --emdr-desktop-switch-fill:rgba(89,108,158,.08);
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group{
    gap:0 !important;
    min-height:50px !important;
    padding:0 !important;
    border:1px solid var(--emdr-desktop-control-line) !important;
    border-radius:999px !important;
    background:var(--emdr-desktop-control-fill) !important;
    box-shadow:0 10px 24px rgba(18,27,55,.08) !important;
    overflow:visible !important;
    transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group:hover,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group:focus-within{
    border-color:var(--emdr-desktop-control-line) !important;
    background:rgba(255,255,255,.86) !important;
    box-shadow:0 12px 27px rgba(18,27,55,.10) !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group .emdrtool-native-audio,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group .emdrtool-native-audio.is-on{
    height:48px !important;
    min-height:48px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:999px 0 0 999px !important;
    background:transparent !important;
    box-shadow:none !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group .emdrtool-btn-gear{
    align-self:center !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:40px !important;
    min-height:40px !important;
    max-height:40px !important;
    margin:4px 4px 4px 0 !important;
    padding:0 !important;
    border:0 !important;
    border-left:1px solid var(--emdr-desktop-control-line) !important;
    border-radius:0 999px 999px 0 !important;
    background:transparent !important;
    color:var(--emdr-ink) !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    transform:none !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group .emdrtool-btn-gear:hover,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-session-group .emdrtool-btn-gear:focus-visible{
    background:rgba(89,108,158,.07) !important;
    border-left-color:var(--emdr-desktop-control-line) !important;
    box-shadow:none !important;
}

/* Use the same restrained outline on the two switches and Settings. The
   active switch keeps the selected scheme fill, while its outline no longer
   clashes with the surrounding control. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-switch,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-native-audio.is-on .emdrtool-switch{
    border:1px solid var(--emdr-desktop-control-line) !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-switch{
    background:var(--emdr-desktop-switch-fill) !important;
    box-shadow:none !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-native-audio.is-on .emdrtool-switch{
    background:linear-gradient(90deg,var(--emdr-primary),var(--emdr-progress-accent,#72b4ff)) !important;
    box-shadow:0 5px 10px rgba(18,27,55,.10) inset !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-toggle{
    border-color:var(--emdr-desktop-control-line) !important;
    background:var(--emdr-desktop-control-fill) !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-disclosure[open] > .emdrtool-settings-toggle,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-toggle:hover,
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-toggle:focus-visible{
    border-color:var(--emdr-desktop-control-line) !important;
    background:rgba(255,255,255,.86) !important;
    box-shadow:0 12px 27px rgba(18,27,55,.10) !important;
}

/* v5.11.445: desktop fullscreen must cover the actual browser viewport.
   The custom mobile viewport unit can be slightly short on desktop after a
   resize, which exposed a differently coloured page strip below Step 5. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).is-fullscreen{
    inset:0 !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:0 !important;
    width:auto !important;
    height:auto !important;
    min-height:100vh !important;
    min-height:100dvh !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).is-fullscreen::before{
    inset:-160px -32px -220px -32px !important;
}

/* v5.11.445: make the desktop Settings control exactly as tall as the
   Soundscape/Guiding-sounds split controls while preserving a true circle.
   Width and height are locked together because older narrow-desktop rules
   could otherwise compress only one dimension. */
.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-disclosure{
    box-sizing:border-box !important;
    width:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    flex:0 0 50px !important;
}

.emdrtool-wrap:not(.emdrtool-platform-mobile):not(.emdrtool-platform-ios):not(.emdrtool-platform-android).emdrtool-step-4
.emdrtool-settings-toggle{
    box-sizing:border-box !important;
    width:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    aspect-ratio:1 / 1 !important;
    flex:0 0 50px !important;
    padding:0 !important;
    border-radius:50% !important;
    overflow:hidden !important;
}

