* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: #f8f9fa; color: #383838; padding: 0; margin: 0; }
.container { max-width: 760px; width: 100%; margin: 0 auto; padding: 2rem 1rem; }
.container h1 { font-family: 'Poppins', sans-serif !important; font-size: 41px !important; font-weight: 500 !important; line-height: 1.2 !important; margin-bottom: 0.5rem !important; color: #383838 !important; text-transform: none !important; text-align: center !important; letter-spacing: normal !important; }
.subtitle { font-size: 1rem; color: #666; line-height: 1.7; margin-bottom: 1.8rem; text-align: center; }
.card { background: #fff; border-radius: 12px; border: 1px solid #e4e4e4; padding: 1.5rem; margin-bottom: 1rem; }
label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-bottom: 8px; }
textarea, input[type="text"] { width: 100%; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 12px; font-size: 0.9rem; font-family: 'Poppins', sans-serif; color: #383838; background: #fafafa; transition: border-color 0.15s; outline: none; line-height: 1.6; }
textarea { height: 180px; resize: vertical; }
input[type="text"] { height: 46px; }
textarea:focus, input[type="text"]:focus { border-color: #1a1a2e; background: #fff; }
.field-block { margin-bottom: 1.2rem; }
.stats-bar { display: flex; gap: 1.5rem; margin-top: 8px; flex-wrap: wrap; }
.stat { font-size: 0.78rem; color: #999; }
.stat strong { color: #555; font-weight: 600; }
.actions { display: flex; gap: 8px; margin-top: 1.2rem; flex-wrap: wrap; }
.btn { padding: 9px 18px; border-radius: 8px; border: 1.5px solid #1a1a2e; background: #1a1a2e; color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.15s, transform 0.1s; white-space: nowrap; }
.btn:hover { background: #2e2e4a; border-color: #2e2e4a; }
.btn:active { transform: scale(0.97); }
.btn.outline { background: transparent; color: #1a1a2e; }
.btn.outline:hover { background: #f0f0f0; }
.results { display: none; margin-top: 1.5rem; border-top: 1px solid #f0f0f0; padding-top: 1.4rem; }
.results.visible { display: block; }
.kw-result { border-radius: 10px; padding: 16px 20px; margin-bottom: 1.2rem; border: 1.5px solid #e4e4e4; }
.kw-result.ok { background: #f1f8e9; border-color: #a5d6a7; }
.kw-result.low { background: #fff8e1; border-color: #ffe082; }
.kw-result.high { background: #fdecea; border-color: #ffcdd2; }
.kw-result-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.kw-name { font-size: 0.95rem; font-weight: 700; color: #383838; }
.kw-badge { font-size: 0.78rem; font-weight: 700; border-radius: 20px; padding: 3px 12px; }
.kw-badge.ok { background: #c8e6c9; color: #1b5e20; }
.kw-badge.low { background: #fff9c4; color: #f57f17; }
.kw-badge.high { background: #ffcdd2; color: #b71c1c; }
.kw-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.82rem; color: #555; }
.kw-stats span strong { font-weight: 700; color: #383838; }
.density-bar-wrap { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.density-bar-bg { flex: 1; height: 8px; background: #eee; border-radius: 99px; overflow: visible; position: relative; }
.density-bar { height: 100%; border-radius: 99px; transition: width 0.3s; }
.density-bar.ok { background: #66bb6a; }
.density-bar.low { background: #ffd54f; }
.density-bar.high { background: #ef5350; }
.zone-marker { position: absolute; top: -3px; width: 2px; height: 14px; background: #aaa; border-radius: 1px; }
.density-pct { font-size: 0.8rem; font-weight: 700; min-width: 40px; text-align: right; }
.density-pct.ok { color: #2e7d32; }
.density-pct.low { color: #f57f17; }
.density-pct.high { color: #c62828; }
.occurrences-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-bottom: 10px; }
.occurrence-item { background: #f8f9fa; border: 1px solid #e4e4e4; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; font-size: 0.88rem; color: #555; line-height: 1.6; }
.occurrence-item mark { background: #fff9c4; color: #383838; font-weight: 700; border-radius: 3px; padding: 0 2px; }
.no-kw-msg { font-size: 0.88rem; color: #999; font-style: italic; margin-top: 0.5rem; }
.info-box { background: #eaf3fb; border: 1px solid #1e73be; border-radius: 8px; padding: 12px 16px; font-size: 0.88rem; color: #1e73be; margin-top: 1.2rem; line-height: 1.7; }
.info-box strong { font-weight: 600; }
.info-box ul { padding-left: 1.2rem; margin-top: 8px; line-height: 1.9; }
.content-section { margin-top: 2.5rem; border-top: 1px solid #e4e4e4; padding-top: 2rem; }
.toggle-btn { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1.5px solid #e4e4e4; border-radius: 10px; padding: 14px 20px; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: #383838; cursor: pointer; text-align: left; transition: all 0.2s; }
.toggle-btn:hover { border-color: #1a1a2e; background: #f8f9fa; }
.toggle-btn .arrow { margin-left: auto; font-size: 0.85rem; color: #888; transition: transform 0.25s; }
.toggle-btn.open .arrow { transform: rotate(180deg); }
.content-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0; }
.content-body.open { max-height: none; opacity: 1; }
.content-body-inner { padding-top: 1.8rem; }
.content-section h2 { font-family: 'Poppins', sans-serif !important; font-size: 1.15rem !important; font-weight: 500 !important; line-height: 1.3 !important; color: #383838 !important; margin-bottom: 0.7rem !important; margin-top: 1.6rem !important; text-transform: none !important; letter-spacing: normal !important; }
.content-section h2:first-child { margin-top: 0 !important; }
.content-section p { font-size: 1rem; font-weight: 400; color: #383838; line-height: 1.7; margin-bottom: 1.1rem; }
.content-section a { color: #1a1a2e; text-decoration: underline; text-underline-offset: 3px; }
.content-section a:hover { color: #555; }
@media (max-width: 500px) { .actions { flex-direction: column; } .btn { width: 100%; text-align: center; } }