@charset "UTF-8";
/* 09-text-editor.css
   Text editor window, print rules for the editor, phonetic typing guide chips.
   CSS order matters: later files override earlier ones. Keep the numbers in the file names. */
/* Text editor */
#txt{position:fixed;inset:0;z-index:25;background:var(--bg);display:flex;flex-direction:column}
#txt .th,#txt .tt,#txt .tf{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 12px;background:var(--panel);border-bottom:1px solid var(--line)}
#txt .th{padding-top:calc(8px + env(safe-area-inset-top,0px))}
#txt .th h2{margin:0;font-size:17px;flex:1;min-width:110px}
#txt button,#txt select,#txt input[type=text],#txt input[type=number]{font-size:13px;padding:5px 8px;min-width:34px}
#txt input[type=text],#txt input[type=number],#txt select{background:var(--bg);border:1px solid var(--line);border-radius:6px}
#txt input[type=color]{width:26px;height:22px;padding:0;border:0;background:none;vertical-align:middle}
#txt label{font-size:13px;color:var(--mute)}
#txt .tbody{flex:1;min-height:0;overflow:auto;padding:14px;display:flex;justify-content:center;align-items:flex-start}
#edtr{background:#fff;color:#111;width:min(820px,100%);min-height:100%;padding:28px 34px;box-shadow:0 2px 14px rgba(0,0,0,.22);outline:0;font:16px/1.6 "Noto Sans","Segoe UI","Nirmala UI","Noto Sans Telugu","Noto Sans Devanagari","Noto Sans Tamil","Noto Sans Kannada","Noto Sans Malayalam","Noto Sans Bengali",system-ui,sans-serif;overflow-wrap:anywhere}
#edtr p{margin:0 0 .8em}#edtr h1{font-size:2em}#edtr h2{font-size:1.5em}#edtr h3{font-size:1.17em}
#edtr table{border-collapse:collapse;width:100%}#edtr td,#edtr th{border:1px solid #999;padding:6px;min-width:40px}
#edtr img{max-width:100%}#edtr ul,#edtr ol{margin:0 0 .8em 1.4em}#edtr blockquote{margin:0 0 .8em;padding-left:12px;border-left:3px solid #bbb}
#txt .tf{border-top:1px solid var(--line);border-bottom:0;font-size:12px;color:var(--mute);justify-content:space-between}
#pa{display:none}
@media print{
  html,body{height:auto!important;overflow:visible!important;display:block!important;background:#fff!important}
  body>*:not(#pa){display:none!important}
  #pa{display:block!important;color:#000;font:14px/1.6 "Noto Sans","Segoe UI","Nirmala UI",system-ui,sans-serif}
  #pa table{border-collapse:collapse;width:100%}#pa td,#pa th{border:1px solid #999;padding:6px}#pa img{max-width:100%}
  @page{margin:18mm}
}
#txt button[aria-pressed=true]{background:var(--acc);color:var(--acc-ink);border-color:var(--acc);font-weight:600}
#txt .chip{display:inline-block;margin:2px 6px 2px 0;padding:2px 7px;border:1px solid var(--line);border-radius:6px;font-size:14px;background:var(--bg)}
#tphguide{max-height:32vh;overflow:auto}
