.tcn-app{--blue:var(--tcn-primary,#2f3b2f);--green:var(--tcn-correct,#1f6b3c);--red:var(--tcn-wrong,#a52a22);width:100%;max-width:860px;margin:10px auto;padding:0;font-family:"Times New Roman",Times,"Noto Serif Telugu","Noto Sans Telugu",serif;line-height:1.38;color:#20231f;background:var(--tcn-app-bg,#f7f8f2);box-sizing:border-box}.tcn-app *{box-sizing:border-box}.tcn-title{margin:0 0 8px;padding:0 2px;text-align:center;font-size:clamp(22px,5.5vw,30px);line-height:1.15;font-weight:900;color:#2f3538}.tcn-card{border:1px solid #d6dbd3;border-radius:13px;padding:14px;background:var(--tcn-card-bg,#f7f8f2);box-shadow:none}.tcn-card[hidden],.tcn-steps[hidden]{display:none!important}
.tcn-selection{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;margin-top:28px}.tcn-selection label{font-weight:700;white-space:nowrap}.tcn-selection select{width:100%;min-width:0;max-width:100%;height:44px;padding:7px 11px;border:1px solid #aeb5ac;border-radius:9px;font:16px/1.2 inherit;background:#fff;color:#20231f;text-overflow:ellipsis}.tcn-selection p{grid-column:1/3;margin:4px 0;text-align:center;font-size:14px;font-weight:700;color:#3f4b3f}
.tcn-selection #tcn-load-retry{grid-column:1/3;justify-self:center;width:150px}.tcn-selection #tcn-load-retry[hidden]{display:none!important}
.tcn-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.tcn-steps span{border:1px solid #d8ddd5;border-radius:10px;padding:8px 7px;background:#f3f5f1;text-align:center;font-size:14px;font-weight:800;min-width:0}.tcn-steps span.active{background:var(--tcn-app-bg,#f7f8f2);border-color:#657060;box-shadow:inset 0 -3px 0 #2f3b2f}
.tcn-card h2{font-size:23px;line-height:1.2;margin:4px 0 7px}.tcn-learn-content{background:rgba(255,255,255,.66);border-radius:9px;padding:10px 11px;font-size:var(--tcn-learn-size,18px);line-height:1.38;max-height:62vh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.tcn-learn-content table{width:100%;max-width:100%;border-collapse:collapse}.tcn-learn-content td,.tcn-learn-content th{padding:7px;border:1px solid #ddd}
.tcn-hide-dialog-card{display:flex!important;flex-direction:column!important;min-height:220px!important}.tcn-hide-dialog-card #tcn-hide-message{flex:1 1 auto!important}.tcn-hide-dialog-actions{grid-template-columns:1fr!important;margin-top:auto!important;justify-items:center!important}.tcn-hide-dialog-actions #tcn-hide-ok{width:160px!important;max-width:70%!important;margin:0 auto!important;background:#2e7d32!important;color:#fff!important;text-shadow:none!important}
.tcn-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.tcn-head h2{font-size:21px}.tcn-head small,.tcn-result>small{font-size:11px;font-weight:800;letter-spacing:.06em;opacity:.67}.tcn-question{font-size:var(--tcn-question-size,21px);font-weight:700;background:var(--tcn-question-bg,rgba(255,255,255,.68));padding:11px 12px;border-radius:10px;margin:9px 0;line-height:1.38;text-align:left}.tcn-answer,.tcn-bank{min-height:48px;padding:7px;border-radius:10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;align-content:center}.tcn-answer{border:1.5px dashed #aeb5ac;background:var(--tcn-answer-bg,rgba(255,255,255,.52));margin-bottom:7px}.tcn-bank{border:1px solid #cbd1c8;background:rgba(255,255,255,.34);margin-bottom:6px}
.tcn-app button,.tcn-word{color:#20242a;border:1px solid #9ba1a8;background:linear-gradient(180deg,var(--tcn-word-bg,#fff) 0%,#f3f4f5 18%,#d9dde1 52%,#f8f9fa 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.96),inset 0 -1px 0 rgba(88,94,101,.12),0 2px 4px rgba(36,42,48,.16);text-shadow:0 1px 0 rgba(255,255,255,.9);transition:transform .08s ease,box-shadow .12s ease,filter .12s ease;border-radius:9px;padding:7px 11px;font-weight:800;cursor:pointer;font-size:14px;height:40px;min-height:40px;line-height:1.1}.tcn-app button:hover,.tcn-word:hover{filter:brightness(1.035)}.tcn-app button:active,.tcn-word:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(60,66,72,.16),0 1px 2px rgba(36,42,48,.12);filter:brightness(.98)}.tcn-app button:focus-visible,.tcn-word:focus-visible{outline:2px solid #5f6872;outline-offset:2px}.tcn-app button:disabled{filter:saturate(.55);opacity:.58;box-shadow:none}.tcn-word{font-size:var(--tcn-word-size,16px);padding:6px 9px;min-height:36px;height:36px;background:linear-gradient(180deg,var(--tcn-word-bg,#fff) 0%,#f3f4f5 18%,#d9dde1 52%,#f8f9fa 100%)}
.tcn-primary,#tcn-start,#tcn-submit{background:var(--tcn-primary,#2e7d32)!important;color:#fff!important;border-color:#256628!important;text-shadow:none!important;box-shadow:0 2px 4px rgba(0,0,0,.16)!important}.tcn-full{width:100%;margin-top:10px}.tcn-actions{display:flex;gap:7px;margin-top:7px}.tcn-actions button{flex:1;min-width:0}.tcn-actions #tcn-learn-back,.tcn-actions #tcn-learn-exit,.tcn-actions #tcn-pback,.tcn-actions #tcn-pexit,.tcn-actions #tcn-tback,.tcn-actions #tcn-texit,.tcn-actions #tcn-result-exit{background:#c62828!important;color:#fff!important;border-color:#a91f1f!important;text-shadow:none!important}.tcn-scoreline{display:flex;justify-content:center;align-items:center;margin:6px 0 2px;padding:7px 9px;border:1px solid #d4dad1;border-radius:9px;background:rgba(255,255,255,.65);font-size:14px;font-weight:800;line-height:1.25}.tcn-feedback{min-height:24px;font-size:17px;line-height:24px;font-weight:800;text-align:center;margin:4px 0}.tcn-feedback.good{color:var(--green)}.tcn-feedback.bad{color:var(--red)}
#tcn-input{width:100%;padding:9px 11px;border:1px solid #9fa89c;border-radius:9px;font:17px inherit;min-height:52px;max-height:72px;resize:none;background:#fff}.tcn-mic{width:100%;margin-top:7px}.tcn-mic.active{border-color:#a52a22!important;background:#fff4f3!important}.tcn-result{text-align:center}.tcn-percent{font-size:22px;font-weight:800;padding:11px 0;color:var(--blue)}.tcn-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:9px}.tcn-result-grid div{border:1px solid #d4dad1;border-radius:9px;padding:8px;background:rgba(255,255,255,.6);display:flex;flex-direction:column}.tcn-result-grid b{font-size:19px}.tcn-result-grid span{font-size:11px;line-height:1.15}
@media(max-width:782px){html:has(#spokenbee-tcn-app),body:has(#spokenbee-tcn-app){overflow:hidden!important;overscroll-behavior:none!important}.tcn-app{position:fixed!important;inset:0!important;z-index:999999!important;width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:8px 10px!important;background:#eef0eb!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;line-height:1.3!important}.tcn-title{flex:0 0 auto;margin:2px 0 5px!important;font-size:clamp(23px,6vw,29px)!important}.tcn-selection{margin-top:clamp(70px,14vh,190px);grid-template-columns:minmax(0,1fr);gap:6px}.tcn-selection label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tcn-selection select{height:42px;font-size:16px;padding:6px 9px}.tcn-selection p{grid-column:1;font-size:15px}.tcn-steps{flex:0 0 auto;margin:5px 0;gap:4px}.tcn-steps span{padding:6px 5px;border-radius:8px;font-size:15px}.tcn-card{flex:1 1 0;min-height:0;padding:10px 11px;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.tcn-learn-content{flex:1 1 auto;min-height:90px;max-height:none;padding:9px;font-size:var(--tcn-learn-size,18px);line-height:1.3;overflow-y:auto!important}.tcn-card h2{font-size:clamp(22px,5.8vw,27px);margin:2px 0 5px}.tcn-head{flex:0 0 auto}.tcn-question{flex:0 0 auto;font-size:var(--tcn-question-size,clamp(21px,5.7vw,25px));padding:8px 9px;margin:6px 0}.tcn-answer,.tcn-bank{min-height:40px;padding:5px;gap:5px;border-radius:8px}.tcn-answer{margin-bottom:5px}.tcn-bank{margin-bottom:4px;flex:1 1 auto;align-content:flex-start;overflow-y:auto}.tcn-word{font-size:var(--tcn-word-size,clamp(21px,5.8vw,25px));font-weight:700;min-height:48px;height:auto;padding:10px 14px;border-radius:10px;line-height:1.15}.tcn-feedback{flex:0 0 auto;min-height:20px;line-height:20px;font-size:17px;margin:2px 0}.tcn-scoreline{flex:0 0 auto;font-size:12px;padding:6px 7px;margin:4px 0 2px}.tcn-actions{gap:5px;margin-top:auto;padding-top:5px;flex:0 0 auto}.tcn-actions button,.tcn-mic{height:44px;min-height:44px;padding:7px 5px;font-size:14px;border-radius:8px}.tcn-full{margin-top:6px;flex:0 0 auto}#tcn-input{flex:0 0 auto;font-size:18px;min-height:56px;max-height:72px;padding:6px 8px}.tcn-mic{flex:0 0 auto;margin-top:5px}.tcn-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.tcn-result-grid div{padding:6px}.tcn-result-grid b{font-size:16px}.tcn-result-grid span{font-size:9px}}
@media(max-width:390px){.tcn-app{padding:6px 7px!important}.tcn-selection{margin-top:clamp(55px,11vh,130px)}.tcn-steps span{font-size:13px}.tcn-card{padding:8px}.tcn-card h2{font-size:21px}.tcn-question{font-size:20px}.tcn-word{font-size:20px;min-height:44px;padding:9px 12px}.tcn-actions button,.tcn-mic{font-size:13px;height:42px;min-height:42px}.tcn-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.14.0 selected-post loading feedback only; existing visual design is unchanged */
@media(max-width:782px){.tcn-selection #tcn-load-retry{grid-column:1}}

/* v1.4.0 navigation, compact steps, full-width Learn content and custom dialog */
.tcn-selection-actions{grid-column:1/3;display:flex;justify-content:center;margin-top:auto;padding-top:12px}.tcn-selection-actions button{min-width:150px;background:#c62828!important;color:#fff!important;border-color:#a91f1f!important;text-shadow:none!important}.tcn-steps span{padding:4px 6px!important;min-height:30px!important;height:auto!important;line-height:1.05!important;border-radius:10px!important;white-space:nowrap!important;font-size:13px!important;background:linear-gradient(180deg,#fff 0%,#eceff1 30%,#cfd4d8 70%,#f7f8f9 100%)!important;box-shadow:inset 0 1px 0 #fff,0 2px 3px rgba(0,0,0,.14)!important}.tcn-steps span.active{border-color:#6f777e!important;background:linear-gradient(180deg,#fff 0%,#dfe3e6 45%,#bcc3c8 100%)!important;box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 #737b82,0 2px 3px rgba(0,0,0,.16)!important}.tcn-practice-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.tcn-practice-actions button{width:100%!important;height:44px!important;min-height:44px!important}.tcn-learn-content{margin-left:-7px!important;margin-right:-7px!important;padding-left:0!important;padding-right:0!important;border-radius:5px!important}.tcn-learn-content>table,.tcn-learn-content .wp-block-table,.tcn-learn-content .wp-block-table table{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}.tcn-tts-active{position:relative!important;background:#fff3a6!important;outline:3px solid #e3a719!important;outline-offset:-3px!important;transition:background .2s ease,outline .2s ease!important}.tcn-dialog[hidden]{display:none!important}.tcn-dialog{position:fixed!important;inset:0!important;z-index:1000001!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(24,28,30,.55)!important}.tcn-dialog-card{width:min(92%,420px)!important;padding:20px!important;border:1px solid #bfc5c0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 34px rgba(0,0,0,.3)!important;text-align:center!important}.tcn-dialog-card h3{margin:4px 0 20px!important;font-size:21px!important;line-height:1.3!important}.tcn-dialog-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.tcn-dialog-actions button{width:100%!important;height:44px!important}.tcn-dialog-actions #tcn-exit-confirm{background:#c62828!important;color:#fff!important;border-color:#a91f1f!important;text-shadow:none!important}
@media(max-width:782px){.tcn-selection-actions{grid-column:1;margin-top:auto}.tcn-steps{gap:5px!important}.tcn-steps span{font-size:clamp(10px,3vw,12px)!important;min-height:28px!important;padding:3px 3px!important}.tcn-learn-content{margin-left:-8px!important;margin-right:-8px!important}.tcn-practice-actions{margin-top:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.tcn-practice-actions button{height:46px!important;min-height:46px!important;font-size:15px!important}}

/* v1.5.0 spacing and Translation controls */
.tcn-selection-actions{margin-top:18px!important;margin-bottom:24px!important;padding-top:0!important}.tcn-steps span{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}.tcn-learn-content{margin-left:-3px!important;margin-right:-3px!important;padding:4px!important}.tcn-translation-submit{display:block!important;width:100%!important;height:44px!important;min-height:44px!important;margin:7px 0 0!important}.tcn-translation-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:7px!important;padding-top:0!important}.tcn-translation-actions button{width:100%!important;height:44px!important;min-height:44px!important}
@media(max-width:782px){.tcn-selection-actions{margin-top:20px!important;margin-bottom:clamp(32px,7vh,70px)!important}.tcn-learn-content{margin-left:-4px!important;margin-right:-4px!important;padding:4px!important}.tcn-translation-submit{height:46px!important;min-height:46px!important;font-size:15px!important}.tcn-translation-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:6px!important}.tcn-translation-actions button{height:46px!important;min-height:46px!important;font-size:15px!important}}

/* v1.6.0 four-part live score, contained Practice controls, answer typography */
.tcn-scoreline{display:grid!important;grid-template-columns:repeat(4,max-content)!important;justify-content:center!important;gap:5px 18px!important}.tcn-scoreline span{white-space:nowrap}.tcn-answer,.tcn-answer *,.tcn-bank,.tcn-bank *,.tcn-word,#tcn-input,#tcn-input::placeholder{font-family:"Times New Roman",Times,"Noto Serif Telugu","Noto Sans Telugu",serif!important}#tcn-practice:not([hidden]){min-height:0!important;overflow:hidden!important}.tcn-practice-actions{flex:0 0 auto!important;margin-top:6px!important}.tcn-bank{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}.tcn-learn-content{touch-action:pan-y!important}
@media(max-width:782px){.tcn-scoreline{grid-template-columns:repeat(2,max-content)!important;gap:4px 14px!important;font-size:12px!important}#tcn-practice:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto minmax(0,1fr) auto!important;height:100%!important}.tcn-practice-actions{align-self:end!important;margin-top:5px!important;padding-top:0!important}.tcn-bank{height:auto!important;max-height:none!important}}

/* v1.7.0 targeted TTS, stronger colours, and raised Practice controls */
#tcn-learn{position:relative!important}.tcn-tts-stop{position:absolute!important;right:12px!important;z-index:8!important;width:62px!important;height:38px!important;min-height:38px!important;padding:4px 7px!important;border-color:#9f1515!important;border-radius:9px!important;background:#c62828!important;color:#fff!important;font:700 13px/1 "Times New Roman",Times,serif!important;box-shadow:0 2px 5px rgba(0,0,0,.28)!important}.tcn-tts-stop[hidden]{display:none!important}.tcn-live-correct{color:#168529!important}.tcn-live-wrong{color:#c62828!important}.tcn-live-skipped{color:#8b5a2b!important}#tcn-input{color:#000!important;-webkit-text-fill-color:#000!important;opacity:1!important}#tcn-input::placeholder{color:#777!important;-webkit-text-fill-color:#777!important;opacity:1!important}#tcn-practice .tcn-head small{color:#000!important;opacity:1!important}#tcn-pcount{color:#000!important;margin-right:14px!important}.tcn-practice-actions{transform:translateY(-9px)!important;margin-bottom:-2px!important}
@media(max-width:782px){.tcn-tts-stop{right:9px!important;width:58px!important;height:36px!important;min-height:36px!important}.tcn-practice-actions{transform:translateY(-11px)!important;margin-bottom:-4px!important}}

/* v1.11.0 Practice submit panel and stable counter */
#tcn-pcount{white-space:nowrap!important;flex:0 0 auto!important;margin-right:28px!important;line-height:1.2!important}.tcn-bank-panel{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #cbd1c8!important;border-radius:10px!important;background:rgba(255,255,255,.34)!important;margin-bottom:6px!important}.tcn-bank-panel .tcn-bank{flex:1 1 auto!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;margin:0!important}.tcn-practice-submit-actions{flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:7px!important;border-top:1px solid #d4d8d2!important}.tcn-practice-submit-actions button{width:100%!important;height:44px!important;min-height:44px!important;padding:6px 4px!important}.tcn-practice-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tcn-practice-actions button{width:100%!important}
@media(max-width:782px){#tcn-pcount{margin-right:24px!important}.tcn-bank-panel{height:auto!important;max-height:none!important;margin-bottom:4px!important}.tcn-practice-submit-actions{gap:5px!important;padding:6px!important}.tcn-practice-submit-actions button{height:43px!important;min-height:43px!important;font-size:14px!important}.tcn-practice-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.13.0 raised Practice controls and Translation instructions drop-up */
.tcn-practice-submit-actions{position:relative!important;transform:translateY(-11px)!important;margin-bottom:-11px!important}.tcn-instructions-wrap{position:relative!important;flex:0 0 auto!important;margin-top:auto!important;padding-top:9px!important;text-align:center!important}.tcn-instructions-wrap[hidden]{display:none!important}#tcn-instructions-toggle{width:auto!important;min-width:150px!important;height:40px!important;min-height:40px!important;padding:6px 18px!important;border-radius:9px!important}.tcn-instructions-dropup{position:absolute!important;left:50%!important;bottom:calc(100% + 7px)!important;transform:translateX(-50%)!important;z-index:12!important;width:min(94%,520px)!important;max-height:42vh!important;padding:13px!important;border:1px solid #aeb6b0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important;text-align:left!important;overflow-y:auto!important}.tcn-instructions-dropup[hidden]{display:none!important}.tcn-instructions-text{white-space:pre-wrap!important;color:#111!important;font:400 17px/1.45 "Times New Roman",Times,"Noto Serif Telugu",serif!important}.tcn-instructions-dropup #tcn-instructions-close{display:block!important;width:100%!important;height:40px!important;min-height:40px!important;margin-top:12px!important;background:#c62828!important;color:#fff!important;border-color:#a91f1f!important}
@media(max-width:782px){.tcn-practice-submit-actions{transform:translateY(-13px)!important;margin-bottom:-13px!important}.tcn-instructions-wrap{padding-top:6px!important}#tcn-instructions-toggle{height:38px!important;min-height:38px!important}.tcn-instructions-dropup{width:96%!important;max-height:45vh!important;padding:11px!important}.tcn-instructions-text{font-size:16px!important}}

/* v1.15.0 remembered selection, Telugu-pronunciation switch, and Learn table examples/voice */
.tcn-practice-setting{grid-column:1/3;display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 4px;font-weight:700}
.tcn-practice-setting span{font-size:14px;letter-spacing:.02em}
#tcn-practice-toggle{min-width:72px;height:38px;min-height:38px;border-radius:999px!important;padding:5px 14px!important;background:#2e7d32!important;color:#fff!important;border-color:#256628!important;text-shadow:none!important;box-shadow:none!important}
#tcn-practice-toggle.is-off{background:#d7dadd!important;color:#2c3135!important;border-color:#aab0b5!important}

.tcn-learn-content tr.tcn-main-row>td,.tcn-learn-content tr.tcn-main-row>th{vertical-align:top}
.tcn-learn-content tr.tcn-example-row>td,.tcn-learn-content tr.tcn-example-row>th{background:rgba(255,255,255,.72)}
.tcn-learn-row-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important;margin-top:7px!important}
.tcn-app button.tcn-mini-silver{width:auto!important;min-width:86px!important;height:34px!important;min-height:34px!important;padding:4px 12px!important;border:1px solid #9ca2a7!important;border-radius:999px!important;background:#e2e5e7!important;color:#252a2e!important;box-shadow:none!important;text-shadow:none!important;font:700 12px/1 "Times New Roman",Times,serif!important;letter-spacing:.02em!important}
.tcn-app button.tcn-mini-silver:hover{background:#d7dbde!important;filter:none!important}
.tcn-app button.tcn-mini-silver:active{transform:none!important;background:#cfd4d7!important;box-shadow:none!important}
.tcn-app button.tcn-examples-btn[aria-expanded="true"]{background:#cfd4d7!important;border-color:#838a90!important}
@media(max-width:782px){
  .tcn-app{background:var(--tcn-app-bg,#f7f8f2)!important}
  .tcn-learn-row-actions{justify-content:flex-start!important;gap:5px!important;margin-top:6px!important}
  .tcn-app button.tcn-mini-silver{min-width:82px!important;height:32px!important;min-height:32px!important;padding:4px 10px!important;font-size:11px!important}
}

/* v1.15.1 explicit START gate + compact table-level Learn controls */
.tcn-selection{
  grid-template-columns:minmax(0,1fr)!important;
  gap:6px!important;
}
.tcn-selection label{
  grid-column:1!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:7px 0 1px!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:normal!important;
  border:0!important;
  font-weight:700!important;
  font-size:14px!important;
  color:#20231f!important;
}
.tcn-selection select,
.tcn-selection-start,
#tcn-selection-message,
#tcn-load-retry,
.tcn-selection-actions{
  grid-column:1!important;
}
.tcn-selection-start{
  display:block!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:5px 0 2px!important;
  border:1px solid #256628!important;
  border-radius:9px!important;
  background:#2e7d32!important;
  color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font:700 16px/1 "Times New Roman",Times,serif!important;
}
.tcn-selection-start:hover{background:#286f2c!important;filter:none!important}
.tcn-selection-start:active{background:#235f26!important;transform:none!important}
#tcn-selection-message[hidden]{display:none!important}

.tcn-table-toolbar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  margin:7px 0 6px!important;
  padding:0 2px!important;
}
.tcn-table-toolbar .tcn-table-help-message{
  flex:1 0 100%!important;
  margin:1px 0 2px!important;
  padding:7px 9px!important;
  border:1px solid #c7cbce!important;
  border-radius:8px!important;
  background:#f7f8f9!important;
  color:#222!important;
  font:700 14px/1.35 "Times New Roman",Times,"Noto Serif Telugu",serif!important;
  text-align:left!important;
}
.tcn-table-toolbar .tcn-table-help-message[hidden]{display:none!important}
.tcn-learn-content tr.tcn-main-row{
  cursor:pointer!important;
  touch-action:manipulation!important;
}
.tcn-learn-content tr.tcn-main-row>td,
.tcn-learn-content tr.tcn-main-row>th{padding-bottom:6px!important}

@media(max-width:782px){
  .tcn-selection{margin-top:clamp(34px,7vh,85px)!important;gap:5px!important}
  .tcn-selection label{font-size:13px!important;margin-top:6px!important}
  .tcn-selection select{height:42px!important}
  .tcn-selection-start{height:44px!important;min-height:44px!important;font-size:15px!important}
  .tcn-table-toolbar{gap:5px!important;margin:6px 0 5px!important}
  .tcn-table-toolbar .tcn-table-help-message{font-size:13px!important;padding:6px 8px!important}
}

/* v1.15.4 keep Learn table controls visible outside table wrappers */
.tcn-table-toolbar{position:relative!important;z-index:6!important;visibility:visible!important;opacity:1!important;min-height:34px!important;overflow:visible!important}
.tcn-table-toolbar>button.tcn-mini-silver{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important}

/* v1.15.5 Voice beside the Learn topic; hidden example rows take no space */
.tcn-learn-heading-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex:0 0 auto!important}
.tcn-learn-heading-row #tcn-learn-title{min-width:0!important;flex:1 1 auto!important}
#tcn-learn-title-controls{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}
.tcn-learn-content tr[hidden],.tcn-learn-content tr.tcn-example-row[hidden]{display:none!important;height:0!important;min-height:0!important;visibility:hidden!important}
.tcn-learn-content tr[hidden]>td,.tcn-learn-content tr[hidden]>th{display:none!important;height:0!important;min-height:0!important;padding:0!important;border:0!important}
@media(max-width:782px){.tcn-learn-heading-row{gap:6px!important}.tcn-learn-heading-row #tcn-learn-title{margin-right:2px!important}#tcn-learn-title-controls .tcn-mini-silver{min-width:76px!important}}

/* v1.15.6 remove source/theme fixed table heights after examples are hidden */
.tcn-learn-content table,.tcn-learn-content thead,.tcn-learn-content tbody,.tcn-learn-content tfoot{height:auto!important;min-height:0!important}
.tcn-learn-content tr:not([hidden]),.tcn-learn-content tr:not([hidden])>td,.tcn-learn-content tr:not([hidden])>th{height:auto!important;min-height:0!important}

/* v1.0.3 conversation-wide Practice/Translation display and guided TTS */
.tcn-conversation-preview{margin:8px 0 10px;padding:8px;border:1px solid #d4dad1;border-radius:10px;background:rgba(255,255,255,.62);max-height:42vh;overflow:auto}
.tcn-preview-table{width:100%}
.tcn-preview-table table{width:100%;border-collapse:collapse}
.tcn-preview-table td{padding:8px 9px;border:1px solid #d5d9d4;vertical-align:top;font-size:17px;line-height:1.35}
.tcn-preview-table td:first-child{width:50%;font-family:"Noto Serif Telugu","Noto Sans Telugu","Times New Roman",serif}
.tcn-preview-table td:nth-child(2){width:50%}
.tcn-preview-table tr.is-active td{background:#fffde8;box-shadow:inset 0 0 0 2px rgba(46,125,50,.18)}
.tcn-translation-answer-placeholder{display:block;min-height:22px}
#tcn-practice-conversation + .tcn-question,#tcn-translation-conversation + .tcn-question{margin-top:5px}
@media(max-width:782px){
 .tcn-conversation-preview{max-height:35vh;margin:6px 0 8px;padding:5px}
 .tcn-preview-table td{padding:7px 6px;font-size:16px}
}

/* v1.0.5 Practice: Conversation Question → Answer cards */
.tcn-practice-pair{display:flex;flex-direction:column;gap:10px;margin:8px 0;overflow:auto;min-height:0}
.tcn-practice-pair-card{border:1px solid #d5d9d4;border-radius:12px;padding:10px;background:rgba(255,255,255,.68)}
.tcn-pair-label{font-size:14px;font-weight:800;letter-spacing:.04em;margin-bottom:6px}
.tcn-pair-telugu{font-family:"Noto Serif Telugu","Noto Sans Telugu","Times New Roman",serif;font-size:22px;line-height:1.45;margin-bottom:8px}
.tcn-pair-answer{min-height:44px}
.tcn-pair-bank{max-height:28vh;overflow:auto}
.tcn-pair-input{width:100%;box-sizing:border-box;min-height:62px;padding:10px;border:1px solid #cbd1c8;border-radius:10px;background:#fff;font-family:"Times New Roman",Times,"Noto Serif Telugu","Noto Sans Telugu",serif;font-size:20px;resize:vertical}
.tcn-practice-pair-card .tcn-word{font-family:"Times New Roman",Times,"Noto Serif Telugu","Noto Sans Telugu",serif}
@media(max-width:782px){.tcn-practice-pair{gap:7px;max-height:none}.tcn-practice-pair-card{padding:8px}.tcn-pair-label{font-size:12px;margin-bottom:4px}.tcn-pair-telugu{font-size:20px;line-height:1.35;margin-bottom:6px}.tcn-pair-bank{max-height:24vh}.tcn-pair-input{font-size:18px;min-height:54px}}

/* v1.0.6 paired Question/Answer word banks */
.tcn-pair-bank.is-disabled{opacity:.45;pointer-events:none}
.tcn-pair-bank .tcn-word:disabled{opacity:.45;cursor:not-allowed}
.tcn-pair-answer{min-height:52px;border:2px dashed #c9cfca;border-radius:10px;padding:7px;margin:5px 0 7px;background:#fff}
.tcn-pair-bank{display:flex;flex-wrap:wrap;gap:7px}
.tcn-pair-bank .tcn-word{display:inline-flex;align-items:center;justify-content:center}


/* v1.0.7 Practice layout: remove legacy heading/counter and expand Question/Answer area */
#tcn-practice .tcn-head{display:none!important}
#tcn-practice .tcn-practice-pair{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;max-height:none!important}
#tcn-practice .tcn-practice-pair-card{flex:1 1 auto!important}
#tcn-practice .tcn-pair-answer{min-height:58px!important}
#tcn-practice .tcn-pair-bank{max-height:none!important}
@media(max-width:782px){
  #tcn-practice:not([hidden]){min-height:calc(100vh - 150px)!important;height:auto!important;display:flex!important;flex-direction:column!important}
  #tcn-practice .tcn-scoreline{flex:0 0 auto!important}
  #tcn-practice .tcn-practice-pair{flex:1 1 auto!important;min-height:calc(100vh - 430px)!important;overflow-y:auto!important;padding-bottom:4px!important}
  #tcn-practice .tcn-practice-pair-card{flex:0 0 auto!important;min-height:0!important}
  #tcn-practice .tcn-pair-telugu{font-size:20px!important;line-height:1.4!important}
}


/* v1.0.8 Practice: remove legacy empty bank area and let the Question/Answer conversation fill the available screen height */
#tcn-practice .tcn-bank-panel{
  border:0!important;
  background:transparent!important;
  margin:0!important;
  padding:0!important;
  box-shadow:none!important;
}
#tcn-practice .tcn-bank-panel>.tcn-bank{display:none!important}
#tcn-practice .tcn-practice-pair{
  flex:1 1 0!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  overflow-y:auto!important;
  padding:0!important;
  margin:6px 0!important;
}
#tcn-practice .tcn-practice-pair-card{
  flex:1 1 0!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#tcn-practice .tcn-pair-bank{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  align-content:flex-start!important;
}
#tcn-practice .tcn-pair-answer{flex:0 0 auto!important}
#tcn-practice .tcn-practice-submit-actions{
  flex:0 0 auto!important;
  border-top:0!important;
  margin-top:0!important;
}
@media(max-width:782px){
  #tcn-practice .tcn-practice-pair{gap:7px!important;margin:4px 0!important;min-height:0!important}
  #tcn-practice .tcn-practice-pair-card{flex:1 1 0!important;min-height:0!important}
  #tcn-practice .tcn-pair-bank{flex:1 1 auto!important;min-height:0!important;max-height:none!important}
}

/* v1.0.9: stable full-height conversation layout; no collapsing cards or empty legacy box */
#tcn-practice:not([hidden]){display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
#tcn-practice .tcn-scoreline{flex:0 0 auto!important;margin:6px 0!important}
#tcn-practice .tcn-feedback{flex:0 0 auto!important}
#tcn-practice .tcn-conversation-preview{display:block!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;margin:6px 0!important;padding:0!important;border:0!important;background:transparent!important}
#tcn-practice .tcn-practice-pair{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;min-height:100%!important;height:auto!important;overflow:visible!important;margin:0!important;padding:0!important}
#tcn-practice .tcn-practice-pair-card{display:block!important;flex:0 0 auto!important;width:100%!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:12px!important;border:1px solid #d5d9d4!important;border-radius:12px!important;background:rgba(255,255,255,.68)!important}
#tcn-practice .tcn-pair-label{display:block!important;font-size:15px!important;font-weight:800!important;margin:0 0 6px!important}
#tcn-practice .tcn-pair-telugu{display:block!important;font-size:clamp(20px,5.5vw,25px)!important;line-height:1.45!important;margin:0 0 8px!important;min-height:0!important;overflow:visible!important}
#tcn-practice .tcn-pair-answer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;align-content:flex-start!important;min-height:58px!important;height:auto!important;border:2px dashed #c9cfca!important;border-radius:10px!important;padding:8px!important;margin:6px 0!important;background:#fff!important;overflow:visible!important}
#tcn-practice .tcn-pair-bank{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:flex-start!important;align-content:flex-start!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:2px 0!important;background:transparent!important;border:0!important}
#tcn-practice .tcn-pair-bank.is-disabled{opacity:.45!important;pointer-events:none!important}
#tcn-practice .tcn-word{flex:0 0 auto!important;font-size:clamp(18px,5vw,22px)!important;min-height:44px!important;height:auto!important;padding:9px 12px!important}
#tcn-practice .tcn-bank-panel{display:none!important}
#tcn-practice .tcn-practice-submit-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;flex:0 0 auto!important;margin:5px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
#tcn-practice .tcn-practice-submit-actions button{width:100%!important;height:44px!important;min-height:44px!important}
#tcn-practice .tcn-practice-actions{flex:0 0 auto!important;margin-top:5px!important}
@media(max-width:782px){
 #tcn-practice .tcn-conversation-preview{flex:1 1 auto!important;min-height:0!important}
 #tcn-practice .tcn-practice-pair{gap:8px!important;min-height:0!important}
 #tcn-practice .tcn-practice-pair-card{padding:9px!important}
 #tcn-practice .tcn-pair-telugu{font-size:20px!important;line-height:1.4!important}
 #tcn-practice .tcn-word{font-size:19px!important;min-height:42px!important;padding:8px 10px!important}
 #tcn-practice .tcn-practice-submit-actions button{height:43px!important;min-height:43px!important;font-size:14px!important}
}

/* v1.0.9 Translation: show Question and Answer together with separate voice inputs */
#tcn-translation:not([hidden]){display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
#tcn-translation .tcn-translation-conversation{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;margin:6px 0!important}
.tcn-translation-pair{display:flex!important;flex-direction:column!important;gap:10px!important}
.tcn-translation-card{border:1px solid #d5d9d4!important;border-radius:12px!important;padding:12px!important;background:rgba(255,255,255,.68)!important}
.tcn-translation-card.is-disabled{opacity:.55!important}
.tcn-translation-input-row{display:flex!important;gap:7px!important;align-items:stretch!important;margin-top:7px!important}
.tcn-translation-input{flex:1 1 auto!important;min-width:0!important;min-height:58px!important;padding:9px!important;border:1px solid #cbd1c8!important;border-radius:10px!important;background:#fff!important;font:18px/1.3 "Times New Roman",Times,"Noto Serif Telugu",serif!important;resize:none!important}
.tcn-translation-mic{flex:0 0 62px!important;width:62px!important;min-height:58px!important;height:58px!important;margin:0!important}
@media(max-width:782px){.tcn-translation-card{padding:9px!important}.tcn-translation-input{font-size:18px!important}.tcn-translation-mic{flex-basis:58px!important;width:58px!important;min-height:54px!important;height:54px!important}}

/* v1.0.10: compact conversation typography and no Question/Answer labels */
#tcn-practice .tcn-pair-label{display:none!important}
#tcn-practice .tcn-pair-telugu{font-size:19px!important;line-height:1.38!important}
#tcn-practice .tcn-word{font-size:16px!important;min-height:40px!important;padding:7px 10px!important}
@media(max-width:782px){
  #tcn-practice .tcn-pair-telugu{font-size:19px!important;line-height:1.38!important}
  #tcn-practice .tcn-word{font-size:16px!important;min-height:40px!important;padding:7px 9px!important}
}


/* v1.0.11 final Practice layout: Telugu prompts, tappable English words, no legacy boxes */
#tcn-practice .tcn-head,
#tcn-practice .tcn-pair-label,
#tcn-practice > .tcn-question,
#tcn-practice > .tcn-answer,
#tcn-practice > .tcn-bank-panel,
#tcn-practice > #tcn-pte,
#tcn-practice > #tcn-answer,
#tcn-practice > #tcn-bank-panel { display:none!important; }
#tcn-practice .tcn-conversation-preview {
  flex:1 1 auto!important; min-height:0!important; max-height:none!important;
  overflow-y:auto!important; margin:6px 0!important; padding:0!important;
  border:0!important; background:transparent!important;
}
#tcn-practice .tcn-practice-pair {
  display:flex!important; flex-direction:column!important; gap:10px!important;
  width:100%!important; min-height:100%!important; height:auto!important;
  overflow:visible!important; margin:0!important; padding:0!important;
}
#tcn-practice .tcn-practice-pair-card {
  display:flex!important; flex-direction:column!important; flex:0 0 auto!important;
  width:100%!important; min-height:0!important; height:auto!important;
  overflow:visible!important; padding:10px!important;
  border:1px solid #d5d9d4!important; border-radius:12px!important;
  background:rgba(255,255,255,.68)!important; box-sizing:border-box!important;
}
#tcn-practice .tcn-pair-telugu {
  display:block!important; font-size:19px!important; line-height:1.38!important;
  margin:0 0 7px!important; min-height:0!important; overflow:visible!important;
  font-family:"Noto Serif Telugu","Noto Sans Telugu","Times New Roman",serif!important;
}
#tcn-practice .tcn-pair-answer {
  display:flex!important; flex-wrap:wrap!important; align-items:center!important;
  min-height:48px!important; height:auto!important; padding:7px!important; margin:4px 0 6px!important;
  border:2px dashed #c9cfca!important; border-radius:10px!important;
  background:#fff!important; box-sizing:border-box!important; overflow:visible!important;
}
#tcn-practice .tcn-pair-bank {
  display:flex!important; flex-wrap:wrap!important; gap:6px!important;
  align-items:flex-start!important; align-content:flex-start!important;
  min-height:0!important; height:auto!important; max-height:none!important;
  overflow:visible!important; padding:0!important; margin:0!important;
  background:transparent!important; border:0!important;
}
#tcn-practice .tcn-pair-bank.is-disabled { opacity:.45!important; pointer-events:none!important; }
#tcn-practice .tcn-word {
  display:inline-flex!important; flex:0 0 auto!important; align-items:center!important; justify-content:center!important;
  font-size:16px!important; min-height:40px!important; height:auto!important;
  padding:7px 9px!important; border-radius:9px!important;
  font-family:"Times New Roman",Times,serif!important;
}
#tcn-practice .tcn-practice-submit-actions {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important; flex:0 0 auto!important; margin:6px 0 0!important;
  padding:0!important; border:0!important; background:transparent!important;
}
#tcn-practice .tcn-practice-submit-actions button { width:100%!important; height:43px!important; min-height:43px!important; }
#tcn-practice .tcn-practice-actions { flex:0 0 auto!important; margin-top:5px!important; }
@media(max-width:782px){
  #tcn-practice .tcn-conversation-preview { margin:5px 0!important; }
  #tcn-practice .tcn-practice-pair { gap:8px!important; }
  #tcn-practice .tcn-practice-pair-card { padding:9px!important; }
  #tcn-practice .tcn-pair-telugu { font-size:19px!important; line-height:1.38!important; }
  #tcn-practice .tcn-word { font-size:16px!important; min-height:40px!important; padding:7px 9px!important; }
}


/* v1.0.12 Translation: remove card headings, raise score to the top, compact typography, and let the conversation area fill the available height */
#tcn-translation .tcn-head{display:none!important}
#tcn-translation .tcn-scoreline{flex:0 0 auto!important;margin:0 0 6px!important}
#tcn-translation .tcn-feedback{flex:0 0 auto!important;margin:0!important;min-height:0!important}
#tcn-translation .tcn-conversation-preview{
  flex:1 1 auto!important;min-height:0!important;max-height:none!important;
  overflow-y:auto!important;margin:4px 0 6px!important;padding:0!important;
  border:0!important;background:transparent!important;
}
#tcn-translation .tcn-pair-label{display:none!important}
#tcn-translation .tcn-translation-pair{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:100%!important;height:100%!important}
#tcn-translation .tcn-translation-card{
  flex:1 1 0!important;min-height:0!important;padding:9px!important;
  border:1px solid #d5d9d4!important;border-radius:12px!important;
  background:rgba(255,255,255,.68)!important;box-sizing:border-box!important;
}
#tcn-translation .tcn-pair-telugu{
  font-size:19px!important;line-height:1.38!important;margin:0 0 6px!important;
  font-family:"Noto Serif Telugu","Noto Sans Telugu","Times New Roman",serif!important;
}
#tcn-translation .tcn-translation-input-row{margin-top:5px!important;gap:6px!important}
#tcn-translation .tcn-translation-input{
  font-size:17px!important;line-height:1.3!important;min-height:50px!important;padding:7px!important;
}
#tcn-translation .tcn-translation-mic{flex:0 0 56px!important;width:56px!important;height:50px!important;min-height:50px!important}
#tcn-translation .tcn-translation-card.is-disabled{opacity:.55!important}
#tcn-translation .tcn-translation-submit{flex:0 0 auto!important;margin:5px 0 0!important}
#tcn-translation .tcn-instructions-wrap{flex:0 0 auto!important;margin-top:5px!important}
#tcn-translation .tcn-translation-actions{flex:0 0 auto!important;margin-top:5px!important}
@media(max-width:782px){
  #tcn-translation .tcn-card{padding:8px!important}
  #tcn-translation .tcn-scoreline{margin:0 0 5px!important}
  #tcn-translation .tcn-conversation-preview{margin:3px 0 5px!important}
  #tcn-translation .tcn-translation-pair{gap:7px!important}
  #tcn-translation .tcn-translation-card{padding:8px!important}
  #tcn-translation .tcn-pair-telugu{font-size:19px!important;line-height:1.35!important}
  #tcn-translation .tcn-translation-input{font-size:17px!important;min-height:48px!important}
  #tcn-translation .tcn-translation-mic{flex-basis:54px!important;width:54px!important;height:48px!important;min-height:48px!important}
}


/* v1.0.13: full-width answer boxes and solid-black answer text */
.tcn-translation-input-row{
  position:relative!important;
  display:block!important;
  width:100%!important;
  margin-top:7px!important;
}
.tcn-translation-input{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  background:#fff!important;
  padding:9px 70px 9px 9px!important;
}
.tcn-translation-input::placeholder{color:#9aa0a6!important;opacity:1!important;-webkit-text-fill-color:#9aa0a6!important}
.tcn-translation-mic{
  position:absolute!important;
  right:6px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:56px!important;
  min-width:56px!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  z-index:2!important;
}
.tcn-answer,
.tcn-answer *{
  color:#000!important;
  -webkit-text-fill-color:#000!important;
}
.tcn-pair-telugu{color:#20231f!important;-webkit-text-fill-color:#20231f!important}
@media(max-width:782px){
  #tcn-translation .tcn-translation-input-row{width:100%!important}
  #tcn-translation .tcn-translation-input{
    width:100%!important;
    max-width:100%!important;
    font-size:17px!important;
    padding-right:66px!important;
  }
  #tcn-translation .tcn-translation-mic{
    width:54px!important;min-width:54px!important;height:48px!important;min-height:48px!important;right:5px!important;
  }
}


/* v1.0.15: answer boxes grow downward from a fixed top edge */
.tcn-translation-input{
  height:52px!important;
  min-height:52px!important;
  max-height:none!important;
  overflow:hidden!important;
  resize:none!important;
  box-sizing:border-box!important;
  line-height:1.35!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  vertical-align:top!important;
}
.tcn-translation-input-row{
  align-items:flex-start!important;
}
.tcn-pair-answer{
  height:auto!important;
  min-height:58px!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:flex-start!important;
  align-content:flex-start!important;
}
@media(max-width:782px){
  .tcn-translation-input{min-height:52px!important;max-height:none!important;overflow:hidden!important;}
}

/* v1.0.16: make the second Translation answer card text fully black without changing other layout */
#tcn-translation .tcn-translation-card.is-disabled{opacity:1!important}
#tcn-translation .tcn-translation-card.is-disabled .tcn-pair-telugu{
  color:#000!important;
  -webkit-text-fill-color:#000!important;
}
#tcn-translation .tcn-translation-card.is-disabled .tcn-translation-input{
  color:#000!important;
  -webkit-text-fill-color:#000!important;
}
#tcn-translation .tcn-translation-card.is-disabled .tcn-translation-mic{opacity:.55!important}



/* v1.0.17: compact Practice answer word buttons to match their 16px text size */
#tcn-practice .tcn-word {
  font-size:16px!important;
  line-height:1.1!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:5px 9px!important;
  box-sizing:border-box!important;
}
@media(max-width:782px){
  #tcn-practice .tcn-word {
    font-size:16px!important;
    line-height:1.1!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    padding:5px 9px!important;
  }
}


/* v1.0.22: Desktop Translation uses the full available screen width/height. Mobile layout is unchanged. */
@media(min-width:783px){
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])){
    width:100%;
    max-width:none;
    margin:0;
    min-height:calc(100vh - 32px);
    padding:0 12px 12px;
    display:flex;
    flex-direction:column;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) .tcn-title{
    flex:0 0 auto;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) .tcn-steps{
    flex:0 0 auto;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation .tcn-conversation-preview{
    flex:1 1 auto!important;
    min-height:0!important;
  }
}


/* v1.0.23: Desktop Translation layout fix. Keep cards at natural content height so Telugu text and answer boxes never overlap or get clipped. */
@media(min-width:783px){
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation{
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation .tcn-conversation-preview{
    flex:0 0 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation .tcn-translation-pair{
    flex:0 0 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    gap:10px!important;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation .tcn-translation-card{
    flex:0 0 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  #spokenbee-tcn-app:has(#tcn-translation:not([hidden])) #tcn-translation .tcn-pair-telugu{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
}

/* v1.0.26: per-sentence CLEAR buttons; no bottom CLEAR; equal SKIP/SUBMIT */
#tcn-practice .tcn-pair-telugu-row{display:flex!important;align-items:flex-start!important;gap:8px!important;width:100%!important;margin:0 0 8px!important}
#tcn-practice .tcn-pair-telugu-row .tcn-pair-telugu{flex:1 1 auto!important;margin:0!important}
#tcn-practice .tcn-pair-clear{flex:0 0 auto!important;width:auto!important;min-width:64px!important;height:32px!important;min-height:32px!important;padding:4px 10px!important;font-size:13px!important;border-radius:7px!important}
#tcn-practice .tcn-practice-submit-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#tcn-practice .tcn-practice-submit-actions button{width:100%!important}
@media(max-width:782px){#tcn-practice .tcn-pair-clear{min-width:58px!important;height:30px!important;min-height:30px!important;font-size:12px!important;padding:3px 8px!important}#tcn-practice .tcn-practice-submit-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v1.0.29: tighten Practice space below scoreboard and make BACK/EXIT fill equal halves on mobile */
@media(max-width:782px){
  #tcn-practice .tcn-feedback:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important}
  #tcn-practice .tcn-conversation-preview{margin-top:0!important}
  #tcn-practice .tcn-practice-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;align-self:stretch!important;margin:5px 0 0!important;padding:0!important;box-sizing:border-box!important}
  #tcn-practice .tcn-practice-actions button{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;box-sizing:border-box!important}
}

/* v1.0.34 Part selection and Telugu → English preview/learn layout */
#tcn-part{width:100%;}
#tcn-preview-content,#tcn-learn-content{overflow:auto;max-height:70vh;}
.tcn-bilingual-table{width:100%;border-collapse:collapse;table-layout:fixed;}
.tcn-bilingual-table td{width:50%;padding:12px 10px;vertical-align:middle;border:0;font-family:"Noto Serif Telugu","Noto Sans Telugu","Times New Roman",serif;font-size:var(--tcn-learn-size);line-height:1.45;word-break:break-word;}
.tcn-bilingual-table .tcn-main-row:nth-child(odd) td{background:#fff;}
.tcn-bilingual-table .tcn-main-row:nth-child(even) td{background:#e7e7e5;}
.tcn-bilingual-table .tcn-conversation-spacer td{height:20px;padding:0;background:transparent!important;}
#tcn-preview .tcn-bilingual-table td,#tcn-learn .tcn-bilingual-table td{font-weight:var(--tcn-weight);}
@media(max-width:782px){.tcn-bilingual-table td{padding:10px 7px;font-size:16px;}.tcn-bilingual-table .tcn-conversation-spacer td{height:14px;}}

/* Preview topic heading with VOICE button on the right */
.tcn-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.tcn-preview-header h2{margin:0;flex:1}
.tcn-preview-header .tcn-preview-voice{margin:0;flex:0 0 auto}
@media(max-width:600px){.tcn-preview-header{gap:8px}.tcn-preview-header h2{font-size:20px}.tcn-preview-header .tcn-preview-voice{white-space:nowrap}}


/* v1.0.40 layout: MIC and CLEAR below each answer box; compact bottom controls */
#tcn-translation .tcn-translation-input{padding:9px!important;width:100%!important;}
#tcn-translation .tcn-translation-mic{position:static!important;transform:none!important;right:auto!important;top:auto!important;width:auto!important;min-width:0!important;flex:1 1 0!important;margin:0!important;}
#tcn-translation .tcn-translation-card-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:8px!important;width:100%!important;}
#tcn-translation .tcn-translation-card-controls button{height:44px!important;min-height:44px!important;margin:0!important;}
#tcn-translation .tcn-translation-clear{background:#eee!important;color:#111!important;border:1px solid #b9b9b9!important;border-radius:9px!important;font-weight:700!important;}
#tcn-translation .tcn-translation-submit-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:6px!important;flex:0 0 auto!important;}
#tcn-translation .tcn-translation-submit-actions button{width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;}
#tcn-translation #tcn-tskip{background:#2e7d32!important;color:#fff!important;border-color:#246728!important;}
#tcn-translation .tcn-translation-submit{width:100%!important;}
#tcn-translation .tcn-translation-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:6px!important;padding-top:0!important;}
#tcn-translation .tcn-translation-actions button{width:100%!important;height:44px!important;min-height:44px!important;}
#tcn-translation .tcn-instructions-wrap{display:none!important;}
@media(max-width:782px){
 #tcn-translation .tcn-translation-card-controls button,#tcn-translation .tcn-translation-submit-actions button,#tcn-translation .tcn-translation-actions button{height:42px!important;min-height:42px!important;}
 #tcn-translation .tcn-translation-card-controls{margin-top:7px!important;gap:7px!important;}
 #tcn-translation .tcn-translation-submit-actions,#tcn-translation .tcn-translation-actions{gap:7px!important;margin-top:5px!important;}
}

/* v1.0.41 fix: Green spacer rows only on the starting Preview screen */
#tcn-preview .tcn-bilingual-table .tcn-conversation-spacer td{
  background:#2e7d32!important;
}
/* Keep spacer rows unchanged in the Learn section */
#tcn-learn .tcn-bilingual-table .tcn-conversation-spacer td{
  background:transparent!important;
}
