/* _content/politgraph.ui/Components/Layout/Checkbox.razor.rz.scp.css */
label[b-9ym4cetiny] {
    font-size: 1rem;
    display: grid;
    grid-template-columns: 2em auto;
    gap: 0.5em;
    align-content: center;
    margin: 0.25em 0;
}

input[type="checkbox"].form-check-input[b-9ym4cetiny] {
    background-color: #fff;
    border-color: #888;
}

    input[type="checkbox"].form-check-input:checked[b-9ym4cetiny] {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    }
/* _content/politgraph.ui/Components/Layout/Filter.razor.rz.scp.css */
.filter[b-70256j9lhi]{
    display: flex;
    flex-direction: column;
}
/* _content/politgraph.ui/Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-nrn3gqwn5f]{
    height: 100vh;
    display:grid;
    grid-template-rows: 128px 1fr;
}

.app-body[b-nrn3gqwn5f]{
    min-height: 0;
}

.top-row[b-nrn3gqwn5f] {
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: contain;
    padding: 16px;
    border-bottom: 1px solid var(--hairline);
}

.top-row a[b-nrn3gqwn5f]{ color: var(--black); }
.top-row a:hover[b-nrn3gqwn5f]{ color: var(--graph-accent); }

@media (max-width: 900px) {
    .app-shell[b-nrn3gqwn5f] { grid-template-rows: 88px 1fr; }
}

@media (max-width: 600px) {
    .app-shell[b-nrn3gqwn5f] { grid-template-rows: 60px 1fr; }
    .top-row[b-nrn3gqwn5f] { gap: 12px; padding: 12px; font-size: .9rem; }
}
/* _content/politgraph.ui/Components/Layout/MemberDetail.razor.rz.scp.css */
.member-header[b-xzs4brbxmw] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    flex: 0 0 auto;
    padding-right: 24px;
}

.detail-close[b-xzs4brbxmw] {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--ease), color var(--ease);
}
.detail-close:hover[b-xzs4brbxmw] {
    background: #f3f4f6;
    color: var(--black);
}

.member-thumb[b-xzs4brbxmw] {
    width: 150px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0; /* prevents the image from being squeezed by long text */
}

.member-info[b-xzs4brbxmw] {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 4px;
}

.affairs-scroll[b-xzs4brbxmw]{
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.affairs-scroll thead th[b-xzs4brbxmw] {
    position: sticky;
    top: 0;
    background: var(--white);
}

.affairs-scroll a[b-xzs4brbxmw] {
    color: var(--graph-accent);
    text-decoration: none;
    transition: color var(--ease);
}
.affairs-scroll a:hover[b-xzs4brbxmw] {
    color: var(--black);
    text-decoration: underline;
}
/* _content/politgraph.ui/Components/Layout/MembersGraph.razor.rz.scp.css */
.cy-wrap[b-5zwth565bt] {
    position: relative;
    height: 100%;
}

.cy[b-5zwth565bt] {
    height: 100%;
    position: relative
}

.legend[b-5zwth565bt]{
  position:absolute;
  top:0;
  left:0;
  z-index:2;
  margin:16px;
  max-height:calc(100% - 32px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.4rem;
  touch-action:manipulation;
}

.legend button[b-5zwth565bt]{
  touch-action:manipulation;
}

.legend-sep[b-5zwth565bt]{
  align-self:stretch;
  height:1px;
  margin:.15rem 0;
  background:var(--hairline);
}

.legend-title[b-5zwth565bt]{
  margin:.1rem 0 .05rem;
  padding-left:.6rem;
  font-size:.85rem;
  font-weight:600;
  color:var(--text-secondary);
}

.edge-item[b-5zwth565bt]{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.1rem .6rem;
  font-size:.8rem;
  color:#374151;
}

.edge-sample[b-5zwth565bt]{
  width:1.75rem;
  height:0;
  flex:0 0 auto;
  border-top:2px solid var(--graph-edge);
}
.edge-sample--high[b-5zwth565bt]{ border-top-width:2px;   border-top-style:solid;  opacity:1; }
.edge-sample--mid[b-5zwth565bt] { border-top-width:1.5px; border-top-style:dashed; opacity:.8; }
.edge-sample--low[b-5zwth565bt] { border-top-width:1px;   border-top-style:dotted; opacity:.55; }

@media (max-width: 600px) {
  .legend[b-5zwth565bt]{ margin:10px; gap:.3rem; max-height:calc(100% - 20px); }
}
/* _content/politgraph.ui/Components/Layout/SearchBox.razor.rz.scp.css */
.search-box[b-wvp7y65xwz] {
    margin: 16px;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-grow: 1;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 18px;
    font-style: italic;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.search-box:focus-within[b-wvp7y65xwz]{
  border-color: var(--graph-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--graph-accent) 20%, transparent);
}

.search-icon[b-wvp7y65xwz] {
    display: flex; 
    align-items: center;
    justify-content: center;
    font-size: 18px; 
    font-style: normal;
    line-height: 1;
}

input[b-wvp7y65xwz] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;  /* mobile Default-Chrome der Inputs entfernen */
    appearance: none;
}
/* _content/politgraph.ui/Components/Pages/Home.razor.rz.scp.css */
.home-stage[b-v99rnv5aee] {
    position: relative;
    height: 100%;
}

.graph-container[b-v99rnv5aee] {
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.detail-overlay[b-v99rnv5aee] {
    position: absolute;
    top: 76px;                 /* clear the full-width search bar */
    right: 16px;
    bottom: 16px;
    width: 440px;
    max-width: calc(100% - 32px);
    z-index: 5;
    pointer-events: none;      /* empty area stays click-through to the graph */
}

.detail-overlay[b-v99rnv5aee]  .pg-card {
    position: relative;        /* positioning context for the close button */
    max-height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;      /* the card itself is interactive */
    animation: detail-in-b-v99rnv5aee 160ms ease;
}

@keyframes detail-in-b-v99rnv5aee {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

@media (min-width: 1800px) {
    .detail-overlay[b-v99rnv5aee] { width: 520px; }
}

@media (max-width: 900px) {
    .detail-overlay[b-v99rnv5aee] { width: 380px; }
}

/* Mobile: detail becomes a full-width bottom sheet */
@media (max-width: 600px) {
    .detail-overlay[b-v99rnv5aee] {
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
    }
    /* bottom-anchored overlay has no definite height, so cap the card itself */
    .detail-overlay[b-v99rnv5aee]  .pg-card {
        max-height: 60vh;
    }
}
