:root{--bg: #ffffff;--surface: #f8f9fa;--surface-hover: #f1f3f5;--border: #e9ecef;--text: #212529;--text-muted: #6c757d;--accent: #4f46e5;--ok: #22c55e;--warn: #f59e0b;--danger: #ef4444;--danger-bg: #fff5f5}@media(prefers-color-scheme:dark){:root{--bg: #0f172a;--surface: #1e293b;--surface-hover: #334155;--border: #334155;--text: #f1f5f9;--text-muted: #94a3b8;--accent: #818cf8;--ok: #4ade80;--warn: #fbbf24;--danger: #f87171;--danger-bg: #1c0505}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.5}.app-header{height:52px;padding:0 24px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;flex-shrink:0}.app-title{font-size:18px;font-weight:700;color:var(--accent);letter-spacing:-.3px}.app-tagline{font-size:13px;font-weight:400;color:var(--text-muted);margin:0}.app-root{display:grid;grid-template-columns:1fr 400px;min-height:calc(100vh - 52px)}.editor-panel{display:flex;flex-direction:column;border-right:1px solid var(--border);overflow:hidden}.platforms-panel{overflow-y:auto;padding:16px}.text-input-wrapper{position:relative;flex:1;display:flex;flex-direction:column;min-height:0}.text-area{flex:1;width:100%;padding:20px 24px 40px;border:none;outline:none;resize:none;background:var(--bg);color:var(--text);font-size:15px;line-height:1.75;font-family:inherit;overflow-y:auto}.text-area::placeholder{color:var(--text-muted)}.char-badge{position:absolute;bottom:10px;right:14px;font-size:12px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:2px 10px;pointer-events:none}.stats-bar{display:flex;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;overflow-x:auto}.stat{flex:1;min-width:72px;display:flex;flex-direction:column;align-items:center;padding:10px 8px;border-right:1px solid var(--border);gap:2px}.stat:last-child{border-right:none}.stat-value{font-size:15px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.stat-label{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);white-space:nowrap}.platform-grid-root{display:flex;flex-direction:column;gap:12px}.platform-grid-header{display:flex;flex-direction:column;gap:8px}.platform-grid-title{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--text-muted)}.category-tabs{display:flex;gap:4px;flex-wrap:wrap}.cat-tab{padding:4px 11px;border-radius:20px;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-size:12px;font-weight:500;cursor:pointer;transition:background .12s,color .12s,border-color .12s;font-family:inherit}.cat-tab:hover{background:var(--surface-hover);color:var(--text)}.cat-tab.active{background:var(--accent);border-color:var(--accent);color:#fff}.platform-grid{display:flex;flex-direction:column;gap:8px}.platform-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;gap:8px;transition:border-color .15s}.platform-card.status-warn{border-color:var(--warn)}.platform-card.status-danger{border-color:var(--danger)}.platform-card.status-over{border-color:var(--danger);background:var(--danger-bg)}.card-header{display:flex;justify-content:space-between;align-items:center}.platform-name{font-size:13px;font-weight:600;color:var(--text)}.platform-type{font-size:10px;color:var(--text-muted);background:var(--border);padding:2px 7px;border-radius:10px;text-transform:uppercase;letter-spacing:.4px;font-weight:500}.progress-track{position:relative;height:6px;background:var(--border);border-radius:3px;overflow:visible}.progress-fill{height:100%;border-radius:3px;background:var(--ok);transition:width .08s ease}.status-warn .progress-fill{background:var(--warn)}.status-danger .progress-fill,.status-over .progress-fill{background:var(--danger)}.recommended-marker{position:absolute;top:-3px;width:2px;height:12px;background:var(--text-muted);border-radius:1px;transform:translate(-50%);opacity:.5}.card-footer{display:flex;justify-content:space-between;align-items:center}.char-count{font-size:12px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.remaining{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.status-over .remaining{color:var(--danger);font-weight:600}@media(max-width:768px){.app-root{grid-template-columns:1fr;grid-template-rows:45vh auto;height:auto;min-height:calc(100vh - 52px)}.editor-panel{border-right:none;border-bottom:1px solid var(--border)}.platforms-panel{padding:12px}}
