/* Local system fonts only: no @font-face, external stylesheets or font downloads. */
:root{
  --font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI","PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;
  --font-code:ui-monospace,"Cascadia Mono",Consolas,Menlo,monospace;
  font-family:var(--font-ui);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body{line-height:1.5}
h1,h2{font-weight:600;letter-spacing:-.015em;line-height:1.3}
h3,.setting-row h3,.widget-title{font-weight:500;letter-spacing:0;line-height:1.45}
.section-heading p,.setting-row p,.project-info p{line-height:1.75}
.setting-row p,.project-info p{font-size:13px}
.project-info h3{font-size:16px;font-weight:600;letter-spacing:-.01em}
.project-info small,.info-note{line-height:1.75}
.button,.dock button,.back-link{font-weight:500}
.focus-clock{font-weight:300;letter-spacing:-.045em}
.stat-main,.metric-box strong{font-weight:500;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.message{font-size:14px;line-height:1.85}
.chat-header h2{font-weight:600;letter-spacing:0}
.composer textarea{line-height:1.7}
.composer-hint{font-size:10px;line-height:1.6}
code,pre,.diff-code,#command-list button b{font-family:var(--font-code)}
.speed-control{display:flex;align-items:center;gap:12px;width:260px;max-width:55%;flex-shrink:0}
.setting-row .speed-control input[type=range]{width:100%;max-width:none;min-width:0;min-height:44px;margin:0}
.speed-value{display:flex;align-items:center;gap:2px;flex-shrink:0;padding:0 9px;border:1px solid var(--line);border-radius:10px;background:#ffffff06;color:var(--muted);font-size:12px}
.speed-value input{width:3.2ch;min-height:44px;padding:0;border:0;background:transparent;color:var(--text);text-align:right;font-size:14px;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
.speed-value input::-webkit-inner-spin-button,.speed-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:600px){
  .speed-control{gap:8px}
  .setting-row:has(.speed-control){flex-wrap:wrap;gap:10px}
  .setting-row .speed-control{width:100%;max-width:none}
  .message{font-size:13px}
}
