/* Styles for the photo, PDF, password, percentage and scientific calculator tools, and the tools hub search. */
[hidden]{display:none!important}
.nt-drop{display:block;border:2px dashed #142E84;border-radius:12px;background:#f9fbfc;padding:22px 14px;text-align:center;cursor:pointer;margin:0 0 14px;color:#142E84}
.nt-drop strong{display:block;font-size:18px;margin:0 0 4px}
.nt-drop span{display:block;font-size:14px;color:#4a5866}
.nt-drop.is-over,.nt-drop:focus-within{background:#eaf0fb;border-color:#F81617}
.nt-list{list-style:none;margin:0 0 12px;padding:0}
.nt-item{display:flex;align-items:center;gap:10px;border:1px solid #dbe3ea;border-radius:10px;background:#fff;padding:8px;margin:0 0 8px}
.nt-item.is-active{border-color:#142E84;box-shadow:0 0 0 2px rgba(20,46,132,.2)}
.nt-thumb{flex:none;width:56px;height:56px;border-radius:6px;object-fit:cover;background:#e8edf3}
.nt-pdfico{flex:none;width:56px;height:56px;border-radius:6px;background:#142E84;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px}
.nt-main{flex:1;min-width:0;text-align:left}
.nt-name{display:block;font-weight:700;color:#142E84;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;background:none;border:0;padding:0;font-family:inherit;text-align:left;max-width:100%}
.nt-meta{display:block;font-size:13px;color:#4a5866;margin-top:2px}
.nt-btns{flex:none;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.nt-ib{min-height:44px;min-width:44px;padding:8px 10px;border:2px solid #142E84;background:#fff;color:#142E84;font:inherit;font-weight:800;border-radius:8px;cursor:pointer;touch-action:manipulation}
.nt-ib:hover,.nt-ib:focus-visible{background:#142E84;color:#fff}
.nt-ib:focus-visible{outline:3px solid #F81617;outline-offset:3px}
.nt-ib[disabled]{opacity:.35;cursor:default}
.nt-badge{display:inline-block;font-size:12px;font-weight:700;border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:middle;background:#e8edf3;color:#142E84}
.nt-badge.warn{background:#fdecec;color:#8a1010}
.nt-badge.ok{background:#e3f4e6;color:#14612a}
.nt-stage{margin:0 0 12px;text-align:center}
.nt-stage canvas{max-width:100%;height:auto;display:inline-block;border:1px solid #b9c3d6;border-radius:8px;background:#fff}
.nt-stage canvas.nt-draw{touch-action:none;cursor:crosshair}
.nt-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.nt-row>.tl-field{flex:1 1 150px;margin:0 0 12px}
.nt-field input[type=range],.tl-field input[type=range]{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  width:100%;
  height:44px;
  min-height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  accent-color:#142E84;
  touch-action:manipulation;
  cursor:pointer;
  box-sizing:border-box;
}
.nt-field input[type=range]:focus,.tl-field input[type=range]:focus{outline:none;border:0;box-shadow:none}
.nt-field input[type=range]:disabled,.tl-field input[type=range]:disabled{opacity:.45;cursor:default}
.nt-field input[type=range]::-webkit-slider-runnable-track,.tl-field input[type=range]::-webkit-slider-runnable-track{
  -webkit-appearance:none;appearance:none;width:100%;height:8px;border:0;border-radius:8px;background:#dbe3ea
}
.nt-field input[type=range]::-webkit-slider-thumb,.tl-field input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:28px;height:28px;margin-top:-10px;border:3px solid #fff;border-radius:50%;background:#142E84;box-shadow:0 1px 4px rgba(20,46,132,.45);box-sizing:border-box
}
.nt-field input[type=range]::-moz-range-track,.tl-field input[type=range]::-moz-range-track{
  width:100%;height:8px;border:0;border-radius:8px;background:#dbe3ea
}
.nt-field input[type=range]::-moz-range-thumb,.tl-field input[type=range]::-moz-range-thumb{
  width:28px;height:28px;border:3px solid #fff;border-radius:50%;background:#142E84;box-shadow:0 1px 4px rgba(20,46,132,.45);box-sizing:border-box
}
.nt-slider-row{display:flex;align-items:center;gap:8px;width:100%}
.nt-slider-row input[type=range]{flex:1 1 auto;width:auto;min-width:0}
.nt-step{flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:2px solid #142E84;background:#fff;color:#142E84;font:inherit;font-weight:800;font-size:22px;line-height:1;border-radius:8px;cursor:pointer;touch-action:manipulation}
.nt-step:hover,.nt-step:focus-visible{background:#142E84;color:#fff}
.nt-step:focus-visible{outline:3px solid #F81617;outline-offset:3px}
.nt-step:disabled{opacity:.35;cursor:default;background:#fff;color:#142E84}
.nt-len-num{flex:none;width:64px;min-width:64px;max-width:64px;height:44px;min-height:44px;padding:8px 4px;margin:0;text-align:center;font-weight:700;box-sizing:border-box;-moz-appearance:textfield}
.nt-len-num::-webkit-outer-spin-button,.nt-len-num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tl-field input[type=color]{padding:4px;min-height:48px}
.tl-field input[type=file]{display:none}
.nt-out{background:#f3f6f9;border-radius:12px;padding:14px;margin:14px 0 0}
.nt-out h2{margin:0 0 10px;font-size:20px}
.nt-pw{display:block;font-family:Consolas,Menlo,monospace;font-size:24px;line-height:1.35;word-break:break-all;background:#f3f6f9;border:1px solid #dbe3ea;border-radius:10px;padding:14px;margin:0 0 10px;color:#142E84;font-weight:700;min-height:2.7em}
.nt-meter{height:10px;border-radius:6px;background:#e1e7ee;overflow:hidden;margin:8px 0 4px}
.nt-meter i{display:block;height:100%;width:0;background:#c0392b;transition:width .2s}
.nt-keys{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0}
.nt-key{min-height:48px;padding:6px 2px;border:1px solid #b9c3d6;background:#fff;color:#142E84;font:inherit;font-size:16px;font-weight:700;border-radius:8px;cursor:pointer;touch-action:manipulation}
.nt-key.op{background:#eaf0fb}
.nt-key.fn{font-size:14px;background:#f3f6f9}
.nt-key.red{color:#8a1010}
.nt-key:hover,.nt-key:focus-visible{background:#142E84;color:#fff}
.nt-key:focus-visible{outline:3px solid #F81617;outline-offset:2px}
.nt-calc-in{display:block;width:100%;box-sizing:border-box;font:22px Consolas,Menlo,monospace;color:#1d2733;border:1px solid #b9c3d6;border-radius:8px;padding:12px;min-height:54px}
.nt-calc-in:focus{outline:none;border-color:#142E84;box-shadow:0 0 0 2px rgba(20,46,132,.25)}
.nt-answer{margin:12px 0 0;font-size:26px;font-weight:800;color:#142E84;word-break:break-word;min-height:1.4em}
.nt-answer small{display:block;font-size:15px;font-weight:700;color:#4a5866;margin-top:2px}
.nt-answer ul{list-style:none;margin:0;padding:0}
.nt-pc-card{background:#fff;border:1px solid #dbe3ea;border-radius:12px;padding:14px;margin:0 0 14px;max-width:820px}
.nt-pc-card h2{margin:0 0 8px;font-size:19px;color:#142E84}
.nt-pc-res{margin:6px 0 0;font-size:22px;font-weight:800;color:#142E84;min-height:1.4em;word-break:break-word}
.nt-pc-res small{display:block;font-size:14px;font-weight:600;color:#4a5866}
.nt-search{display:block;width:100%;box-sizing:border-box;font:18px Arial,Helvetica,sans-serif;border:2px solid #142E84;border-radius:10px;padding:12px 14px;min-height:52px;background:#fff;color:#1d2733;-webkit-appearance:none;appearance:none}
.nt-search:focus{outline:none;box-shadow:0 0 0 3px rgba(248,22,23,.35)}
.nt-jump{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px;padding:0;list-style:none}
.nt-jump a{display:inline-block;min-height:44px;line-height:24px;box-sizing:border-box;padding:10px 14px;border:2px solid #142E84;border-radius:999px;background:#fff;color:#142E84;font-weight:700;text-decoration:none}
.nt-jump a:hover,.nt-jump a:focus-visible{background:#142E84;color:#fff}
.nt-empty{margin:18px 0;padding:14px;background:#fdecec;border:1px solid #f5b5b5;border-radius:10px;color:#8a1010;font-weight:700}
.nt-tools-top{max-width:820px;margin:0 0 6px}
@media(max-width:760px){
  .nt-pw{font-size:20px}
  .nt-btns{flex-direction:column}
  .nt-item{flex-wrap:wrap}
  .nt-keys{gap:5px}
  .nt-key{min-height:46px;font-size:15px}
  .nt-key.fn{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.nt-meter i{transition:none}}
