
.soucca-reader {
--blue: #006fa1;
--navy: #123c54;
--soft: #edf7fc;
--muted: #586f7d;
color: var(--navy);
font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
min-height: 0;
padding: 40px 24px 56px;
line-height: 1.6
}

.soucca-reader * {
box-sizing: border-box
}

.sr-wrap {
max-width: 1140px;
margin: auto
}

.soucca-reader button,
.soucca-reader select,
.soucca-reader a {
font: inherit
}

.soucca-reader button,
.soucca-reader a,
.soucca-reader select {
-webkit-tap-highlight-color: transparent
}

.soucca-reader button,
.soucca-reader select {
cursor: pointer
}

.soucca-reader button,
.soucca-reader a {
transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s cubic-bezier(.2, .8, .2, 1)
}

.soucca-reader button:active {
transform: scale(.97)
}

.soucca-reader button:focus-visible,
.soucca-reader a:focus-visible,
.soucca-reader select:focus-visible {
outline: 3px solid #c28a21;
outline-offset: 4px
}

.sr-intro {
display: flex;
align-items: center;
gap: 48px;
justify-content: space-between;
margin-bottom: 28px
}

.sr-kicker {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 11px;
font-weight: 800;
letter-spacing: 1.8px;
text-transform: uppercase;
color: #00779f
}

.sr-kicker:before {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
background: #ddb762
}

.sr-intro h1 {
font-size: clamp(28px, 4vw, 44px);
line-height: 1.2;
letter-spacing: -1.7px;
font-weight: 800;
margin: 10px 0
}

.sr-intro p {
font-size: 15px;
color: var(--muted);
max-width: 610px;
margin: 0
}

.sr-progress {
min-width: 174px;
max-width: 260px;
font-size: 12px;
color: var(--muted)
}

.sr-progress b {
font-size: 24px;
letter-spacing: -1px;
color: var(--navy)
}

.sr-track {
height: 5px;
background: #dce8ee;
border-radius: 5px;
margin: 8px 0
}

.sr-track span {
display: block;
background: #1590bc;
height: 100%;
border-radius: 5px;
max-width: 100%
}

.sr-resume {
border: 0;
color: var(--blue);
background: transparent;
padding: 6px 0;
font-size: 12px !important;
text-align: left;
font-weight: 700 !important
}

.sr-shell {
padding: 6px;
background: #e7eff4;
border-radius: 24px;
box-shadow: 0 12px 42px #123d5410
}

.sr-menu {
display: grid;
grid-template-columns: 1.2fr 1fr 1fr;
gap: 8px;
background: white;
border-radius: 19px;
padding: 14px
}

.sr-field {
padding: 2px 14px;
border-right: 1px solid #edf2f5;
min-width: 0
}

.sr-field:last-child {
border: 0
}

.sr-field label {
display: block;
font-size: 10px;
letter-spacing: 1.6px;
text-transform: uppercase;
font-weight: 800;
color: #68808d;
margin-bottom: 2px
}

.sr-field select {
color: var(--navy);
width: 100%;
border: 0;
background: transparent;
font-size: 15px;
font-weight: 700;
min-height: 38px;
max-width: 100%
}

.sr-current {
display: flex;
gap: 24px;
align-items: flex-start;
justify-content: space-between;
padding: 30px 4px 24px
}

.sr-position {
font-size: 12px;
color: var(--blue);
font-weight: 700;
margin-bottom: 8px;
text-transform: uppercase;
}

.sr-current h2 {
font-size: clamp(23px, 3vw, 32px);
line-height: 1.35;
letter-spacing: -.8px;
margin: 0;
max-width: 770px
}

.sr-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
padding-top: 24px
}

.sr-btn {
min-height: 46px;
border: 0;
border-radius: 100px;
display: inline-flex;
gap: 10px;
align-items: center;
justify-content: center;
background: white;
color: var(--navy);
padding: 11px 20px;
font-size: 13px !important;
font-weight: 700 !important;
box-shadow: 0 3px 12px #17394f08;
text-decoration: none
}

.sr-btn:hover {
background: #e6f3fa;
transform: translateY(-2px)
}

.sr-icon {
width: 24px;
height: 24px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 17px
}

.sr-tabs {
display: flex;
padding: 5px;
background: #e5edf2;
border-radius: 100px;
gap: 5px;
width: fit-content;
margin: 0 auto 25px
}

.sr-tabs button {
border: 0;
border-radius: 100px;
background: transparent;
padding: 12px 25px;
color: #55707f;
font-size: 13px;
font-weight: 700;
min-height: 46px
}

.sr-tabs button[aria-selected=true] {
background: white;
box-shadow: 0 4px 12px #0d314f12;
color: var(--blue)
}

.sr-stage {
animation: sr-in .4s cubic-bezier(.2, .8, .2, 1)
}

@keyframes sr-in {
from {
    opacity: 0;
    transform: translateY(8px)
}

to {
    opacity: 1;
    transform: translateY(0)
}
}

.sr-picture {
max-width: 820px;
margin: auto;
padding: 7px;
background: white;
border-radius: 23px;
box-shadow: 0 18px 60px #10394a12
}

.sr-picture img {
display: block;
width: 100%;
height: auto;
border-radius: 17px
}

.sr-image-button {
display: block;
width: 100%;
padding: 0;
border: 0;
background: transparent;
cursor: zoom-in !important
}

.sr-caption {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
padding: 12px 12px 7px;
color: var(--muted);
font-size: 12px
}

.sr-caption button {
border: 0;
background: var(--soft);
border-radius: 100px;
padding: 9px 14px;
color: var(--blue);
font-size: 12px;
font-weight: 700;
min-height: 44px
}

.sr-empty {
text-align: center;
padding: 70px 25px;
max-width: 700px;
margin: auto;
background: white;
border-radius: 24px
}

.sr-empty h3 {
font-size: 24px;
margin-top: 0
}

.sr-empty p {
color: var(--muted)
}

.sr-text {
max-width: 820px;
margin: auto;
padding: 28px 42px;
background: #fff;
border-radius: 24px;
box-shadow: 0 16px 60px #10394a0a
}

.sr-text>p {
font-size: 17px;
line-height: 1.9
}

.sr-passage {
padding: 23px 0;
border-bottom: 1px solid #eaf0f3
}

.sr-passage:last-child {
border: 0
}

.sr-he {
font-family: 'Noto Serif Hebrew', 'David', serif;
font-size: 27px;
line-height: 1.95;
background: #f0f7fb;
border-radius: 14px;
padding: 12px 20px;
margin-bottom: 17px;
color: #144b69;
text-align: right;
}

.sr-he p {
margin: 0
}

.sr-fr {
font-size: 17px;
line-height: 1.95;
color: #314c5d
}

.sr-fr p {
margin: 7px 0
}

.sr-text strong {
font-weight: 800;
color: #143c55
}

.sr-text em {
font-style: italic
}

.sr-text u {
text-underline-offset: 4px
}

.sr-text mark {
background: #fff0a3;
border-radius: 3px
}

.sr-section {
font-size: 21px;
line-height: 1.5;
font-weight: 700;
color: var(--blue);
padding-top: 25px
}

.sr-section p {
margin: 0 0 8px
}

.sr-end {
max-width: 820px;
margin: 28px auto 0;
text-align: center
}

.sr-finish {
background: #087fae;
color: white;
box-shadow: 0 7px 20px #0077a02a;
padding: 12px 18px 12px 25px;
min-height: 52px
}

.sr-finish:hover {
background: #086c95;
color: white
}

.sr-finish .sr-icon {
background: #ffffff26;
width: 30px;
height: 30px
}

.sr-finish[aria-pressed=true] {
background: #23785e
}

.sr-end small {
display: block;
color: var(--muted);
font-size: 11px;
margin-top: 9px
}

.sr-nextprev {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-top: 28px
}

.sr-navbtn {
border: 0;
border-radius: 18px;
background: white;
text-align: left;
padding: 18px 20px;
display: flex;
align-items: center;
gap: 13px;
box-shadow: 0 7px 25px #153c4c08;
min-width: 0;
min-height: 84px;
color: var(--navy)
}

.sr-navbtn.next {
text-align: right;
justify-content: flex-end
}

.sr-navbtn strong {
display: block;
font-size: 14px
}

.sr-navbtn small {
margin: 3px 0 0;
font-size: 11px
}

.sr-navbtn .sr-icon {
background: #e8f4fb;
flex-shrink: 0;
width: 32px;
height: 32px;
color: var(--blue)
}

.sr-navbtn:hover:enabled {
background: #eaf5fb;
transform: translateY(-2px)
}

.sr-navbtn:disabled {
opacity: .4;
cursor: default
}

.sr-top {
margin: 22px auto 0;
border: 0;
background: transparent;
color: var(--blue);
font-size: 13px !important;
padding: 12px;
min-height: 44px
}

.sr-sharebox {
border: 0;
border-radius: 24px;
padding: 26px;
max-width: 440px;
width: calc(100% - 36px);
box-shadow: 0 20px 100px #032c4650;
color: var(--navy);
font: 14px 'Plus Jakarta Sans', 'Segoe UI', sans-serif
}

.sr-sharebox::backdrop,
.sr-zoom::backdrop {
background: #092535c9;
backdrop-filter: blur(5px)
}

.sr-sharebox h3 {
font-size: 21px;
margin: 0 0 8px
}

.sr-sharebox p {
color: var(--muted);
font-size: 13px
}

.sr-sharelinks {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 22px 0 12px
}

.sr-sharebox input {
width: 100%;
padding: 12px;
border: 1px solid #cfe2ed;
border-radius: 10px;
color: var(--muted)
}

.sr-zoom {
border: 0;
padding: 0;
width: 95vw;
max-width: 1200px;
max-height: 94dvh;
border-radius: 16px;
background: #eef4f7;
overflow: auto
}

.sr-zoom .sr-zoom-tools {
position: sticky;
top: 0;
background: #ffffffee;
padding: 8px 12px;
display: flex;
gap: 8px;
justify-content: space-between;
z-index: 1
}

.sr-zoom img {
display: block;
width: 100%;
height: auto;
max-width: none
}

.sr-zoom img.enlarged {
width: 180%
}

.sr-live {
font-size: 12px;
color: var(--muted);
min-height: 20px;
text-align: center;
margin: 8px auto
}

.soucca-reader [hidden] {
display: none !important
}

.sr-print {
display: none
}

@media(max-width:650px) {
.soucca-reader {
    padding: 24px 14px 30px
}

.sr-intro {
    display: block;
    margin-bottom: 20px
}

.sr-intro h1 {
    font-size: 29px;
    letter-spacing: -1px
}

.sr-intro p {
    font-size: 13px
}

.sr-progress {
    margin-top: 18px;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px
}

.sr-progress b {
    font-size: 16px
}

.sr-track {
    flex: 1;
    min-width: 80px
}

.sr-resume {
    width: 100%;
    padding: 0
}

.sr-menu {
    gap: 0;
    padding: 10px 3px
}

.sr-field {
    padding: 0 8px
}

.sr-field label {
    font-size: 9px;
    letter-spacing: .9px
}

.sr-field select {
    font-size: 12px
}

.sr-shell {
    border-radius: 19px;
    padding: 4px
}

.sr-menu {
    border-radius: 15px
}

.sr-current {
    display: block;
    padding: 24px 2px 16px
}

.sr-current h2 {
    font-size: 24px
}

.sr-actions {
    padding-top: 14px
}

.sr-actions .sr-btn {
    font-size: 12px !important;
    min-height: 42px;
    padding: 9px 16px
}

.sr-tabs {
    width: 100%;
    margin-bottom: 18px
}

.sr-tabs button {
    flex: 1;
    padding: 10px 8px;
    font-size: 12px
}

.sr-picture {
    padding: 4px;
    border-radius: 14px
}

.sr-picture img {
    border-radius: 10px
}

.sr-caption {
    font-size: 10px;
    padding: 9px 7px 5px
}

.sr-caption button {
    font-size: 11px;
    padding: 8px 12px
}

.sr-text {
    padding: 9px 19px 20px;
    border-radius: 18px
}

.sr-he {
    font-size: 24px;
    padding: 10px 14px
}

.sr-fr {
    font-size: 16px;
    line-height: 1.9
}

.sr-navbtn {
    padding: 14px 11px;
    gap: 6px
}

.sr-navbtn strong {
    font-size: 12px
}

.sr-navbtn small {
    font-size: 10px
}

.sr-navbtn .sr-icon {
    width: 26px;
    height: 26px
}

.sr-end {
    margin-top: 22px
}

.sr-finish {
    font-size: 13px !important
}

.sr-section {
    font-size: 19px
}
}

@media(prefers-reduced-motion:reduce) {
.soucca-reader * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
}
}

@media print {
.soucca-reader {
    background: white;
    padding: 0
}

.sr-intro,
.sr-shell,
.sr-actions,
.sr-tabs,
.sr-end,
.sr-live,
dialog {
    display: none !important
}

.sr-text {
    display: block !important;
    box-shadow: none;
    padding: 0
}

.sr-picture {
    box-shadow: none;
    max-width: 600px
}

.sr-passage {
    break-inside: avoid
}

.sr-current {
    padding: 0 0 15px
}
}