:root{--bg:#f7f7f5;--surface:#fff;--text:#1c1c1c;--muted:#6b6b6b;--border:#e0e0dc;--accent:#2f6f4f;--accent-text:#fff;--exclude:#a13d3d;--radius:10px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#16171a;--surface:#1f2023;--text:#eceeef;--muted:#9a9ea3;--border:#33353a;--accent:#4f9d74;--accent-text:#0c130f;--exclude:#d97a7a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}#app{min-height:100vh}main{max-width:640px;margin:0 auto;padding:1rem 1rem 3rem}header h1{margin:.5rem 0 1rem;font-size:1.4rem}.filters{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;padding:.75rem}.chips{flex-wrap:wrap;gap:.5rem;margin:0 0 .75rem;padding:0;list-style:none;display:flex}.chip{background:var(--bg);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.35rem;max-width:100%;padding:.3rem .4rem .3rem .7rem;font-size:.85rem;display:inline-flex}.chip-sign{color:var(--accent);font-weight:700}.chip.exclude .chip-sign{color:var(--exclude)}.chip-text{overflow-wrap:anywhere}.chip-whole-word{color:var(--muted);font-size:.75rem;font-style:normal}.chip-remove{color:var(--muted);cursor:pointer;background:0 0;border:none;min-width:28px;min-height:28px;padding:.2rem .35rem;font-size:1.1rem;line-height:1}.filter-form{flex-wrap:wrap;gap:.5rem;display:flex}.filter-form select,.filter-form input[type=text]{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;min-height:44px;padding:.55rem .6rem;font-size:16px}.filter-form select{flex:40%}.filter-form input[type=text]{flex:100%}.whole-word-toggle{min-height:44px;color:var(--muted);flex:100%;align-items:center;gap:.4rem;font-size:.9rem;display:flex}.whole-word-toggle input[type=checkbox]{width:20px;height:20px}.mode-toggle{border:1px solid var(--border);border-radius:8px;flex:55%;display:flex;overflow:hidden}.mode-toggle button{background:var(--surface);color:var(--muted);cursor:pointer;border:none;flex:1;min-height:44px;padding:.55rem .5rem;font-size:.85rem}.mode-toggle button.active{background:var(--accent);color:var(--accent-text);font-weight:600}.add-btn{background:var(--accent);min-height:44px;color:var(--accent-text);cursor:pointer;border:none;border-radius:8px;flex:100%;font-size:.95rem;font-weight:600}.add-btn:disabled{opacity:.5;cursor:not-allowed}.error{background:color-mix(in srgb, var(--exclude) 15%, transparent);border:1px solid var(--exclude);color:var(--exclude);border-radius:8px;padding:.6rem .75rem;font-size:.9rem}.results-count{color:var(--muted);margin:0 0 .5rem;font-size:.85rem}.cards{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem .9rem}.card-title{color:var(--text);margin-bottom:.3rem;font-size:.98rem;font-weight:600;text-decoration:none;display:block}.card-title:hover,.card-title:focus-visible{text-decoration:underline}.card-meta{color:var(--muted);margin:0 0 .2rem;font-size:.85rem}.card-closing,.card-docs{color:var(--muted);margin:0;font-size:.8rem}.empty{color:var(--muted);text-align:center;padding:2rem 0}.load-more{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);cursor:pointer;border-radius:8px;margin-top:1rem;font-size:.95rem;display:block}.load-more:disabled{opacity:.6;cursor:not-allowed}
