/* Cockpit v2: shared working surfaces; existing brand and cards stay intact. */
[hidden]{display:none!important}
.v2-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.v2-heading h1{font-size:26px;letter-spacing:-.02em;line-height:1.2;margin-bottom:6px}
.v2-heading p,.v2-result{color:var(--muted)}
.v2-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.v2-tools label{display:grid;gap:5px;font-size:13px;font-weight:600}
.v2-search{flex:1;min-width:210px}
.v2-tools input,.v2-tools select{font:inherit;font-size:15px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 12px;min-height:42px;width:100%}
.v2-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.v2-filters button{border:1px solid var(--line);background:white;color:var(--muted);padding:8px 13px;border-radius:8px;font:inherit;cursor:pointer}
.v2-filters button[aria-pressed=true]{color:#184411;background:#EAF5E5;border-color:var(--green);font-weight:600}
.v2-result{font-size:13px;margin:8px 0 14px}
.v2-entry{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden}
.v2-entry[open]{border-color:#93B1D4;box-shadow:0 2px 10px #1B243009}
.v2-entry>summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) 165px 145px;align-items:center;gap:18px;padding:18px 20px;cursor:pointer}
.v2-entry>summary::-webkit-details-marker{display:none}
.v2-entry>summary:hover{background:#F8FAFC}
.v2-entry>summary:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.v2-entry-title{font-size:16px;display:block;margin:5px 0;overflow-wrap:anywhere}
.v2-entry-meta{font-size:13px;color:var(--muted);display:block;overflow-wrap:anywhere}
.v2-entry-action{font-weight:600;color:var(--blue);font-size:14px;display:block}
.v2-entry-action:after{content:' ›'}
.v2-entry[open] .v2-entry-action:after{content:' ⌄'}
.v2-review{border-top:1px solid var(--line);padding:20px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:24px;align-items:start}
.v2-review h3{font-size:16px;margin:0 0 10px}
.v2-source{background:#F5F7F9;border:1px solid var(--line);border-radius:8px;padding:16px;min-width:0}
.v2-source pre{font-family:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:540px;overflow:auto;margin-top:12px;line-height:1.6}
.v2-source iframe{width:100%;height:520px;border:0;margin-top:12px;background:white}
.v2-source img{max-width:100%;height:auto;margin-top:12px}
.v2-editor{min-width:0}.v2-editor .actions{position:sticky;bottom:0;background:white;padding:12px 0 0;border-top:1px solid var(--line);z-index:1}
.v2-editor .hinweis{margin-top:10px!important}
.v2-editor label{font-size:14px!important}
.v2-contacts{margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:8px}
.v2-contacts>summary{cursor:pointer;font-weight:600;color:var(--muted)}
.v2-contacts .kv-block{background:#F5F7F9;border-color:var(--line)}
.v2-duplicates{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}
.v2-duplicates button{margin:8px 0 0;max-width:100%;text-align:left;white-space:normal}
.v2-match{padding:10px 12px;background:#EAF2FB;border-radius:7px;color:#214D80;font-size:14px;margin:10px 0}
.v2-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.v2-help-grid .card,.v2-help-note{padding:22px;margin:0}
.v2-help-grid h2,.v2-help-note h2{font-size:19px;margin-bottom:12px}
.v2-help-grid p,.v2-help-note p{margin:10px 0;line-height:1.65}
.v2-help-grid ol{padding-left:20px;line-height:1.65;margin-bottom:18px}
.v2-help-grid li{margin-bottom:8px}
.v2-legend{list-style:none}.v2-help-note{margin-top:16px}
.v2-red{color:#B72535}.v2-amber{color:#946000}.v2-blue{color:var(--blue)}.v2-green{color:#347A1A}
.v2-choices{display:grid;gap:12px;margin:18px 0}
.v2-choice{display:block;width:100%;text-align:left;border:1px solid var(--line);background:white;border-radius:10px;padding:18px;font:inherit;cursor:pointer}
.v2-choice:hover{border-color:var(--green);background:#F6FAF3}.v2-choice b{display:block;font-size:17px;margin-bottom:4px}.v2-choice span{color:var(--muted)}
.v2-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.v2-types label{padding:12px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:9px;font-size:14px}
.v2-types input{width:18px;height:18px}.v2-permit{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.v2-permit h3{font-size:16px;margin-bottom:10px}
.v2-upload{border:2px dashed #BBCBB2;padding:22px;border-radius:10px;background:#F7FAF4;margin:16px 0}.v2-upload input{display:block;max-width:100%;margin:10px 0}
.v2-message{white-space:pre-wrap;padding:12px;border-radius:8px;background:#F0F4F7;margin:12px 0;font-size:14px}.v2-message:empty{display:none}
.v2-section-label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:16px 0 7px}
.v2-subtle{color:var(--muted);font-size:13px;line-height:1.5}.v2-wide{max-width:840px!important}
button:disabled{opacity:.6;cursor:wait}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:760px){.v2-heading{align-items:start;gap:12px}.v2-heading h1{font-size:22px}.v2-heading .btn{white-space:nowrap}.v2-entry>summary{grid-template-columns:minmax(0,1fr) auto;padding:15px;gap:10px}.v2-entry-period{display:none}.v2-entry-action{max-width:105px}.v2-review{grid-template-columns:1fr;padding:15px}.v2-source pre{max-height:200px}.v2-source iframe{height:340px}.v2-help-grid{grid-template-columns:1fr}.v2-tools label{flex:1}.v2-types{grid-template-columns:1fr}.v2-help-grid .card{padding:18px}}
