.app{min-height:100dvh;display:flex;flex-direction:column;max-width:780px;margin:0 auto;padding:0 var(--space-4) var(--space-5)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) 0 var(--space-3)}.brand{font-size:1.05rem;font-weight:700;letter-spacing:.02em;display:flex;flex-direction:column;line-height:1.15}.brand-sub{font-size:.7rem;font-weight:500;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.topbar-actions{display:flex;align-items:center;gap:var(--space-2)}.status{display:inline-flex;align-items:center;gap:var(--space-2);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:var(--space-2) var(--space-3);font-size:.8rem;color:var(--muted)}.status-on{color:var(--accent);border-color:#4dd6c166}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--line)}.status-on .status-dot{background:var(--accent);box-shadow:0 0 0 4px #4dd6c126}.icon-button{width:var(--tap);height:var(--tap);display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);font-size:1.1rem}.main{display:flex;flex-direction:column;gap:var(--space-3);flex:1}.phrase-card{background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-3) var(--space-4) var(--space-4);box-shadow:var(--shadow)}.phrase-live{border-color:#4dd6c18c}.phrase-head{display:flex;justify-content:space-between;align-items:center;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:var(--space-2)}.phrase-text{width:100%;background:transparent;border:0;resize:none;color:var(--text);font-size:1.45rem;line-height:1.3;font-weight:600;outline:none}.phrase-text::placeholder{color:var(--muted);font-weight:500}.mic-row{display:flex;gap:var(--space-2);align-items:stretch}.mic{flex:1;min-height:68px;display:flex;align-items:center;justify-content:center;gap:var(--space-3);background:var(--accent);color:var(--accent-ink);border:0;border-radius:var(--radius);font-size:1.05rem;font-weight:700;touch-action:none;-webkit-user-select:none;user-select:none;transition:transform .08s ease,background .15s ease}.mic:active{transform:scale(.99)}.mic-live{background:var(--danger);color:#2a0a10}.mic-dot{width:14px;height:14px;border-radius:50%;background:currentColor}.mic-live .mic-dot{animation:pulse 1.1s ease-out infinite}@keyframes pulse{0%{box-shadow:0 0 #2a0a1073}to{box-shadow:0 0 0 16px #2a0a1000}}.button{min-height:var(--tap);padding:0 var(--space-4);border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);font-size:.9rem;font-weight:600}.button.ghost:hover{border-color:var(--accent)}.button.danger{color:var(--danger);border-color:#ff6b8166}.chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.chip{min-height:var(--tap);padding:0 var(--space-4);border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:.9rem;font-weight:600}.chip-on{background:#4dd6c124;border-color:var(--accent);color:var(--accent)}.chip-small{min-height:36px;padding:0 var(--space-3);font-size:.8rem}.chips-hint{font-size:.72rem;color:var(--muted)}.banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);font-size:.88rem}.banner-warn{border-color:#ffc86173;color:var(--accent-2)}.banner-error{border-color:#ff6b8173;color:var(--danger)}.banner-ok{border-color:#57d98a66;color:var(--ok)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.card-head{display:flex;align-items:baseline;justify-content:space-between;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.meta{font-size:.72rem;color:var(--muted);text-transform:none;letter-spacing:0}.explain-text{margin:0;font-size:1.02rem;line-height:1.55;color:var(--text)}.slide-preview{display:flex;flex-direction:column;gap:var(--space-2)}.slide-title{font-size:1.15rem;font-weight:700;color:var(--accent)}.slide-bullets{margin:0;padding-left:var(--space-4);display:flex;flex-direction:column;gap:var(--space-1);font-size:.95rem}.slide-notes{margin:0;font-size:.82rem;line-height:1.5;color:var(--muted);border-left:2px solid var(--line);padding-left:var(--space-3)}.dots{display:flex;gap:6px}.dot{width:8px;height:8px;border-radius:50%;background:var(--line)}.dot-on{background:var(--accent)}.log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.log li{display:flex;justify-content:space-between;gap:var(--space-3);border-bottom:1px dashed var(--line);padding-bottom:var(--space-2)}.link-button{background:none;border:0;padding:0;color:var(--text);font-size:.9rem;text-align:left}.link-button:hover{color:var(--accent)}.hint{margin:0;font-size:.78rem;line-height:1.5;color:var(--muted)}.foot{text-align:center;font-size:.72rem;color:var(--muted);padding-top:var(--space-2)}.row{display:flex;align-items:center;gap:var(--space-2)}.wrap{flex-wrap:wrap}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#03070fb8;display:flex;justify-content:center;align-items:flex-start;padding:var(--space-4);overflow-y:auto;z-index:20}.sheet{width:min(620px,100%);background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin:var(--space-4) 0 var(--space-5)}.sheet-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:var(--space-4);background:var(--bg-soft);border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}.sheet-head h2{margin:0;font-size:1.05rem}.sheet-body{padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.sheet-body h3{margin:var(--space-3) 0 0;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.field{display:flex;flex-direction:column;gap:6px;font-size:.82rem;color:var(--muted)}.field input,.field select{min-height:var(--tap);padding:0 var(--space-3);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--text);font-size:.95rem}.field input[type=range]{padding:0;accent-color:var(--accent)}.check{display:flex;align-items:center;gap:var(--space-2);font-size:.88rem;color:var(--text)}.check input{width:18px;height:18px;accent-color:var(--accent)}.preset-row{display:flex;gap:var(--space-2);flex-wrap:wrap}.test-result{font-size:.78rem;color:var(--muted);line-height:1.4}
