/* Account and library components. No off-canvas positioning in RTL. */
.rt-auth-portal,.rt-auth-panels,.rt-auth-form,.rt-auth-field{min-width:0;max-width:100%;box-sizing:border-box}
.rt-auth-panels{overflow:hidden;position:relative}
.rt-auth-portal [hidden]{display:none!important}
.rt-auth-portal .rt-auth-hp{display:none!important;position:static!important;inset:auto!important;width:0!important;height:0!important}
.rt-auth-dialog{overflow-x:hidden;overscroll-behavior:contain}
.rt-auth-form input,.rt-auth-form label{min-width:0;max-width:100%}
.rt-auth-tabs button[aria-pressed=true]{background:#fff;color:var(--rt-burgundy);box-shadow:0 3px 12px rgba(17,37,50,.08)}
.rt-auth-field>label{display:block;margin-bottom:6px}
.rt-password{position:relative;min-width:0}
.rt-password input{padding-left:54px!important;direction:ltr;text-align:left}
.rt-password-toggle{position:absolute;left:4px;top:3px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:var(--rt-slate);cursor:pointer}
.rt-password-toggle:hover{background:var(--rt-paper);color:var(--rt-burgundy)}
.rt-password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rt-eye-slash{display:none}.rt-password-toggle[aria-pressed=true] .rt-eye-slash{display:block}
.rt-save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:100%;padding:7px 12px;border:1px solid rgba(113,0,20,.25);border-radius:11px;background:#fff;color:var(--rt-burgundy);font:inherit;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}
.rt-save-button svg{width:18px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;flex:none}
.rt-save-button[aria-pressed=true]{color:#fff;background:var(--rt-burgundy);border-color:var(--rt-burgundy)}
.rt-save-button[aria-pressed=true] svg{fill:currentColor}
.rt-save-button:disabled{opacity:.6;cursor:wait}
.rt-save-toast{position:fixed;z-index:1000;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 18px;border-radius:13px;background:var(--rt-navy);color:#fff;box-shadow:0 12px 30px #0003;font-size:14px;text-align:center}
.rt-save-toast:empty{display:none}
.rt-dashboard-page{padding-block:48px 70px}
.rt-dashboard{min-width:0;max-width:100%}
.rt-dashboard__header{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:30px}
.rt-dashboard h1{font-size:clamp(30px,4vw,48px);line-height:1.4;margin:4px 0 12px}
.rt-dashboard__header p{margin:0;color:var(--rt-slate);max-width:650px}
.rt-dashboard__tools{display:flex;flex-direction:column;gap:6px;flex:none}
.rt-saved-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fff;border:1px solid rgba(17,37,50,.1);border-radius:16px}
.rt-saved-tabs a{display:flex;gap:10px;align-items:center;justify-content:center;min-height:46px;padding:8px 15px;color:var(--rt-slate);border-radius:10px;font-weight:750;font-size:14px}
.rt-saved-tabs span{font-size:12px;min-width:23px;padding:0 6px;text-align:center;border-radius:6px;background:var(--rt-paper);color:var(--rt-navy)}
.rt-saved-tabs a[aria-current=page]{background:var(--rt-navy);color:#fff}
.rt-saved-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:22px 0 28px}
.rt-saved-filters label{display:grid;gap:6px;font-size:13px;color:var(--rt-slate);min-width:180px}
.rt-saved-filters select{min-height:46px;border:1px solid rgba(17,37,50,.18);border-radius:10px;background:#fff;color:var(--rt-ink);font:inherit;padding:8px 12px;max-width:100%}
.rt-dashboard__status:empty{display:none}.rt-dashboard__status{padding:12px;background:#fff;border:1px solid var(--rt-mist);border-radius:10px;margin:15px 0}
.rt-saved-date{font-size:16px;color:var(--rt-slate);font-weight:700;margin:30px 0 12px;display:flex;align-items:center;gap:15px}
.rt-saved-date:after{content:'';height:1px;background:rgba(17,37,50,.12);flex:1}
.rt-saved-item{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid rgba(17,37,50,.1);border-radius:16px;padding:14px;margin-bottom:12px}
.rt-saved-item__image{width:112px;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--rt-navy);color:var(--rt-mist);display:grid;place-items:center;font-weight:900;font-size:26px}
.rt-saved-item__image img{width:100%;height:100%;object-fit:cover}
.rt-saved-item__body{min-width:0}.rt-saved-item h3{font-size:clamp(16px,2vw,20px);line-height:1.6;margin:3px 0;overflow-wrap:anywhere}.rt-saved-item time{font-size:12px;color:var(--rt-slate)}.rt-saved-type{font-size:11px;color:var(--rt-burgundy);font-weight:800}
.rt-saved-empty{text-align:center;padding:48px 24px;background:#fff;border:1px dashed var(--rt-mist);border-radius:20px}.rt-saved-empty>span{font-size:44px;color:var(--rt-burgundy)}.rt-saved-empty h2{font-size:clamp(22px,3vw,30px);margin:10px 0}.rt-saved-empty p{max-width:560px;margin:0 auto 22px;color:var(--rt-slate)}
.rt-saved-pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:25px}.rt-saved-pagination a{min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--rt-mist);border-radius:9px}.rt-saved-pagination [aria-current=page]{background:var(--rt-navy);color:#fff}
@media(max-width:700px){.rt-dashboard-page{padding-block:28px 45px}.rt-dashboard__header{display:block}.rt-dashboard__tools{flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:20px}.rt-dashboard__tools .rt-btn{width:auto}.rt-saved-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.rt-saved-tabs a{padding:8px;font-size:12px;gap:7px}.rt-saved-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rt-saved-filters label{min-width:0}.rt-saved-filters .rt-btn{grid-column:1/-1}.rt-saved-item{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px}.rt-saved-item__image{width:72px;aspect-ratio:1}.rt-saved-item>.rt-save-button{grid-column:2;justify-self:start}.rt-saved-empty{padding:30px 18px}.rt-auth-dialog{padding:18px!important}.rt-auth-tabs{gap:4px}.rt-save-toast{font-size:13px}}
@media(prefers-reduced-motion:reduce){.rt-auth-portal *{animation:none!important;transition:none!important}}
