@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--bg:#080b0f;--surface:#0e1217;--surface2:#151b22;--surface3:#1c242d;--border:#1e2a35;--border2:#2a3a48;--text:#cdd9e5;--muted:#545d68;--muted2:#768390;--accent:#58a6ff;--green:#3fb950;--red:#f85149;--amber:#d29922;--orange:#ffa657;--highlight:rgba(210,153,34,.25)}body{background-color:var(--bg);color:var(--text);font-family:var(--font-mono),monospace;margin:0;padding:0;overflow:hidden}}.app-container{display:flex;flex-direction:column;height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:48px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;gap:16px}.logo{font-size:14px;color:var(--text);font-weight:500;letter-spacing:-.01em;white-space:nowrap;text-decoration:none;transition:opacity .15s}.logo:hover{opacity:.8}.logoDim{color:var(--muted2);font-weight:300}.logoAccent{color:var(--green)}.main-content{display:flex;flex:1 1;overflow:hidden}.pane-left{flex:1 1;border-right:1px solid var(--border);position:relative}.pane-left,.pane-right{display:flex;flex-direction:column}.pane-right{width:380px;background:var(--surface);overflow-y:auto}.editor-container{position:relative;flex:1 1;display:flex;flex-direction:column}.editor-backdrop,.editor-textarea{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:24px;font-family:inherit;font-size:15px;line-height:1.6;border:none;outline:none;resize:none;-moz-tab-size:4;tab-size:4}.editor-backdrop{z-index:1;color:transparent;overflow-y:auto;pointer-events:none}.editor-textarea{z-index:2;background:transparent;color:var(--text);caret-color:var(--text)}.editor-textarea::placeholder{color:var(--muted)}.editor-highlights{white-space:pre-wrap;word-wrap:break-word}mark.long-sentence{background-color:var(--highlight);color:transparent;border-radius:2px}.dashboard-scroll{padding:24px;display:flex;flex-direction:column;gap:32px}h3.section-title{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 12px;font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px}.stat-card{background:var(--surface2);border:1px solid var(--border);border-radius:6px;padding:12px;display:flex;flex-direction:column;gap:4px}.stat-label{font-size:11px;color:var(--muted2)}.stat-val{font-size:18px;font-weight:500;color:var(--text)}.health-indicators{display:flex;gap:12px}.health-card{flex:1 1;display:flex;flex-direction:column;gap:6px}.health-label{font-size:11px;color:var(--muted)}.health-val{font-size:14px;color:var(--text);font-weight:500}.health-val.grade{color:var(--accent)}.health-val.good{color:var(--green)}.health-val.warning{color:var(--amber)}.limits-container,.limits-list{display:flex;flex-direction:column}.limits-list{gap:12px}.limit-row{display:flex;flex-direction:column;gap:6px}.limit-header{display:flex;justify-content:space-between;font-size:11px}.limit-name{color:var(--text)}.limit-status{color:var(--muted2)}.limit-bar-bg{height:4px;background:var(--surface3);border-radius:2px;overflow:hidden}.limit-bar-fill{height:100%;background:var(--green);transition:width .3s ease}.limit-bar-fill.over{background:var(--red)}.chart-container{display:flex;flex-direction:column}.chart-arena{display:flex;gap:16px;height:80px;align-items:flex-end;margin-top:10px}.chart-col{flex:1 1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}.chart-bar-wrap{flex:1 1;width:24px;display:flex;align-items:flex-end;background:var(--surface2);border-radius:4px 4px 0 0}.chart-bar{width:100%;border-radius:4px 4px 0 0;transition:height .3s ease}.chart-bar.short{background:var(--cyan)}.chart-bar.medium{background:var(--accent)}.chart-bar.long{background:var(--orange)}.chart-label{font-size:9px;color:var(--muted2);text-align:center;line-height:1.2}.top-words-grid{display:flex;flex-direction:column;gap:8px}.top-word-row{display:flex;justify-content:space-between;font-size:12px;background:var(--surface2);padding:6px 12px;border-radius:4px}.tw-word{color:var(--text)}.tw-count{color:var(--muted2)}.dashboard-empty{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:13px;gap:12px}.pulse-icon{font-size:24px;animation:blink 1s step-end infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}