.dj-stage-reading-assist{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;z-index:30;display:grid;grid-gap:var(--rj-ref-space-3-5);gap:var(--rj-ref-space-3-5);width:min(300px,calc(100vw - 24px));padding:var(--rj-ref-space-3-5);border:1px solid var(--dj-line);border-radius:var(--rj-ref-radius-lg);background:var(--paper);box-shadow:0 18px 44px color-mix(in srgb,var(--dj-ink) 18%,transparent)}.dj-stage-reading-assist-control{display:grid;grid-gap:var(--rj-ref-space-1-5);gap:var(--rj-ref-space-1-5);min-width:0}.dj-stage-reading-assist-label{color:var(--dj-ink-soft);font-size:var(--dj-stage-text-caption);font-weight:700}.dj-stage-reading-assist-note{margin:0;color:var(--dj-ink-muted);font-size:var(--dj-stage-text-sync);line-height:1.65}.dj-stage-reading-assist :is(.dj-settings-language-group,.dj-settings-ruby-group){--rj-control-segment-min:0px;display:grid;width:100%;grid-gap:var(--rj-ref-space-0-5);gap:var(--rj-ref-space-0-5);padding:var(--rj-ref-space-0-5);border-radius:var(--rj-ref-radius-base);grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}.dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option){min-block-size:34px;padding:var(--rj-ref-space-1) var(--rj-ref-space-1-5);border-radius:var(--rj-ref-radius-sm);color:var(--dj-ink-soft);font-size:var(--dj-stage-text-caption);line-height:1.4;white-space:nowrap}.dj-stage-reading-assist .dj-language-option>span:first-child{white-space:normal;overflow-wrap:anywhere}.dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option)[aria-checked=true]{background:var(--dj-accent-dark);color:var(--dj-stage-reading-selected-foreground);border-color:var(--dj-accent-dark)}.dj-stage-reading-assist .dj-ruby-option[aria-checked=true] .dj-ruby-choice-state{color:inherit}.dj-stage-head .dj-stage-reading-assist{border-color:var(--dj-head-menu-line);border-radius:var(--rj-ref-radius-lg);background:var(--dj-head-control-bg);box-shadow:var(--dj-head-menu-shadow);white-space:normal}.dj-stage-head .dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option){gap:var(--rj-ref-space-1-5);min-block-size:36px;border-radius:var(--dj-head-menu-item-radius);color:var(--dj-ink);font-size:var(--rj-ref-type-label);font-weight:400}.dj-stage-head .dj-stage-reading-assist .dj-ruby-choice-state{font-weight:inherit}.dj-stage-head .dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option)[aria-checked=true]{border-color:transparent;background:transparent;color:var(--dj-ink)}.dj-stage-head .dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option)[aria-checked=true]:after{content:"";flex:none;width:14px;height:14px;background:var(--dj-accent-dark);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5'/%3E%3C/svg%3E") center /contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5'/%3E%3C/svg%3E") center /contain no-repeat}.dj-stage-status-bar{--dj-stage-status-color:var(--dj-ink-soft);--dj-stage-status-surface-color:var(--dj-ink);--dj-stage-status-border-strength:14%;--dj-stage-status-bg-strength:3%;display:flex;align-items:baseline;gap:var(--rj-ref-space-2);padding:var(--rj-ref-space-2-5) var(--rj-ref-space-3);border:1px solid color-mix(in srgb,var(--dj-stage-status-surface-color) var(--dj-stage-status-border-strength),transparent);border-radius:var(--rj-ref-radius-md);background:color-mix(in srgb,var(--dj-stage-status-surface-color) var(--dj-stage-status-bg-strength),transparent);color:var(--dj-stage-status-color);font-size:var(--rj-ref-type-label);line-height:1.65}.dj-stage-status-bar[data-tone=ng]{--dj-stage-status-color:var(--dj-ng);--dj-stage-status-border-strength:32%;--dj-stage-status-bg-strength:6%}.dj-stage-status-bar[data-tone=info]{--dj-stage-status-color:var(--rj-ref-color-indigo);--dj-stage-status-border-strength:26%;--dj-stage-status-bg-strength:6%}.dj-stage-status-bar[data-tone=ok]{--dj-stage-status-color:var(--rj-dojo-stage-status-ok);--dj-stage-status-border-strength:30%;--dj-stage-status-bg-strength:7%}.dj-stage-status-bar:is([data-tone=ng],[data-tone=info],[data-tone=ok]){--dj-stage-status-surface-color:var(--dj-stage-status-color)}.dj-stage-status-label{font-weight:700;white-space:nowrap}.dj-stage-status-message{flex:1 1;min-width:0}.dj-stage-status-action{flex-shrink:0;font-weight:700;white-space:nowrap}.dj-stage-run-status-actions{display:inline-flex;flex-wrap:wrap;gap:var(--rj-ref-space-2)}.dj-stage-status-action :is(button,a){-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}.dj-stage-status-action :is(button,a):focus-visible{outline:2px solid currentColor;outline-offset:3px}@media (max-width:1023px){.dj-stage-reading-assist{width:min(262px,calc(100vw - 24px))}.dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option){min-block-size:44px}.dj-stage-head .dj-stage-reading-assist :is(.dj-language-option,.dj-ruby-option){min-block-size:44px}.dj-stage-status-bar{flex-wrap:wrap}.dj-stage-status-action{-webkit-margin-start:auto;margin-inline-start:auto}.dj-stage-status-action :is(button,a){min-block-size:44px;display:inline-flex;align-items:center}}