:root { color-scheme: light; --ink: #20252b; --muted: #7c858e; --line: #e4e7ea; --accent: #ef6d4f; --paper: #fffdf9; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f4f1eb; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; }
.app-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 80px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--accent); color: white; font: 700 22px Georgia, serif; box-shadow: 0 8px 20px #ef6d4f40; }
h1 { margin: 0; font: 700 28px Georgia, serif; letter-spacing: -.03em; } header p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.workspace { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 45px #35322b0d; overflow: hidden; }
textarea { display: block; width: 100%; min-height: 390px; resize: vertical; border: 0; outline: 0; padding: 30px 32px; background: transparent; color: var(--ink); font: 400 24px/1.65 Georgia, serif; }
textarea::placeholder { color: #c5c8ca; }
.stats { display: flex; gap: 20px; padding: 15px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.analysis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.sentence { padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: #ffffff80; }
.sentence-label { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sentence-text { margin: 8px 0 13px; font: 17px/1.4 Georgia, serif; }
.sentence-meta { display: flex; gap: 12px; color: var(--muted); font-size: 11px; }
@media (max-width: 600px) { .app-shell { width: min(100% - 24px, 920px); padding-top: 30px; } textarea { min-height: 330px; padding: 22px; font-size: 20px; } .stats { padding: 13px 22px; gap: 12px; flex-wrap: wrap; } }
