/* Story words remain inline text, with a deliberate hold or explicit marking mode. */
.story-word{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;border-radius:.12em}.story-word.sight-word{text-decoration:underline;text-decoration-color:#ae7bc4;text-decoration-thickness:2px;text-underline-offset:.17em;background:#f5e4ff66}.story-word.word-active{background:#ffe39a}.storytext[data-word-mode=on] .story-word{cursor:pointer}.story-word:focus-visible{outline:2px solid #774c95;outline-offset:3px}.word-mode-toggle{margin-left:auto!important;min-height:36px!important;font-size:12px!important;padding:7px 10px!important}.word-mode-toggle .ui-icon{width:17px;height:17px}.word-mode-toggle[aria-pressed=true]{background:#e6d5f2}.word-dialog{width:min(420px,calc(100vw - 32px));max-height:85dvh;box-sizing:border-box;border:1px solid #d4b8de;border-radius:24px;padding:28px;background:#fff9ee;color:#452453;box-shadow:0 24px 80px #160b3655}.word-dialog::backdrop{background:#26133870;backdrop-filter:blur(4px)}.word-dialog h2{font-size:38px;margin:0 0 12px;overflow-wrap:anywhere}.word-dialog p{font:16px/1.6 system-ui,sans-serif}.word-dialog-actions{display:flex;gap:14px;margin:24px 0}.word-dialog-actions button{flex:1;margin:0!important;font-size:17px;padding:14px!important}.word-dialog-close{margin-top:16px}.word-dialog [role=status]:empty{display:none}
.word-settings,.word-report{padding:26px;border:1px solid #dfcce6;border-radius:20px;margin:28px 0;background:#fffcf7}.word-settings h2,.word-report h2{margin:0 0 24px}.word-settings label{font-size:16px;font-weight:700}.word-settings textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0 20px;border:1px solid #cdb4dc;border-radius:12px;padding:16px;font:inherit;font-size:18px;line-height:1.65;resize:vertical;color:#452453;background:#fff}.word-check{display:flex;align-items:center;gap:12px}.word-check input{width:21px;height:21px;accent-color:#8553a5;flex:none}.word-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:22px}.word-actions>button,.word-actions>p{margin:0!important}.word-actions p{font-size:15px;line-height:1.6;flex:1;min-width:180px}.word-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.word-summary span{padding:18px;background:#f1e7f6;border-radius:14px;font-size:13px;line-height:1.7}.word-summary strong{display:block;font-size:26px}.word-patterns{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 24px}.word-patterns .back{margin:0!important;min-height:42px;padding:10px 14px;font-size:14px;box-shadow:none}.word-patterns [aria-pressed=true],.word-practice-tabs [aria-pressed=true]{background:#e4d5f1;border-color:#9265ae}.word-table-wrap{overflow:auto;border:1px solid #e3d3e8;border-radius:12px}.word-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;text-align:left;min-width:560px}.word-table th{background:#f2eaf6;font-size:12px}.word-table th,.word-table td{padding:14px;border-bottom:1px solid #eee2f2}.word-table td:first-child{white-space:nowrap}.word-hear{display:inline-flex;background:none;border:0;color:#77508f;padding:8px;margin-left:8px;vertical-align:middle;cursor:pointer}.word-hear .ui-icon{width:19px;height:19px}.word-today{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.word-today li{display:flex;justify-content:space-between;gap:16px;padding:14px;background:#f4ecf9;border-radius:12px;font-size:14px}.word-empty{padding:28px 12px;line-height:1.7;color:#72557e}.word-practice{max-width:760px}.word-practice>.tiny{margin-top:30px}.word-practice h1{margin:16px 0 24px}.word-practice-tabs{display:flex;gap:12px;margin:20px 0 28px}.word-practice-tabs button{margin:0!important}.word-practice-card{text-align:center;padding:48px 24px;border:1px solid #d9c2e6;border-radius:24px;background:linear-gradient(135deg,#f0e4fa,#fff3d6);margin:20px 0}.practice-word{font-size:clamp(42px,9vw,76px);font-weight:700;line-height:1.3;margin:0 0 32px;overflow-wrap:anywhere}.word-practice-card .back{margin:0}.word-practice-ratings{display:flex;gap:18px}.word-practice-ratings button{flex:1;margin:0!important}.word-practice-seal{display:block;font-size:44px;color:#6a8a45}.word-feedback{min-height:1.7em;line-height:1.7;font-size:15px}.word-practice-progress{margin-bottom:0}
@media(max-width:640px){.word-parent,.word-practice{padding:24px!important}.word-settings,.word-report{padding:20px 16px;margin:24px 0}.word-summary{grid-template-columns:1fr;gap:8px}.word-summary span{display:flex;align-items:center;gap:16px;padding:12px}.word-summary strong{font-size:23px}.word-today{grid-template-columns:1fr}.word-actions{gap:16px}.word-actions>button{width:100%}.word-practice-card{padding:38px 18px}.word-practice-ratings{gap:12px}.word-practice-ratings button{padding:14px 10px!important;font-size:16px}.word-mode-toggle{font-size:11px!important;gap:5px!important;min-height:34px!important}.word-mode-toggle .ui-icon{display:none}.booktop{gap:8px}.bookcount{font-size:11px}.word-practice-tabs button{font-size:15px;padding:12px}.word-dialog{padding:24px}}

.parent-release-footer{margin-top:36px;padding-top:22px;border-top:1px solid #dfd0e5;text-align:center}.parent-release-footer button{font-size:12px;padding:12px;color:#806a89}.release-history>h1{margin-top:28px}.release-entry{padding:24px 0;border-bottom:1px solid #dfd0e5}.release-entry header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.release-entry h2{margin:0;font-size:23px}.release-entry header span{font-size:12px;color:#806a89}.release-entry ul{padding-left:22px;margin:18px 0 0;line-height:1.8}.release-entry li{padding:3px 0;font-size:15px}

.account-entry{margin-top:32px;padding:24px;border:1px solid #ddcae5;border-radius:18px;background:#fffdf7}.account-entry h2{margin:0 0 16px}.account-entry .back{margin-top:16px}.account-form{display:grid;gap:22px;margin-top:28px}.account-form label{display:grid;gap:10px;font-weight:700}.account-form input,.account-form select{width:100%;box-sizing:border-box;min-height:48px;padding:14px;border:1px solid #cdb4dc;border-radius:12px;background:#fff;color:#452453;font:inherit}.account-form .bigbutton{justify-self:start;margin:0}.account-form [role=status]{line-height:1.6;margin:0}

.routine-reading-link{margin:0 0 20px!important;font-size:14px;padding:10px 14px}

/* Shared packs and private custom words stay distinct and easy to scan. */
.word-global-link{font-size:12px;padding:10px 14px;min-height:38px;margin:0 0 14px!important;box-shadow:none}.sight-pack-choices{margin:0 0 24px}.sight-pack-choices>.note{font-size:12px;line-height:1.6;margin:0 0 14px}.sight-pack-choice{padding:14px 16px;border:1px solid #ddcce7;border-radius:12px;background:#f8f2fc;margin:10px 0}.sight-pack-choice .word-check{margin:0}.sight-pack-choice .word-check span{display:grid;gap:4px}.sight-pack-choice strong{font-size:14px}.sight-pack-choice small{font-size:11px;font-weight:400;color:#806a8c}.sight-pack-choice details{margin:10px 0 0 32px}.sight-pack-choice summary{font-size:11px;cursor:pointer;color:#876197}.sight-pack-choice details p{font-size:13px;line-height:1.8;max-width:760px}.word-settings h3{font-size:17px;margin:22px 0 14px}.word-practice-source{display:grid;gap:9px;font-size:13px;font-weight:700;margin:20px 0 26px}.word-practice-source select{width:100%;box-sizing:border-box;min-height:48px;padding:12px 14px;border:1px solid #cbb0da;border-radius:12px;background:#fffdf8;color:#563268;font:400 16px/1.4 system-ui,sans-serif}
.sight-pack-admin{max-width:1060px}.sight-pack-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.sight-pack-heading h1{font-size:32px!important;margin:0 0 12px!important}.sight-pack-heading .note{font-size:13px;margin:0!important;max-width:570px}.sight-pack-heading>div:last-child{display:flex;gap:10px;flex:none}.sight-pack-heading button{font-size:13px;min-height:42px;padding:10px 15px;margin:0!important;box-shadow:none}.sight-pack-catalog{display:grid;gap:12px;margin-top:24px}.sight-pack-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:18px;border:1px solid #dfcde8;border-radius:14px;background:#fffdf8}.sight-pack-row details{min-width:0}.sight-pack-row summary{cursor:pointer;line-height:1.4}.sight-pack-row summary strong{font-size:15px;overflow-wrap:anywhere}.sight-pack-row summary span{display:block;font-size:11px;color:#80668e;margin-top:5px}.sight-pack-word-list{font-size:14px;line-height:1.9;margin:18px 0 0;max-width:760px}.sight-pack-row-actions{display:flex;gap:14px;align-items:flex-start}.sight-pack-row-actions .back{font-size:12px;min-height:36px;padding:8px 12px;margin:0!important;box-shadow:none}.sight-pack-row-actions .word-check{font-size:12px;gap:7px;margin:8px 0 0}.sight-pack-row-actions input{width:17px;height:17px}.sight-pack-editor{display:grid;gap:18px;padding:24px;margin-top:22px;border:1px solid #dbc5e7;border-radius:16px;background:#f8f1fc}.sight-pack-editor h2{font-size:22px;margin:0}.sight-pack-editor>label:not(.word-check){display:grid;gap:9px;font-size:13px;font-weight:700}.sight-pack-editor input:not([type=checkbox]),.sight-pack-editor textarea{box-sizing:border-box;width:100%;border:1px solid #cbb1dc;border-radius:10px;padding:12px 14px;background:white;font:400 16px/1.6 system-ui,sans-serif;color:#452453}.sight-pack-editor textarea{resize:vertical}.sight-pack-editor .note{font-size:12px;margin:0}.sight-pack-editor .word-actions{margin:0;gap:14px}.sight-pack-editor .word-actions button{min-height:42px;padding:11px 16px;font-size:14px;box-shadow:none}.sight-pack-admin #pack-status:empty{display:none}.sight-pack-admin #pack-status{font-size:13px;margin:20px 0 0}
@media(max-width:640px){.sight-pack-heading{flex-direction:column;gap:18px}.sight-pack-heading h1{font-size:28px!important}.sight-pack-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.sight-pack-row-actions{align-items:center;justify-content:flex-end}.sight-pack-row-actions .word-check{margin:0}.sight-pack-editor{padding:18px 16px}.sight-pack-editor .word-actions>button{width:auto}.sight-pack-choice{padding:12px}.sight-pack-choice details{margin-left:0}}

.practice-default-setting{padding:18px;border:1px solid #d8c2e4;border-radius:14px;background:#f4ecf9;margin:0 0 24px}.practice-default-setting>label{display:block;margin-bottom:10px}.practice-default-setting select{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid #c5a5d6;border-radius:10px;background:#fff;color:#563268;font:inherit;font-size:16px}.practice-default-setting .note{font-size:12px;margin:10px 0 0}
