:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0}.auth-page{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1.25rem;min-height:0;padding:1rem;display:flex;overflow-y:auto}.auth-card{border:1px solid #8884;border-radius:12px;flex-direction:column;gap:.75rem;width:100%;max-width:360px;padding:2rem;display:flex}.auth-title{align-items:center;gap:.6rem;display:flex}.auth-card h1{margin:0;font-size:1.25rem}.auth-card h2{opacity:.8;margin:0 0 .5rem;font-size:1rem;font-weight:500}.auth-intro{text-align:center;opacity:.85;max-width:420px;margin:0;font-size:1.3rem;font-weight:600;line-height:1.4}label{flex-direction:column;gap:.25rem;font-size:.9rem;display:flex}input,select,textarea{color:inherit;background:0 0;border:1px solid #8884;border-radius:6px;padding:.5rem;font-size:1rem}textarea{resize:vertical;font-family:inherit}select,select option{color:canvastext;background:canvas}button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.95rem}button:disabled{opacity:.6;cursor:not-allowed}.spinner{vertical-align:-.15em;border:2px solid;border-right-color:#0000;border-radius:50%;width:.9em;height:.9em;margin-right:.5em;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.auth-switch{text-align:center;font-size:.85rem}.error{color:#dc2626;font-size:.85rem}.unsaved-warning{margin-top:.5rem}.success{color:#16a34a;font-size:.85rem}.app-root{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.dashboard{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.dashboard-header{border-bottom:1px solid #8884;flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.dashboard-header>div{align-items:center;gap:.75rem;display:flex}.dashboard-header-title{align-items:center;gap:.6rem;min-width:0;display:flex}.dashboard-header-title h2{white-space:nowrap;margin:0}.app-logo{flex-shrink:0;width:auto;height:40px;display:block}.sidebar-toggle{color:inherit;background:0 0;border:1px solid #8884;padding:.35rem .6rem;font-size:1.1rem;line-height:1;display:none}.sidebar-overlay{display:none}.account-menu{position:relative}.account-menu-trigger{color:inherit;background:0 0;border:1px solid #8884}.account-menu-panel{color:canvastext;z-index:10;background:canvas;border:1px solid #8884;border-radius:8px;flex-direction:column;min-width:220px;display:flex;position:absolute;top:calc(100% + .5rem);right:0;overflow:hidden;box-shadow:0 4px 16px #0004}.account-menu-email{opacity:.7;overflow-wrap:break-word;border-bottom:1px solid #8884;padding:.6rem .9rem;font-size:.85rem}.account-menu-item{text-align:left;color:inherit;padding:.6rem .9rem;text-decoration:none}.account-menu-item:hover{background:#2563eb22}.account-menu-item-button{width:100%;font-size:inherit;background:0 0;border:none;border-radius:0}.dashboard-body{flex:1;min-height:0;display:flex;overflow:hidden}.sidebar{border-right:1px solid #8884;width:220px;padding:1rem;overflow-y:auto}.municipality-list{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.municipality-item{text-align:left;width:100%;color:inherit;background:0 0;border:1px solid #0000}.municipality-item.active{background:#2563eb22;border-color:#2563eb88}.content{flex-direction:column;flex:1;min-height:0;padding:1.5rem;display:flex;overflow:hidden auto}.content>h2{flex-shrink:0}.tabs{border-bottom:1px solid #8884;flex-shrink:0;gap:.5rem;margin-bottom:1.5rem;display:flex}.tab{color:inherit;opacity:.7;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;padding:.5rem .25rem}.tab.active{opacity:1;border-bottom-color:#2563eb;font-weight:500}.search-panel{flex-direction:column;flex:1;gap:1rem;width:100%;display:flex}.search-top{flex-direction:column;flex-shrink:0;gap:.75rem;display:flex}.search-bar-row{gap:.5rem;display:flex}.search-bar-row input{flex:1;padding:.75rem 1rem;font-size:1.1rem}.search-results{flex:1;width:100%}.keyword-expression-item{align-items:center;gap:.4rem;display:inline-flex}.operator-toggle{color:inherit;letter-spacing:.02em;cursor:pointer;background:#8884;border:1px solid #8888;border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:700}.operator-toggle:hover{background:#8887}.feed-table-block{flex-direction:column;gap:.4rem;display:flex}.feed-table-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.feed-table-legend{font-size:.9rem;font-weight:500}.feed-table-toggle-all{color:#2563eb;background:0 0;border:1px solid #2563eb88;padding:.3rem .7rem;font-size:.8rem}.feed-table-wrap{border:1px solid #8884;border-radius:8px;max-height:260px;overflow-y:auto}.feed-table{border-collapse:collapse;width:100%}.feed-table tr:not(:last-child) td{border-bottom:1px solid #8884}.feed-table td{padding:6px 10px}.feed-table .col-checkbox{width:2rem}.feed-table .col-label{font-weight:400}.feed-table .col-label label{cursor:pointer;display:block}.subscription-panel{flex:1;min-height:0;overflow-y:auto}.subscription-layout{grid-template-columns:300px 1fr;align-items:start;gap:1.5rem;min-height:0;display:grid}.message-review-panel{background:canvas;border-top:1px solid #e6e6e6;padding-top:12px;position:relative}.review-header{z-index:1000;background:canvas;border-bottom:1px solid #00000014;margin-bottom:.75rem;padding:.75rem 0;position:sticky;top:0;box-shadow:inset 0 -1px #00000014}.review-header h3{margin:0}.message-review-panel .review-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:.75rem;display:flex}.matches-table-wrap{overflow-x:auto}.matches-table{border-collapse:collapse;width:100%}.matches-table th{text-align:left;opacity:.7;border-bottom:1px solid #8884;padding:6px 8px;font-size:.85rem;font-weight:500}.matches-table td{vertical-align:top;border-bottom:1px solid #8884;padding:10px 8px}.matches-table .col-checkbox{width:2rem}.matches-table .col-date{white-space:nowrap;width:6.5rem;font-size:.9rem}.matches-table .col-title{min-width:0}.match-title{margin-bottom:4px}.match-meta{color:#666;margin-bottom:6px;font-size:.9rem}.match-content{white-space:pre-wrap;margin-bottom:6px}.match-actions a{color:#2563eb}.more-button{color:#2563eb;cursor:pointer;background:0 0;border:none;margin-left:8px;font-size:.9rem}.subscription-form{flex-direction:column;flex:2 400px;gap:1rem;max-width:560px;display:flex}.subscription-summary{border:1px solid #8884;border-radius:12px;padding:1.25rem}.subscription-summary h3{margin:0 0 1rem;font-size:1rem}.side-panels{flex-direction:column;flex:260px;gap:1.5rem;max-width:320px;display:flex}.copy-panel{flex-direction:column;gap:.75rem;display:flex}.copy-panel .keyword-input-row{flex-direction:column}.copy-panel .keyword-input-row button{width:100%}.summary-empty{opacity:.7;margin:0 0 1rem;font-size:.85rem}.profile-list{flex-direction:column;gap:.25rem;margin:0 0 1rem;padding:0;list-style:none;display:flex}.profile-item{text-align:left;width:100%;color:inherit;background:0 0;border:1px solid #0000}.profile-item.active{background:#2563eb22;border-color:#2563eb88}.new-profile-button{color:#2563eb;background:0 0;border:1px solid #2563eb88;width:100%}.form-actions{gap:.75rem;display:flex}.form-actions button{flex:1}.danger-button{color:#dc2626;background:0 0;border:1px solid #dc262688}.scan-block{border-top:1px solid #8884;padding-top:1rem}.scan-block button{color:#2563eb;background:0 0;border:1px solid #2563eb88;width:100%}.scan-result{margin-top:.5rem;margin-bottom:0}.copy-panel .keyword-input-row button{color:#2563eb;white-space:nowrap;background:0 0;border:1px solid #2563eb88}.keyword-input-row{gap:.5rem;display:flex}.keyword-input-row input{flex:1}.keyword-chips{flex-wrap:wrap;gap:.4rem;display:flex}.keyword-chips:not(:empty){margin-bottom:.5rem}.chip{background:#8884;border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .5rem;font-size:.85rem;display:inline-flex}.chip button{color:inherit;background:0 0;padding:0;font-size:1rem;line-height:1}.app-footer{opacity:.7;border-top:1px solid #8884;flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:1rem;font-size:.85rem;display:grid}.app-footer p{white-space:nowrap;grid-column:1;margin:0}.footer-links{grid-column:2;justify-content:center;align-items:center;gap:1rem;display:flex}.footer-links a{color:inherit}.footer-request-button{color:#2563eb;background:0 0;border:1px solid #2563eb88;padding:.35rem .9rem;font-size:.85rem}.privacy-page{flex:1;max-width:640px;min-height:0;margin:0 auto;padding:2rem 1rem;overflow-y:auto}.privacy-page h1{font-size:1.4rem}.privacy-page p,.privacy-page li{line-height:1.5}.modal-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal{width:100%;max-width:420px;color:inherit;background:canvas;border:1px solid #8884;border-radius:12px;flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.modal-header{justify-content:space-between;align-items:center;display:flex}.modal-header h2{margin:0;font-size:1.1rem}.modal-close{color:inherit;background:0 0;padding:0;font-size:1.25rem;line-height:1}.modal form{flex-direction:column;gap:.75rem;display:flex}@media (width<=720px){.dashboard-header{flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem}.dashboard-header>div{flex-wrap:wrap;gap:.5rem}.dashboard-header>div:last-child{margin-left:auto}.account-menu-panel{max-width:calc(100vw - 2rem);left:auto;right:0}.dashboard-body{position:relative}.sidebar-toggle{justify-content:center;align-items:center;display:inline-flex}.sidebar{z-index:20;color:canvastext;background:canvas;border-right:1px solid #8884;width:78%;max-width:300px;padding:1rem;transition:transform .2s;position:absolute;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%)}.sidebar.open{transform:translate(0);box-shadow:0 0 24px #0006}.sidebar-overlay{z-index:15;background:#0006;display:block;position:absolute;inset:0}.content{width:100%;padding:1rem;overflow-y:auto}.feed-table-wrap{max-height:200px}.search-bar-row{flex-wrap:wrap}.search-bar-row input{flex-basis:100%}.search-panel{flex:none;min-height:auto}.search-results{flex:none;min-height:auto;overflow:visible}.subscription-layout{grid-template-columns:1fr}.side-panels,.subscription-form{max-width:none}.review-actions{width:100%}.app-footer{text-align:center;grid-template-columns:1fr}.app-footer p{white-space:normal;grid-column:1}.footer-links{flex-wrap:wrap;grid-column:1;justify-content:center}}.admin-hosting{background:#8881;border:1px solid #8884;border-radius:6px;padding:.6rem .9rem;font-size:.9rem}.admin-hosting code{background:#8882;border-radius:4px;padding:.05rem .35rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.admin-body{flex-direction:column;flex:1;gap:1rem;min-height:0;padding:1.5rem;display:flex;overflow-y:auto}.admin-table{border-collapse:collapse;width:100%;font-size:.9rem}.admin-table th,.admin-table td{text-align:left;vertical-align:top;border-bottom:1px solid #8884;padding:.5rem .75rem}.admin-table-actions{flex-wrap:wrap;gap:.4rem;display:flex}.admin-detail-cell{background:#8881}.admin-profile-list{flex-direction:column;gap:.5rem;margin:0;padding-left:1.25rem;display:flex}.admin-row-error{background:#dc262614}.admin-log-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.admin-log-viewer{color:#cbd5e1;white-space:pre-wrap;word-break:break-word;background:#0f172a;border-radius:6px;max-height:65vh;margin:0;padding:.75rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;line-height:1.5;overflow:auto}.log-line-error{color:#fca5a5}.log-line-warn{color:#fcd34d}
