.pcoach-root{flex-direction:column;width:100%;margin-top:8px;display:inline-flex}.pcoach-root.is-inline-btn{width:auto;margin-top:0}.pcoach-trigger-btn{border:1px solid color-mix(in srgb, var(--primary,#15305b) 28%, var(--border,#dce3ec));background:color-mix(in srgb, var(--primary,#15305b) 8%, var(--card,#fff));min-height:36px;color:var(--primary,#15305b);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:12.5px;font-weight:700;line-height:1.2;transition:transform .16s cubic-bezier(.23,1,.32,1),background .16s,border-color .16s;display:inline-flex}.pcoach-trigger-btn:hover{background:color-mix(in srgb, var(--primary,#15305b) 14%, var(--card,#fff));border-color:color-mix(in srgb, var(--primary,#15305b) 45%, var(--border,#dce3ec))}.pcoach-trigger-btn:active{transform:scale(.98)}.pcoach-trigger-btn.is-open{background:var(--primary,#15305b);color:var(--primary-foreground,#fff);border-color:var(--primary,#15305b)}.pcoach-panel{border:1px solid var(--border,#dce3ec);background:color-mix(in srgb, var(--card,#fff) 96%, #f1f5f9);text-align:left;box-sizing:border-box;border-radius:14px;flex-direction:column;gap:10px;width:100%;margin-top:10px;padding:14px 15px;display:flex;box-shadow:0 4px 16px #0f1d330f}html.dark .pcoach-panel,html[data-display-mode=dark] .pcoach-panel{color:#f2f4f8;background:#1a2130;border-color:#2c364c}html.dark .pcoach-trigger-btn,html[data-display-mode=dark] .pcoach-trigger-btn{color:#8fb8f7;background:#6fa3f21f;border-color:#8fb8f752}html.dark .pcoach-trigger-btn.is-open,html[data-display-mode=dark] .pcoach-trigger-btn.is-open{color:#0d1829;background:#6fa3f2}.pcoach-head{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.pcoach-badge{letter-spacing:.01em;min-width:0;color:var(--primary,#15305b);align-items:center;gap:6px;font-size:11px;font-weight:800;display:inline-flex}html.dark .pcoach-badge,html[data-display-mode=dark] .pcoach-badge{color:#8fb8f7}.pcoach-close{border:1px solid var(--border,#dce3ec);width:28px;height:28px;color:var(--muted-foreground,#4b5a70);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.pcoach-target-box{background:var(--surface-soft,#f1f4f8);border:1px solid var(--border,#dce3ec);border-radius:11px;flex-direction:column;gap:5px;padding:10px 12px;display:flex}html.dark .pcoach-target-box,html[data-display-mode=dark] .pcoach-target-box{background:#131824;border-color:#2c364c}.pcoach-tokens{flex-wrap:wrap;align-items:baseline;gap:4px;font-size:1.12rem;font-weight:800;line-height:1.5;display:flex}.pcoach-token{border-radius:6px;padding:1px 5px;transition:background .2s,color .2s}.pcoach-token.is-green{color:#15803d;background:#16a34a26}.pcoach-token.is-yellow{color:#b45309;background:#d9770629}.pcoach-token.is-red{color:#dc2626;background:#dc262626;-webkit-text-decoration:underline wavy #dc2626a6;text-decoration:underline wavy #dc2626a6}html.dark .pcoach-token.is-green,html[data-display-mode=dark] .pcoach-token.is-green{color:#4ade80;background:#4ade802e}html.dark .pcoach-token.is-yellow,html[data-display-mode=dark] .pcoach-token.is-yellow{color:#fbbf24;background:#fbbf242e}html.dark .pcoach-token.is-red,html[data-display-mode=dark] .pcoach-token.is-red{color:#f87171;background:#f8717133}.pcoach-reading{color:var(--muted-foreground,#4b5a70);font-size:12.5px;font-weight:500}.pcoach-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pcoach-mic-btn{background:var(--cta-gold,#e5a020);min-height:40px;color:var(--cta-gold-ink,#1c1302);cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:13px;font-weight:800;display:inline-flex}.pcoach-mic-btn.is-recording{color:#fff;background:#dc2626;animation:1.3s ease-in-out infinite pcoachPulse}.pcoach-sub-btn{border:1px solid var(--border,#dce3ec);background:var(--card,#fff);min-height:38px;color:var(--foreground,#0f1d33);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:650;display:inline-flex}html.dark .pcoach-sub-btn,html[data-display-mode=dark] .pcoach-sub-btn{color:#f2f4f8;background:#22293a;border-color:#334059}.pcoach-sub-btn:disabled{opacity:.5;cursor:not-allowed}.pcoach-score-row{border:1px solid var(--border,#dce3ec);background:var(--card,#fff);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;display:flex}html.dark .pcoach-score-row,html[data-display-mode=dark] .pcoach-score-row{background:#161c29;border-color:#2c364c}.pcoach-score-pill{font-variant-numeric:tabular-nums;border-radius:999px;padding:3px 10px;font-size:15px;font-weight:800}.pcoach-score-pill.is-high{color:#15803d;background:#16a34a26}.pcoach-score-pill.is-mid{color:#b45309;background:#d9770629}.pcoach-score-pill.is-low{color:#dc2626;background:#dc262626}html.dark .pcoach-score-pill.is-high{color:#4ade80}html.dark .pcoach-score-pill.is-mid{color:#fbbf24}html.dark .pcoach-score-pill.is-low{color:#f87171}.pcoach-legend{color:var(--muted-foreground,#4b5a70);flex-wrap:wrap;gap:10px;font-size:11.5px;display:flex}.pcoach-legend span{align-items:center;gap:4px;display:inline-flex}.pcoach-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.pcoach-note{color:var(--muted-foreground,#4b5a70);margin:0;font-size:12px;line-height:1.5}@keyframes pcoachPulse{0%,to{box-shadow:0 0 #dc262659}50%{box-shadow:0 0 0 7px #dc262600}}@media (prefers-reduced-motion:reduce){.pcoach-mic-btn.is-recording{animation:none}}
