/* Little Lights — 🎤 Talk Helper (Oct 30, 2026). Inside Me → My Journal. The helper fills the space between the header and the tab bar
   (talk.js sets #talkRoot's height from visualViewport); the page itself never scrolls. Print rules at the bottom. */
#main:has(#talkRoot){padding-top:8px;padding-bottom:0}
#main:has(#talkRoot)>.footer,#main:has(#talkRoot)>.plan-banner{display:none}
.tk-root{display:flex;flex-direction:column;gap:8px;min-height:0;max-width:640px;margin:0 auto;box-sizing:border-box}
.tk-top{display:flex;align-items:center;gap:8px;flex:none}
.tk-back{flex:none;min-width:56px;padding:6px 10px}
.tk-title{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px}
.tk-title b{font-size:18px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tk-dots{display:flex;gap:5px}
.tk-dot{width:9px;height:9px;border-radius:50%;background:var(--line)}
.tk-dot.done{background:var(--brand)}
.tk-dot.on{background:var(--brand);box-shadow:0 0 0 3px rgba(242,140,40,.28);width:20px;border-radius:6px}
.tk-status{flex:none;min-width:56px;text-align:right;font-size:12px;font-weight:800;color:var(--muted)}
.tk-status[data-status="saved"]{color:var(--ok)}
.tk-checks{display:flex;gap:5px;flex:none}
.tk-ck{flex:1 1 auto;min-width:0;min-height:44px;border-radius:12px;border:2px dashed #E7B98A;background:#FFF4E6;color:#9A5A16;font:inherit;font-size:12.5px;font-weight:800;padding:2px 4px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-ck.on{border:2px solid var(--ok);background:#E7F6EC;color:#1F7442}
.tk-body{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:8px;background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:12px}
.tk-q{display:flex;align-items:center;gap:8px;flex:none}
.tk-q h2{flex:1;margin:0;font-size:19px;line-height:1.2}
.tk-q2{margin-top:2px}
.tk-q2 h2{font-size:17px}
.tk-say{flex:none}
.tk-lab{margin:0;font-weight:800;font-size:15px;display:flex;align-items:center;gap:6px;flex:none}
.tk-lab .say-btn{width:40px;height:40px;font-size:17px}
.tk-tip{margin:0;font-size:14.5px;background:#FFF4E6;border-radius:12px;padding:8px 10px;color:#7A4A12;flex:none}
.tk-in,.tk-ta{font:inherit;font-size:17px;padding:10px 12px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);width:100%;box-sizing:border-box;flex:none}
.tk-in{min-height:48px}
.tk-ta{resize:none;line-height:1.35}
.tk-grow{flex:1 1 60px;min-height:60px}
.tk-big{font-size:19px}
.tk-need{border-color:var(--rose);box-shadow:0 0 0 3px rgba(232,93,117,.2)}
.tk-in:focus,.tk-ta:focus{outline:none;border-color:var(--brand)}
.tk-chips{display:flex;gap:6px;flex:none}
.tk-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px;margin:0 -2px}
.tk-scroll::-webkit-scrollbar{display:none}
.tk-chip{flex:none;min-height:44px;border:2px solid var(--line);background:#fff;border-radius:14px;padding:6px 12px;font:inherit;font-size:15px;font-weight:700;white-space:nowrap;color:var(--ink)}
.tk-chip[aria-pressed="true"]{border-color:var(--brand);background:#FFF0DD}
.tk-lens{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;flex:none}
.tk-len{min-height:56px;border-radius:16px;border:2px solid var(--line);background:#fff;font:inherit;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.tk-len b{font-size:24px}.tk-len small{font-size:12px;font-weight:700;color:var(--muted)}
.tk-len.rec{border-style:dashed;border-color:#E7B98A}
.tk-len[aria-checked="true"]{border:3px solid var(--brand);background:#FFF0DD}
.tk-lvl{margin:0}
.tk-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:none}
.tk-seg button{min-height:44px;border-radius:12px;border:2px solid var(--line);background:#fff;font:inherit;font-size:13.5px;font-weight:800;color:var(--ink);padding:2px 4px;line-height:1.1}
.tk-seg button[aria-selected="true"]{background:var(--teal);border-color:var(--teal);color:#fff}
.tk-pick{flex:none;min-height:44px}
.tk-pick .note{margin:6px 0}
.tk-find{display:flex;gap:6px}.tk-find .tk-in{flex:1;min-width:0}
.tk-verse{display:flex;flex-direction:column;gap:2px;flex:1 1 74px;min-height:74px;background:#FFFBF3;border:2px solid var(--line);border-radius:14px;padding:6px 8px}
.tk-vh{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.tk-vh b{font-size:15px}.tk-vsrc{font-size:11px;color:var(--muted)}
.tk-verse .tk-vta{border:0;background:transparent;padding:2px;font-style:italic;font-size:16px;min-height:44px}
.tk-lab-s{font-size:14.5px;line-height:1.2}
.tk-row{display:flex;gap:6px;align-items:stretch;flex:1 1 56px;min-height:56px}
.tk-row .tk-ta{flex:1;min-width:0;height:auto}
.tk-row .say-btn{align-self:flex-start}
.tk-idea{display:flex;align-items:center;gap:8px;background:#EEF6FF;border-radius:12px;padding:6px 6px 6px 10px;font-weight:700;font-size:15.5px;flex:none}
.tk-idea span{flex:1}.tk-another{flex:none;width:44px;padding:0}
.tk-amen{margin:0;font-weight:800;text-align:center;background:#F2ECFA;border-radius:12px;padding:10px;flex:none}
.tk-nav{display:flex;gap:8px;flex:none}
.tk-n{flex:1;min-height:52px;padding:8px 6px;font-size:17px;white-space:nowrap}
#tkPrev{flex:0 0 auto;min-width:64px}
.tk-nav .tk-n{font-size:15.5px}
.tk-time{flex:none}
.tk-time-t{display:flex;align-items:center;gap:8px}.tk-time-t b{flex:1;font-size:15.5px}
.tk-bar{height:10px;border-radius:6px;background:var(--line);overflow:hidden;margin-top:4px}
.tk-bar span{display:block;height:100%;background:var(--ok);border-radius:6px}
.tk-verdict{margin:2px 0 0}
.tk-missing{display:flex;flex-direction:column;gap:5px;flex:none}
.tk-miss{min-height:44px;text-align:left;border:2px dashed #E7B98A;background:#FFF4E6;border-radius:12px;font:inherit;font-size:14px;color:#7A4A12;padding:6px 10px}
.tk-miss b{color:var(--brand-d);white-space:nowrap}
.tk-allset{margin:0;font-weight:800;color:#1F7442;flex:none}
.tk-preview{flex:1 1 auto;min-height:90px;overflow:auto;-webkit-overflow-scrolling:touch;border:2px solid var(--line);border-radius:14px;padding:10px 12px;background:#FFFBF3}
.tk-preview h3{margin:0 0 6px;font-size:18px}
.tk-p{margin:0 0 8px;font-size:16.5px;line-height:1.45;border-radius:8px;cursor:pointer}
.tk-p:active{background:#FFF0DD}
.tk-p-amen{font-weight:800}
.tk-tapedit{margin:4px 0 0}
.tk-root.tk-tight .tk-body{padding:10px;gap:6px}
.tk-root.tk-tight .tk-q h2{font-size:17.5px}
.tk-root.tk-tight .tk-len{min-height:48px}
.tk-root.tk-tight .tk-scroll{padding-bottom:0}
.tk-root.tk-tight .tk-row{min-height:46px;flex-basis:46px}
.tk-root.tk-tight .tk-verse{min-height:68px;flex-basis:68px}
.tk-root.tk-xtight .tk-tip,.tk-root.tk-xtight .tk-lvl,.tk-root.tk-xtight .tk-tapedit{display:none}
/* journal: the Talk Helper card + talk entries */
.tk-card{background:linear-gradient(135deg,#FFF0DD,#FFFFFF 70%)}
.tk-card-h{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.tk-card-h h2{margin:0;font-size:20px}.tk-card-h .note{margin:2px 0 0}
.tk-mic{font-size:34px;width:52px;height:52px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);flex:none}
.tk-resume{margin-top:8px}
.tk-badge{font-size:13px;font-weight:800;background:#FFF0DD;color:var(--brand-d);border-radius:999px;padding:3px 10px}
.tk-entry{border-left:5px solid var(--brand)}
.tk-entry-t{margin:6px 0 2px;font-size:18px}
.tk-entry-m{margin:0 0 6px}
/* Practice: big-text teleprompter */
.tk-prompter{position:fixed;inset:0;z-index:55;background:#21170E;color:#FFF8EC;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top) + 8px) 10px calc(env(safe-area-inset-bottom) + 10px)}
.tk-pr-bar{display:flex;align-items:center;gap:6px;flex:none}
.tk-pr-btn{min-width:48px;min-height:48px;border-radius:14px;border:2px solid #5A4430;background:#33251A;color:#FFF8EC;font:inherit;font-weight:800;font-size:17px;padding:4px 10px}
.tk-pr-go{margin-left:auto;background:var(--brand);border-color:var(--brand)}
.tk-pr-time{font-size:26px;font-weight:900;font-variant-numeric:tabular-nums;padding:0 6px}
.tk-pr-time small{font-size:15px;opacity:.7}.tk-pr-time.over{color:#FFB25E}
.tk-pr-text{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;line-height:1.35;font-weight:700;padding:12px 6px 40vh}
.tk-pr-text p{margin:0 0 .7em}.tk-pr-end{text-align:center}
body.tk-practicing{overflow:hidden}
/* Print / Save as PDF (the app's chrome is hidden, like print.css does for crafts) */
#talkPrint{display:none}
.tk-print-win #talkPrint{display:block;max-width:7in;margin:24px auto;padding:0 16px;font-family:Georgia,"Times New Roman",serif;color:#222}
.tk-print-help{font:14px system-ui,sans-serif;color:#555;text-align:center}
.tk-print-page h1{font-size:26pt;margin:0 0 4pt}
.tk-print-brand{font:bold 10pt Arial,sans-serif;color:#C9650A;letter-spacing:.04em;text-transform:uppercase;margin:0 0 10pt}
.tk-print-meta{font:11pt Arial,sans-serif;color:#555;margin:0 0 16pt;border-bottom:1.5pt solid #F28C28;padding-bottom:8pt}
.tk-print-p{font-size:15pt;line-height:1.55;margin:0 0 11pt}
.tk-print-p.amen{font-weight:bold}
@media print{
  @page{size:letter;margin:.6in}
  body.talk-printing #app,body.talk-printing .picker,body.talk-printing .toast,body.talk-printing .print-help,body.talk-printing #print-root,body.talk-printing .tk-prompter,body.talk-printing .ll-sheet{display:none !important}
  body.talk-printing{background:#fff !important;padding:0 !important}
  body.talk-printing #talkPrint{display:block !important;font-family:Georgia,"Times New Roman",serif;color:#000}
  .tk-print-win .tk-print-help{display:none}
  .tk-print-win #talkPrint{margin:0;max-width:none}
}
