.privacy-badge{align-self:center;border:1px solid #99e8d2;background:#ecfdf8;color:#08775f;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:700;white-space:nowrap}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;margin-top:20px}.control-panel{align-self:start;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto}.main-column{display:grid;gap:20px;min-width:0}.section-title{display:flex;align-items:center;gap:12px}.section-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:#1d5bd1;font-weight:800;font-size:13px;flex:none}.section-title h2{margin:0;font-size:18px}.section-title p{margin:2px 0 0;color:var(--muted);font-size:12px}.section-title.compact{margin-top:26px}.control-panel>.local-file{width:100%;margin-top:18px}.file-list{display:grid;gap:7px;margin:12px 0}.file-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#f6f9fd;border:1px solid #e0e8f2;border-radius:9px;font-size:12px}.file-item.active{border-color:#86aef4;background:#eef5ff}.file-item button{padding:3px 7px;min-height:27px;border-radius:6px;font-size:11px}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 18px}.preset{display:block;padding:10px 5px;min-height:68px}.preset strong,.preset small{display:block}.preset small{margin-top:4px;font-size:10px;color:var(--muted)}.preset.active{border-color:#2563eb;background:#eef4ff;color:#1653ca}.rules{border-top:1px solid #e5ebf3;margin-top:18px;padding-top:13px}.rules summary{cursor:pointer;font-weight:700;font-size:14px}.rule-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.rule-list label{font-size:12px;padding:7px;border-radius:8px;background:#f7f9fc}.rules textarea{width:100%;font:12px/1.5 ui-monospace,Consolas,monospace}.editor-panel{padding-bottom:16px}.editor-head,.result-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.code-editor{width:100%;min-height:390px;max-height:68vh;resize:vertical;border-radius:13px;background:#0d1b2a;color:#dcecff;border-color:#203a56;padding:17px;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.editor-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--muted);font-size:12px;margin-top:11px}.editor-foot label{flex-direction:row;align-items:center}.editor-foot select{padding:6px 9px;min-height:35px}.action-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 20px}.run-button{font-weight:750}.action-panel progress{flex:1;min-width:160px}.action-panel .status{margin:0;min-height:0}.result-head h2{margin:5px 0 0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.metric{border:1px solid #e0e8f2;background:#f8faff;border-radius:12px;padding:13px}.metric span{display:block;font-size:11px;color:var(--muted)}.metric strong{display:block;font-size:24px;margin-top:5px}.validation{padding:10px 13px;border-radius:10px;background:#ecfdf5;color:#08775f;font-size:13px}.validation.warn{background:#fff7e5;color:#8a5b08}.view-tabs{display:flex;gap:7px;margin:18px 0 10px}.view-tabs button{min-height:36px;padding:7px 12px}.view-tabs button.active{background:#183047;color:#fff;border-color:#183047}.split-view{display:grid;grid-template-columns:1fr 1fr;gap:12px}.split-view>div{min-width:0}.split-view h3{font-size:13px;color:var(--muted);margin:0 0 7px}.split-view pre,.clean-view{margin:0;min-height:330px;max-height:560px;overflow:auto;border:1px solid #dce5ef;background:#f7f9fc;border-radius:12px;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,Consolas,monospace}.findings-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.finding{display:flex;justify-content:space-between;gap:12px;border:1px solid #dce5ef;border-radius:10px;padding:11px 13px}.finding strong{font-size:13px}.finding span{color:var(--muted);font-size:12px;text-align:right}.finding.empty{grid-column:1/-1;display:block;color:var(--muted)}
.privacy-notice{display:flex;align-items:center;gap:14px;margin:0 0 12px;padding:14px 18px;border:1px solid #8bdfc9;background:linear-gradient(100deg,#eafff8,#f4fffc);border-radius:14px;color:#075f4e}.privacy-notice strong{white-space:nowrap}.privacy-notice span{font-size:13px;line-height:1.65}.file-item .encoding{color:#5a7089;font-size:10px}.plan-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}.plan-actions>*{font-size:12px;padding:7px;min-height:36px}.plan-actions .file-button{grid-column:1/-1}.batch-panel h2{margin:5px 0 0}.batch-list{display:grid;gap:8px}.batch-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 13px;border:1px solid #dce5ef;border-radius:10px}.batch-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-row span{font-size:12px;color:var(--muted)}.review-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:#f2f6fc;color:var(--muted);font-size:12px}.review-toolbar button{min-height:34px;padding:6px 10px}.findings-view{display:block}.findings-view #finding-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}.finding label{display:flex;flex-direction:row;align-items:flex-start;gap:8px;min-width:0}.finding .finding-copy{min-width:0}.finding .finding-copy small{display:block;color:var(--muted);font-weight:400;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finding>span{white-space:nowrap}
@media(max-width:980px){.workspace{grid-template-columns:1fr}.control-panel{position:static;max-height:none}.rule-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.privacy-badge{align-self:flex-start}.privacy-notice{align-items:flex-start;flex-direction:column;gap:4px}.preset-grid{grid-template-columns:1fr}.rule-list{grid-template-columns:1fr 1fr}.editor-head,.result-head,.editor-foot{align-items:flex-start;flex-direction:column}.code-editor{min-height:310px;max-height:none;font-size:12px}.metrics{grid-template-columns:1fr 1fr}.split-view{grid-template-columns:1fr}.findings-view #finding-list{grid-template-columns:1fr}.review-toolbar{align-items:flex-start;flex-direction:column}.batch-row{grid-template-columns:1fr auto}.batch-row span:last-child{grid-column:1/-1}.action-panel{align-items:stretch}.action-panel button{width:100%}.result-head .row{width:100%}.result-head .row button{flex:1}}
