/* R5.4 — Studio et médiathèque, contraste clair, lecture et saisie côte à côte. */
.r54-mode .r54-shell{display:grid;grid-template-columns:minmax(310px,385px) minmax(0,1fr);gap:18px;align-items:start}
.r54-mode .r53-layout{grid-template-columns:minmax(0,1fr)}
.r54-mode .r53-aside{position:static;padding:13px 17px}
.r54-mode .r53-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
.r54-mode .r53-nav a{padding:10px;font-size:.88rem}
.r54-mode .r53-main{margin-top:16px}
.r54-panel{background:var(--r53-paper,#fff);border:1.5px solid var(--r53-border,#cbd5e1);box-shadow:0 5px 25px rgba(20,42,68,.1);border-radius:17px;padding:clamp(15px,2vw,23px);position:sticky;top:18px;max-height:calc(100vh - 38px);overflow-y:auto;scrollbar-width:thin;color:var(--r53-text,#243449);z-index:5}
.r54-panel-heading{padding-bottom:15px;border-bottom:1px solid var(--r53-border,#ced7e3);margin-bottom:16px}.r54-eyebrow{font-size:.76rem;letter-spacing:.07em;font-weight:800;color:#ab202c}.r54-panel h2{font-size:clamp(1.2rem,2vw,1.48rem);margin:7px 0;font-weight:850;color:var(--r53-text,#243449)}.r54-panel-heading p{font-size:.94rem;line-height:1.55;color:var(--r53-muted,#536578);margin:0}.r54-message{padding:12px 14px;border:1px solid #b9d5ca;background:#eef8f3;color:#1a5945;border-radius:9px;font-size:.92rem;margin:12px 0;line-height:1.4}.r54-message.r54-error{background:#fff0f1;color:#982b34;border-color:#e8afb4}
.r54-panel .form-control,.r54-panel .form-select{font-size:1rem;min-height:47px;border:1.5px solid var(--r53-border,#ced7e3);background:var(--r53-paper,#fff);color:var(--r53-text,#243449);border-radius:9px;padding:10px 13px;max-width:100%}.r54-panel .form-control:focus,.r54-panel .form-select:focus{border-color:#b4232c;box-shadow:0 0 0 3px #b4232c20}.r54-field-label,.r54-speed label{display:block;font-size:.88rem;font-weight:750;margin:15px 0 7px}
#r54AudioElement{display:none}.r54-timeline{display:flex;align-items:center;gap:8px;margin:21px 0 12px;font-variant-numeric:tabular-nums}.r54-timeline span{font-size:.83rem;color:var(--r53-muted,#536578);white-space:nowrap;min-width:40px}.r54-timeline input{min-width:0;flex:1;accent-color:#b4232c;cursor:pointer;height:24px}.r54-buttons{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:7px}.r54-buttons .btn{min-height:48px;font-size:.91rem;font-weight:750;padding:8px 5px;border-radius:9px}.r54-buttons .btn-primary{background:#b4232c;border-color:#b4232c}.r54-buttons .btn-primary:hover{background:#921a23}.r54-speed{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:14px 0}.r54-speed label{margin:0}.r54-speed select{max-width:110px}.r54-keyhelp{font-size:.76rem;line-height:1.45;color:var(--r53-muted,#64748b);padding-bottom:15px;border-bottom:1px solid var(--r53-border,#ced7e3)}
.r54-marker-section{margin-top:18px}.r54-marker-section h3{font-size:1.05rem;font-weight:800;margin:0 0 7px}.r54-marker-section>p{font-size:.88rem;line-height:1.5;color:var(--r53-muted,#536578)}.r54-current-question{padding:9px 12px;font-size:.87rem;background:var(--r53-base,#f5f7fa);border-radius:8px;color:var(--r53-text,#243449)}.r54-add-marker{width:100%;margin:13px 0;min-height:45px;font-weight:700}.r54-markers{max-height:260px;overflow-y:auto;display:grid;gap:10px}.r54-marker{border:1px solid var(--r53-border,#cbd5e1);border-left:3px solid #b4232c;border-radius:9px;padding:10px;background:var(--r53-base,#f4f6f9)}.r54-marker-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.r54-jump,.r54-archive{border:0;background:transparent;color:#b4232c;font-size:.87rem;font-weight:800;padding:7px;cursor:pointer}.r54-marker p{font-size:.88rem;line-height:1.5;margin:5px 0;color:var(--r53-text,#243449);overflow-wrap:anywhere}.r54-marker small{font-size:.74rem;color:var(--r53-muted,#667085)}.r54-empty{font-size:.88rem;color:var(--r53-muted,#536578);padding:14px 5px}.r54-privacy{font-size:.77rem;line-height:1.45;color:var(--r53-muted,#536578);border-top:1px solid var(--r53-border,#cbd5e1);padding-top:14px;margin-top:16px}
.r54-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.r54-question-pin{background:transparent;border:1px solid var(--r53-border,#ced7e3);padding:9px 12px;border-radius:8px;min-height:42px;color:#a11c2b;font-size:.88rem;font-weight:730;cursor:pointer}.r54-question-pin:hover,.r54-question-pin.r54-selected{background:#fff0f1;border-color:#b4232c;color:#94121e}.r54-mode .r53-recorded audio{display:none}
.r54-library{padding:clamp(15px,2.5vw,28px);max-width:1500px;margin:auto;color:var(--r53-text,#243449)}.r54-library-hero{border-radius:17px;padding:27px;background:linear-gradient(120deg,#24364c,#384e6d);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.r54-library-hero h1{font-size:clamp(1.5rem,2.5vw,2rem);color:#fff;margin:5px 0;font-weight:800}.r54-library-hero small{color:#f5b9bd;font-weight:800}.r54-library-hero p{color:#e0e6ef;margin:0}.r54-library-toolbar{display:grid;gap:10px;grid-template-columns:1fr;max-width:720px;background:#fff;padding:19px;border:1px solid #cbd5e1;border-radius:12px;margin:17px 0}.r54-library-toolbar label{font-weight:750}.r54-library-toolbar input{min-height:50px;border-color:#aab8c8}.r54-library-toolbar span{font-size:.85rem;color:#536578}.r54-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}.r54-library-card{background:#fff;border:1px solid #cbd5e1;border-radius:13px;padding:20px;display:flex;flex-direction:column;gap:11px;box-shadow:0 3px 12px #19304910}.r54-library-card h2{font-size:1.15rem;font-weight:800;margin:0;line-height:1.45;color:#243449}.r54-library-card p{color:#536578;line-height:1.5;margin:0}.r54-library-top{display:flex;justify-content:space-between;gap:9px;align-items:center}.r54-library-code{background:#fff0f1;color:#a11c2b;border-radius:7px;font-weight:800;padding:7px 11px}.r54-library-meta{font-size:.81rem;color:#536578}.r54-library-details{display:grid;gap:4px;color:#536578;font-size:.83rem}.r54-library-card .btn{margin-top:auto;min-height:48px;display:flex;align-items:center;justify-content:center}.r54-library-card[hidden]{display:none}.r54-library-empty{padding:20px;background:#fff;border:1px solid #cbd5e1;border-radius:12px}
@media(max-width:1200px){.r54-mode .r54-shell{grid-template-columns:minmax(280px,330px) minmax(0,1fr)}}
@media(max-width:970px){.r54-mode .r54-shell{display:block}.r54-mode .r54-panel{position:sticky;top:auto;bottom:0;max-height:none;overflow:visible;margin:0 0 16px}.r54-mode .r53-layout{grid-template-columns:1fr}.r54-mode .r54-panel{position:relative}.r54-mode .r53-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.r54-library-hero{flex-direction:column;align-items:stretch}.r54-mode .r54-shell{display:block}.r54-mode .r53-main{padding:14px}.r54-panel{padding:16px}.r54-buttons .btn{font-size:.87rem}.r54-speed select{max-width:100px}.r54-keyhelp{display:none}}

.r54-mobile-transport{display:none}
@media(max-width:970px){.r54-mode{padding-bottom:85px}.r54-mobile-transport{position:fixed;bottom:0;left:0;right:0;z-index:999;display:flex;justify-content:center;align-items:center;gap:12px;padding:10px 13px;background:#243449;color:#fff;box-shadow:0 -3px 18px #111f3340;border-radius:11px 11px 0 0;min-height:63px}.r54-mobile-transport button{background:transparent;border:1px solid #8093a8;border-radius:9px;color:#fff;min-width:46px;min-height:43px;font-weight:800}.r54-mobile-transport #r54MobilePlay{background:#b4232c;border-color:#b4232c}.r54-mobile-transport span{font-variant-numeric:tabular-nums;font-weight:800;min-width:52px;text-align:center}.r54-mode .r53-mini-rec:not([hidden]){bottom:72px}}

/* R5.4 HOTFIX 01 — speed control native and visible confirmation. */
.r54-speed{flex-wrap:wrap}.r54-speed .r54-effective-rate{font-size:.82rem;color:#185c45;font-weight:750;min-width:100%;text-align:right}.r54-speed #r54Rate{min-width:112px;border-color:#98abc3;background-color:#fff;cursor:pointer}.r54-speed #r54Rate:focus-visible{outline:2px solid #b4232c;outline-offset:2px}
