/* Owner tools: /ui/debug.html and /ui/bench.html (variables come from app.css). */ .tool { max-width: 1040px; margin: 0 auto; padding: 24px 20px 64px; } .tool h1 { font: 700 26px/1.2 var(--display); letter-spacing: 0.04em; margin-bottom: 6px; } .tool .lead { color: var(--muted); margin-bottom: 18px; max-width: 70ch; } .tool .card { padding: 16px 18px; margin-bottom: 14px; } .tool .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; } .tool .btn { background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 16px; cursor: pointer; } .tool .btn:hover { border-color: var(--input); } .tool .btn-primary { background: var(--input); color: #04201c; border-color: var(--input); font-weight: 700; } .tool .btn:disabled { opacity: 0.5; cursor: default; } .tool select { background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 7px 10px; } .tool .muted { color: var(--muted); } .tool .bad { color: var(--alert); } .tool .ok { color: var(--input); } .tool dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 8px 0 0; font-size: 14px; } .tool dt { color: var(--muted); } .tool dd { margin: 0; word-break: break-word; } .tool audio { width: 100%; max-width: 420px; height: 36px; } .tool code { background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; } .phrase-now { font: 700 44px/1.1 var(--display); text-align: center; margin: 18px 0 6px; min-height: 1.1em; } .phase { text-align: center; font-size: 20px; min-height: 1.5em; } .phase.talk { color: var(--input); font-weight: 700; } .meter { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; margin: 10px auto; max-width: 520px; } .meter > span { display: block; height: 100%; width: 0; background: var(--input); transition: width 60ms linear; } .phrase-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; } .phrase-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 10px; display: flex; justify-content: space-between; gap: 6px; } .phrase-list li.done { border-color: var(--input); } .phrase-list li.current { outline: 2px solid var(--output); } .phrase-list button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 4px; }