:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#202124;background:#f4f6f3;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea{font:inherit}button{min-height:40px;border:1px solid #d7d9d4;border-radius:8px;background:#fff;color:#202124;padding:0 14px;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}button:hover:not(:disabled){border-color:#8a9384;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.48}button.primary{border-color:#202124;background:#202124;color:#fff}.app-shell{min-height:100vh;padding:28px;background:linear-gradient(180deg,#ffffffe6,#f4f6f3eb),linear-gradient(135deg,rgba(54,116,91,.12),transparent 38%),linear-gradient(315deg,rgba(173,92,71,.11),transparent 36%)}.workspace{width:min(1240px,100%);margin:0 auto}.topbar,.panel-head,.section-title,.top-actions,.actions{display:flex;align-items:center;gap:12px}.topbar,.panel-head,.section-title{justify-content:space-between}.topbar{margin-bottom:18px}.eyebrow{margin:0 0 6px;color:#70756d;font-size:.78rem;font-weight:750;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(2.1rem,5vw,4rem);line-height:1.02;letter-spacing:0}h2{margin-bottom:0;font-size:1.18rem;letter-spacing:0}.tool-layout{display:grid;grid-template-columns:minmax(340px,1.05fr) minmax(420px,.95fr);gap:16px;align-items:stretch}.panel{min-height:620px;border:1px solid rgba(32,33,36,.1);border-radius:8px;background:#ffffffe0;box-shadow:0 22px 58px #292d2714;backdrop-filter:blur(18px);padding:20px}.panel-head>span{color:#70756d;font-size:.9rem}textarea{width:100%;min-height:520px;margin-top:16px;resize:vertical;border:1px solid #d7d9d4;border-radius:8px;background:#fbfcfb;padding:16px;color:#202124;line-height:1.72;outline:none}textarea:focus{border-color:#4f725f;box-shadow:0 0 0 4px #4f725f21}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.metric-grid article{min-height:86px;border:1px solid #e2e4df;border-radius:8px;background:#fbfcfb;padding:14px}.metric-grid span,.section-title span{display:block;color:#70756d;font-size:.82rem;font-weight:680}.metric-grid strong{display:block;margin-top:10px;overflow-wrap:anywhere;color:#202124;font-size:clamp(1.28rem,2vw,1.7rem);line-height:1}.keyword-section{margin-top:18px}.keywords{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.keywords span{display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid #d7d9d4;border-radius:8px;background:#fff;padding:0 10px;color:#202124}.keywords b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#e7eee8;color:#365845;font-size:.78rem}.empty-state{display:grid;place-items:center;min-height:430px;margin-top:18px;border:1px dashed #c8cbc5;border-radius:8px;color:#70756d;text-align:center;padding:24px}.empty-state.compact{min-height:90px}@media(prefers-color-scheme:dark){:root{color:#f2f3ef;background:#141612}.app-shell{background:linear-gradient(180deg,#141612f0,#1c1f1af0),linear-gradient(135deg,rgba(70,132,102,.15),transparent 38%),linear-gradient(315deg,rgba(201,112,87,.11),transparent 36%)}.panel,textarea,.metric-grid article,.keywords span,button{border-color:#ffffff21;background:#21241fdb;color:#f2f3ef}button.primary{border-color:#f2f3ef;background:#f2f3ef;color:#141612}.metric-grid strong{color:#f2f3ef}.eyebrow,.panel-head>span,.metric-grid span,.section-title span,.empty-state{color:#a8ada2}.keywords b{background:#6d9c7e38;color:#b9dcc4}}@media(max-width:940px){.app-shell{padding:18px}.topbar{align-items:flex-start;flex-direction:column}.tool-layout{grid-template-columns:1fr}.panel{min-height:auto}textarea{min-height:340px}}@media(max-width:620px){.panel-head,.top-actions,.actions{align-items:stretch;flex-direction:column}.panel-head{align-items:flex-start}.top-actions,.actions,.top-actions button,.actions button{width:100%}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
