/* CACHE TEST - Wenn Sie das sehen, funktioniert das Cache-System wieder! */
/* ========== PM UI — Shared Design Tokens (erweitert für SID-Anpassungen) ========== */
:root{
  --pm-bg: var(--light-bg-color, #fff);
  --pm-surface: var(--light-bg-color, #fff);
  --pm-muted:#6b7280;
  --pm-text: var(--base-text-color, #111827);
  --pm-border:#eee;
  --pm-border-2:#e5e7eb;
  --pm-radius:12px;
  --pm-shadow:0 1px 3px rgba(0,0,0,.06);
  --pm-primary: var(--heading-color, #111827);
  --pm-primary-contrast:#fff;
  --pm-focus:#2563eb;

  /* Chips */
  --pm-chip-green-fg:#155724;  --pm-chip-green-bg:#d4edda;
  --pm-chip-blue-fg:#1f3d7a;   --pm-chip-blue-bg:#dbe4ff;
  --pm-chip-info-fg:#0c5460;   --pm-chip-info-bg:#d1ecf1;
}

/* Moved to admin_theme scss */
/* Toolbar */
.tp-sexy .tp-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.tp-sexy .tp-title{font-weight:800;font-size:18px;}
.tp-sexy .flex-1{flex:1;}
.tp-sexy .pm-input--search{min-width:240px;}

/* Mini hero */
.tp-sexy .tp-hero{position:relative;border-radius:14px;overflow:hidden;background:#111;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08);border:1px solid rgba(0,0,0,.06);}
.tp-sexy .tp-hero--mini{min-height:84px;}
.tp-sexy .tp-hero__shade{position:absolute;inset:0;backdrop-filter:saturate(140%) blur(1px);}
.tp-sexy .tp-hero__content{position:relative;padding:12px 14px;display:flex;align-items:center;gap:12px;}
.tp-sexy .tp-hero__badge,.tp-sexy .tp-hero__initials{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.85);color:#111;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.08);}
.tp-sexy .tp-hero__badge i{font-size:16px;}
.tp-sexy .tp-hero__meta{min-width:0;}
.tp-sexy .tp-hero__title{font-weight:800;letter-spacing:.2px;}
.tp-sexy .tp-hero__desc{opacity:.9;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tp-sexy .tp-hero__actions{margin-left:auto;display:flex;align-items:center;gap:8px;}
.tp-sexy .tp-hero__btn{display:inline-flex;align-items:center;gap:6px;border:none;background:rgba(255,255,255,.14);color:#fff;padding:8px 10px;border-radius:10px;cursor:pointer;transition:all .2s ease;}
.tp-sexy .tp-hero__btn:hover{background:rgba(255,255,255,.22);transform:translateY(-1px);}
.tp-sexy .tp-rt{background:#fff;border:1px solid #ececec;border-top:none;border-radius:0 0 14px 14px;padding:10px 12px;color:#222;}
.tp-sexy .tp-rt .rt-preview{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.tp-sexy .tp-rt.is-open .rt-preview{max-height:320px;}
.tp-sexy .tp-rt .rt-toggle{display:flex;justify-content:flex-end;margin-top:8px;}
.tp-sexy .tp-rt .rt-toggle button{border:none;background:transparent;color:#555;cursor:pointer;}

/* Task blocks */
.tp-sexy .tp-section{margin:18px 0;}
.tp-sexy .tp-task{background:#fff;border:1px solid #eee;border-radius:12px;padding:10px 12px;margin-top:12px;}
.tp-sexy .tp-task__head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.tp-sexy .tp-task__name{font-weight:700;}
.tp-sexy .tp-task__num{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;margin-right:8px;opacity:.8;}

/* Editable assignment table */
.tp-sexy .tp-assign-table{width:100%;border-collapse:separate;border-spacing:0 8px;}
.tp-sexy .tp-assign-table thead th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;text-align:left;padding:0 8px;}
.tp-sexy .tp-assign-table tbody tr{background:#f9fafb;border-radius:10px;}
.tp-sexy .tp-assign-table tbody td{padding:10px 8px;vertical-align:middle;}
.tp-sexy .tp-assign-group{display:flex;gap:6px;align-items:center;}
.tp-sexy .tp-select{min-width:120px;}
.tp-sexy .text-right{text-align:right;}
.pm-list__empty{padding:6px 0;color:#666;}

      .tp-sexy .tp-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
      .tp-sexy .tp-title{font-weight:800;font-size:18px;}
      .tp-sexy .flex-1{flex:1;}
      .tp-sexy .pm-input--search{min-width:240px;}

      /* Mini hero */
      .tp-hero{
        position:relative;border-radius:14px;overflow:hidden;
        background:#111;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08);
        border:1px solid rgba(0,0,0,.06);
      }
      .tp-hero--mini{min-height:84px;}
      .tp-hero__shade{position:absolute;inset:0;backdrop-filter:saturate(140%) blur(1px);}
      .tp-hero__content{position:relative;padding:12px 14px;display:flex;align-items:center;gap:12px;}
      .tp-hero__badge, .tp-hero__initials{
        width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;
        background:rgba(255,255,255,.85);color:#111;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.08);
      }
      .tp-hero__badge i{font-size:16px;}
      .tp-hero__meta{min-width:0;}
      .tp-hero__title{font-weight:800;letter-spacing:.2px;}
      .tp-hero__desc{opacity:.9;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
      .tp-hero__actions{margin-left:auto;display:flex;align-items:center;gap:8px;}
      .tp-hero__btn{
        display:inline-flex;align-items:center;gap:6px;border:none;background:rgba(255,255,255,.14);
        color:#fff;padding:8px 10px;border-radius:10px;cursor:pointer;transition:all .2s ease;
      }
      .tp-hero__btn:hover{background:rgba(255,255,255,.22);transform:translateY(-1px);}
      .tp-hero__btn i{font-size:12px;}

      /* Rich text fold */
      .tp-rt{background:#fff;border:1px solid #ececec;border-top:none;border-radius:0 0 14px 14px;padding:10px 12px;color:#222;}
      .tp-rt .rt-preview{max-height:0;overflow:hidden;transition:max-height .25s ease;}
      .tp-rt.is-open .rt-preview{max-height:320px;}
      .tp-rt .rt-toggle{display:flex;justify-content:flex-end;margin-top:8px;}
      .tp-rt .rt-toggle button{border:none;background:transparent;color:#555;cursor:pointer;}

      /* Sections and tasks */
      .tp-section{margin:18px 0;}
      .tp-task{background:#fff;border:1px solid #eee;border-radius:12px;padding:10px 12px;margin-top:10px;}
      .tp-task__head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
      .tp-task__name{font-weight:700;}
      .tp-assignees{display:flex;flex-direction:column;gap:8px;}
      .tp-chipline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
      .tp-chip{
        display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:4px 8px;border-radius:999px;
        background:#f4f6ff;border:1px solid #e8ecff;color:#1e3a8a;
      }
      .tp-chip--user{background:#f7f7f7;border-color:#ededed;color:#222;}
      .tp-avatar{
        width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
        font-size:11px;font-weight:800;color:#1f2937;border:1px solid rgba(0,0,0,.06);
      }
      .btn-transparent{border:none;background:transparent;color:#777;cursor:pointer;}
      .btn-transparent:hover{color:#111;}
      .pm-list__empty{padding:10px 0;color:#666;}
      .users-grid{--pm-min:220px;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--pm-min),1fr));gap:10px;margin-top:10px;}
      .user-pick{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #eee;border-radius:12px;background:#fff;cursor:pointer;}
      .user-pick.is-selected{outline:2px solid #4f46e5;outline-offset:1px;}
.newdash .pm-tabs .tab.is-active {
  background: transparent;
  top: 1px;
  color: #fff;
  border-bottom: 2px solid;
  color: #000;
}
.newdash .pm-tabs .tab:hover {
  background: transparent;
}
.newdash .pm-tabs {
  display: flex;
  gap: 0px;
  border-bottom: 1px solid #d5d5d5;
  margin-bottom: 0px;
}

.as-settings{ display:grid; grid-template-columns:240px 1fr; gap:16px; align-items:start; }
@media (max-width: 920px){ .as-settings{ grid-template-columns:1fr; } }

.as-sidemenu{
  background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:8px; position:sticky; top:12px;
}
.as-sidemenu__item{
  display:flex;align-items:center;gap:10px;width:100%;
  border:0;background:transparent;padding:8px 10px;border-radius:8px;
  cursor:pointer;color:#374151;text-align:left;
}
.as-sidemenu__item:hover{ background:#f3f4f6; }
.as-sidemenu__item--active{
  background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;
}
.as-sidemenu__icon i{ font-size:16px; width:16px; }
.as-sidemenu__label{ flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.as-sidemenu__badge{
  font-size:12px;border:1px solid #e5e7eb;border-radius:999px;padding:2px 8px;line-height:1;
}

/* main column wrapper */
.as-settings__main{ display:flex; flex-direction:column; gap:12px; }


.as-root{display:grid;grid-template-columns:260px 1fr;gap:20px;align-items:start}
.as-nav{position:sticky;top:16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}
.as-nav__title{font-weight:600;margin-bottom:8px}
.as-nav__links{display:flex;flex-direction:column;gap:6px;margin:8px 0 12px}
.as-nav__links>button{all:unset;padding:8px 10px;border-radius:8px;cursor:pointer;color:#374151}
.as-nav__links>button:hover{background:#f3f4f6}
.as-nav__meta{margin-top:8px;padding-top:8px;border-top:1px solid #f3f4f6}
.as-meta__label{font-size:12px;color:#6b7280}
.as-meta__value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.as-main{display:flex;flex-direction:column;gap:16px}
.as-header{position:sticky;top:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px}
.as-header__id{display:flex;gap:12px;align-items:center}
.as-title h1{font-size:18px;margin:0}
.as-sub{margin:2px 0 0;color:#6b7280;font-size:12px}
.as-avatar{width:52px;height:52px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:700}
.as-logo{width:52px;height:52px;display:flex;align-items:center;justify-content:center}
.as-logo img{max-width:100%;max-height:100%;object-fit:contain}
.as-header__actions{display:flex;gap:8px;align-items:center}
.as-saved{font-size:12px;color:#059669}
.as-btn{padding:8px 12px;border-radius:8px;cursor:pointer}
.as-btn--ghost{background:#fff;border:1px solid #d1d5db;color:#374151}
.as-btn--ghost:disabled{opacity:.6;cursor:not-allowed}
.as-btn--primary{background:#2563eb;border:0;color:#fff}
.as-btn--primary:disabled{opacity:.6;cursor:not-allowed}
.as-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}
.as-card>h2{font-size:14px;margin:0 0 10px}
.as-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.as-span-2{grid-column:1/-1}
.as-field label{display:block;font-size:12px;color:#374151;margin-bottom:6px}
.as-input,.as-select,.as-textarea{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:8px}
.as-help{display:block;margin-top:6px;color:#6b7280;font-size:12px}
.as-logo-preview{margin-top:8px;padding:8px;border:1px dashed #d1d5db;border-radius:8px;background:#fafafa}
.as-logo-preview img{max-height:80px;object-fit:contain}
@media (max-width: 920px){ .as-root{grid-template-columns:1fr} .as-header{position:static} }
.as-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:10000}
.as-modal__box{background:#fff;border-radius:12px;min-width:360px;max-width:640px;width:min(92vw,640px);padding:16px;box-shadow:0 10px 40px rgba(0,0,0,.2)}
.as-modal__title{margin:0 0 12px}
.as-modal__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}


/* layout */
.as-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.as-col{display:flex;flex-direction:column;gap:16px}
.as-row{display:flex;align-items:center}
.as-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* cards & headers */
.as-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}
.as-card__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.as-card h2{font-size:14px;margin:0}

/* inputs */
.as-field label{display:block;font-size:12px;color:#374151;margin-bottom:6px}
.as-input,.as-select,.as-textarea{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:8px}
.as-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.as-span-2{grid-column:1/-1}
.as-help{color:#6b7280;font-size:12px}
.as-help--danger{color:#b00020}

/* buttons */
.as-btn{padding:8px 12px;border-radius:8px;cursor:pointer}
.as-btn--ghost{background:#fff;border:1px solid #d1d5db;color:#374151}
.as-btn--primary{background:#2563eb;border:0;color:#fff}
.as-btn--danger{background:#b00020;border:0;color:#fff}
.as-btn--active{border-color:#2563eb;color:#2563eb;background:#eff6ff}

/* badges */
.as-badge{display:inline-block;padding:2px 8px;border:1px solid #d1d5db;border-radius:999px;font-size:12px}
.as-badge--danger{border-color:#b00020;color:#b00020}

/* avatar */
.as-avatar{width:52px;height:52px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:700}
.as-avatar--sm{width:36px;height:36px;font-size:12px}
.as-avatar--xs{width:28px;height:28px;font-size:11px}

/* chips */
.as-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.as-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#f8fafc;font-size:12px}
.as-chip__x{border:0;background:transparent;cursor:pointer;opacity:.7}

/* icon picker */
.as-icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;margin-top:8px}
.as-icon-btn{display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #eee;border-radius:8px;background:#fff;cursor:pointer}
.as-icon-btn--active{border-color:#2563eb;background:#eff6ff}
.as-icon-btn i{font-size:18px}

/* list grid (picker) */
.as-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-top:10px}
.as-row--item{gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:8px;background:#fff;cursor:pointer}

/* log */
.as-log-list{display:flex;flex-direction:column;gap:10px}
.as-log-item{display:flex;gap:10px}
.as-log-content{min-width:0;flex:1}
.as-log-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.as-id{font-size:11px;opacity:.7}
.as-json{margin:6px 0 0;background:#f9fafb;border:1px solid #eee;border-radius:8px;padding:8px;max-height:200px;overflow:auto;font-size:12px}

/* modal (reuses account settings modal styles) */
.as-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:10000}
.as-modal__box{background:#fff;border-radius:12px;min-width:360px;max-width:720px;width:min(96vw,720px);padding:16px;box-shadow:0 10px 40px rgba(0,0,0,.2)}

/* danger card tint */
.as-card--danger{border-color:#f3d6db;background:#fff}
@media (max-width: 920px){ .as-two{grid-template-columns:1fr} }

.workshops-board, .programs-board {
  width: 100%

}
/* ===== Tasks Planner Tab (no frameworks) ===== */

.tp-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px;}
.tp-title{font-size:16px;font-weight:700;}
.flex-1{flex:1;}
.tp-search{max-width:240px;}

.tp-toggle{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;}
.tp-toggle__track{position:relative;width:44px;height:24px;border-radius:999px;background:#e5e7eb;transition:background .15s ease;}
.tp-toggle__thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:left .15s ease;}
.tp-toggle.is-on .tp-toggle__track{background:#16a34a;}
.tp-toggle.is-on .tp-toggle__thumb{left:23px;}

.tp-groups{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px;}
.tp-chip{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-weight:700;font-size:14px;box-shadow:0 2px 6px rgba(0,0,0,.06);cursor:pointer;}
.tp-chip.is-active{border-color:#111827;background:#111827;color:#fff;box-shadow:0 4px 10px rgba(17,24,39,.2);}
.tp-chip.is-disabled{background:#f5f6f8;color:#9ca3af;cursor:not-allowed;opacity:.6;}

.groups-grid {
  display: grid;
  gap: 12px;
}
#outerframeContainer .group-card table td {
  border: none;
}
.group-card table td {
  padding: 2px 10px;
}
.group-card table tr {
  box-shadow: none;
  border-radius: 8px;
  border: 0px;
  border-bottom: 0px solid #d8d8d8;
}
.group-card table th {
  display: none
}
.group-card table td:last-child {
  display: none

}
.group-card table td:nth-child(3) {
  min-width: 400px

}
.group-card table td:nth-child(5) {
  width: 50px

}

#limesurvey .group-card input.pm-input {
  font-size: 12px;
  border: 0px;
  min-width: 140px;
}
.group-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
}

.group-hero{position:relative;border-radius:12px;overflow:hidden;height:65px;background-size:cover;background-position:center;}
.group-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0.0) 0%,rgba(0,0,0,0.65) 100%);}
.group-hero__content{position:absolute;left:10px;right:10px;bottom:10px;color:#fff;}
.group-hero__row{display:flex;align-items:flex-end;gap:8px;}
.group-hero__badge,.group-hero__badge i{display:inline-flex;align-items:center;justify-content:center;}
.group-hero__badge{padding:6px 8px;border-radius:12px;background:rgba(255,255,255,.85);color:#111;border:1px solid rgba(0,0,0,.08);}
.group-hero__initials{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.85);color:#111;font-weight:700;border:1px solid rgba(0,0,0,.08);display:inline-flex;align-items:center;justify-content:center;}
.group-hero__meta{min-width:0;}
.group-hero__title{font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.group-hero__desc{opacity:.95;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.group-hero__actions{margin-left:auto;display:flex;gap:8px;align-items:center;}
.group-hero__latest{font-size:12px;background:rgba(255,255,255,.85);color:#111;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.08);}
.group-hero__latest.is-empty{background:rgba(255,255,255,.6);border-color:rgba(0,0,0,.05);}

.tp-rt{padding:10px 12px;}
.rt-preview.is-clamped {
  max-height: 500px;
  overflow: hidden;
}
.tp-rt-toggle{display:flex;justify-content:flex-end;margin-top:6px;}
.tp-rt-toggle__btn{font-size:12px;opacity:.8;}

.pm-table th.col-42{width:42px;}
.pm-table th.col-90{width:90px;}
.pm-table th.col-120{width:120px;}
.pm-table th.col-140{width:140px;}
.pm-table th.col-160{width:160px;}
.is-clickable{cursor:pointer;}

.tp-idx{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eef;border:1px solid #cfe;font-size:12px;}

.task-name{font-weight:700;}
.task-desc{color:#555;font-size:12px;margin-top:2px;}
.task-notes{color:#666;font-size:12px;margin-top:2px;}

.state-pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.06);}
.state-done{background:#e7f5e7;color:#0f5132;}
.state-planned{background:#e7f0ff;color:#1e3a8a;}
.state-assigned{background:#fff3e0;color:#8a4f1e;}
.state-not-planned{background:#f1f5f9;color:#334155;}

.tp-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:#111;font-weight:700;border:1px solid rgba(0,0,0,.08);}

.btn-transparent{background:transparent;border:none;padding:6px 8px;cursor:pointer;}
.min-w-0{min-width:0;}
.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.text-muted{color:#666;}
.text-small{font-size:12px;}

.pm-modal__box--md{max-width:560px;}

.users-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:10px;}
.user-pick{display:flex;gap:10px;align-items:center;justify-content:flex-start;}

.gridbox{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:8px;text-align:left;}
.gridbox:hover{box-shadow:0 2px 8px rgba(0,0,0,.06);}

.label{display:block;font-weight:600;margin-bottom:6px;}
.label--spaced{margin:12px 0 6px;}
.mt-6{margin-top:6px;}
.mt-8{margin-top:8px;}
/* ===== Layout ===== */
.pm-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:16px;
  padding:12px 40px;
}
@media (max-width: 960px){
  .pm-layout{ grid-template-columns:1fr; padding:12px; }
  .pm-sidebar{ position:static; }
}
.pm-sidebar{
  position:sticky;
  top:10px;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* ===== Panel / Sections ===== */
.pm-panel {
  border: transparent;
  border-radius: var(--pm-radius);
  background: transparent;
  overflow: hidden;
  width: 100%;
}
.pm-panel--tall{ min-height:74vh; }
.pm-panel__body {
  padding: 10px 30px;
  margin-top: 0px;
  background-color: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 15px;
  min-height: 50vh;
}

/* ===== Cards (sidebar boxes, stat cards, etc.) ===== */
.pm-card{
  border:1px solid var(--pm-border);
  border-radius:var(--pm-radius);
  background:var(--pm-surface);
  box-shadow:var(--pm-shadow);
}
.pm-card__header{
  padding:12px 14px;
  border-bottom:1px solid #f1f1f1;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.pm-card__body{ padding:12px 14px; }
.pm-card__stats{ display:grid; grid-template-columns:1fr; gap:10px; }
.pm-card__list{ display:flex; flex-direction:column; gap:8px; max-height:220px; overflow:auto; }

/* Legacy alias for card-like boxes used in grids */
.gridbox{
  border:1px solid var(--pm-border);
  border-radius:var(--pm-radius);
  background:#fff;
  box-shadow:var(--pm-shadow);
}

/* ===== Top controls / filter bar ===== */
.pm-controls{
  display:flex;
  justify-content:space-between;
  gap:12px;
  min-height:45px;
  align-items:center;
}
.pm-filterbar{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:8px;
}
.pm-input{
  min-width:220px;
  padding:8px 10px;
  border:1px solid var(--pm-border-2);
  border-radius:8px;
  outline:none;
}
.pm-input:focus{
  border-color:#cbd5e1;
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

/* ===== Buttons ===== */
.pm-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:8px;
  border:1px solid var(--pm-border-2);
  background:#fff;
  color:var(--pm-text);
  cursor:pointer;
  font-weight:600;
  line-height:1.2;
  box-shadow:var(--pm-shadow);
}
.pm-btn i{ line-height:0; }
.pm-btn:hover{ background:#f9fafb; }
.pm-btn:disabled{ opacity:.6; cursor:not-allowed; }
.pm-btn--primary{
  background:var(--pm-primary);
  color:var(--pm-primary-contrast);
  border-color:var(--pm-primary);
}
.pm-btn--primary:hover{ filter:brightness(.95); }
.pm-btn--ghost{
  background:#fff;
  color:var(--pm-text);
  border-color:var(--pm-border-2);
}
.pm-btn--icon{ padding:6px 10px; }

/* Toggle-style icon buttons (grid/list/filter) */
.pm-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:8px;
  border:1px solid var(--pm-border-2);
  background:#fff;
  color:var(--pm-text);
  cursor:pointer;
}
.pm-toggle.is-active{
  background:var(--pm-primary);
  color:#fff;
  border-color:var(--pm-primary);
}

/* Back-compat aliases (existing classes in templates) */
.headerbuttons{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:8px;
  border:1px solid var(--pm-border-2);
  background:#fff; color:var(--pm-text); cursor:pointer;
  font-weight:600; line-height:1.2; box-shadow:var(--pm-shadow);
}
.headerbuttons:hover{ background:#f9fafb; }
.mainadd{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:8px; cursor:pointer; font-weight:600; line-height:1.2;
  background:var(--pm-primary); color:var(--pm-primary-contrast); border:1px solid var(--pm-primary);
  box-shadow:var(--pm-shadow);
}
.transparent{ background:transparent; border:none; cursor:pointer; }

/* ===== Tabs ===== */
.pm-tabs{
  display:flex;
  gap:6px;

  border-bottom:1px solid #f1f1f1;
}
.pm-tabs .tab {
  appearance: none;
  background: transparent;
  border: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  border-bottom-color: transparent;
  border-bottom-color: transparent;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  color: var(--pm-text);
  cursor: pointer;
  font-weight: 600;
}
.pm-tabs .tab:hover{ background:#f9fafb; }
.pm-tabs .tab.is-active {
  border-color: transparent;
    border-bottom-color: transparent;
  border-bottom-color: #fff;
  background: #7678f2;
  position: relative;
  top: 1px;
  color: #fff;
}

/* ===== Status / Chips ===== */
.pm-chip{
  display:inline-block;
  font-size:11px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
}
.pm-chip--success{ color:var(--pm-chip-green-fg); background:var(--pm-chip-green-bg); }
.pm-chip--primary{ color:var(--pm-chip-blue-fg);  background:var(--pm-chip-blue-bg); }
.pm-chip--info{    color:var(--pm-chip-info-fg);  background:var(--pm-chip-info-bg); }

/* Access labels used in user-mode lists */
.pm-chip--access-edit{
  background:#e8f5e9; color:#1b5e20; border:1px solid rgba(0,0,0,.06);
}
.pm-chip--access-view{
  background:#eef2ff; color:#1e3a8a; border:1px solid rgba(0,0,0,.06);
}

/* ===== Grids ===== */
.pm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:14px;
  margin-top:14px;
}
.pm-grid--narrow{ grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.pm-grid--wide  { grid-template-columns:repeat(auto-fill,minmax(400px,1fr)); }

/* Empty states used in grids/modals */
.pm-empty{
  color:#777;
  border:1px dashed #ddd;
  border-radius:var(--pm-radius);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
}

/* ===== Modal ===== */
.pm-modal{
  position:fixed; inset:0; z-index:10000;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.45);
}
.pm-modal__dialog{
  width:min(1100px,96vw);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.25);
}
.pm-modal__header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid #eee;
}
.pm-modal__body{ padding:12px; }
.pm-modal__footer{
  padding:12px; border-top:1px solid #eee; display:flex; justify-content:flex-end;
}

/* ===== Tables (list view blocks) ===== */
.pm-table{
  border:1px solid var(--pm-border);
  border-radius:var(--pm-radius);
  overflow:hidden;
  background:#fff;
}
.pm-table__head{
  display:grid;
  gap:0;
  border-bottom:1px solid #eee;
  background:#fafafa;
  font-weight:700;
}
.pm-table__row{
  display:grid;
  gap:0;
  border-top:1px solid #f3f4f6;
  cursor:pointer;
}
.pm-cell{ padding:10px 12px; }

/* ===== Avatars (structure only; colors set inline) ===== */
.pm-avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  border-radius:12px;
  box-shadow:0 1px 3px rgba(0,0,0,.10);
  border:1px solid transparent; /* dynamic via inline */
}
.pm-avatar--circle{
  width:30px; height:30px; border-radius:50%;
  font-weight:700; font-size:11px; padding:0;
}

/* ===== Utilities ===== */
.pm-ellipsis{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pm-muted{ color:var(--pm-muted); }
/* .rt-preview styles moved to ckeditor-custom.css for better CKEditor integration */

.note{ padding:10px 12px; border-radius:8px; }
.note--muted{ background:#f9fafb; color:#374151; border:1px solid #e5e7eb; }

:root{
  --pm-radius:12px;
  --pm-border:#eee;
  --pm-card-bg:#fff;
  --pm-text:#111827;
  --pm-muted:#777;
}

/* ===== Layout ===== */
.pm-two-col{display:grid;grid-template-columns:260px 1fr;gap: 16px}
.pm-sticky{position:sticky;top:10px;align-self:start;}
.pm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--pm-min,280px),1fr));gap:14px;margin-top:14px;}
.pm-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px;}
.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}
.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}
.mt-14 {
  margin-top: 0px;
}
.mb-8{margin-bottom:8px}

/* ===== Cards / Surfaces ===== */
.pm-card, .gridbox{border:1px solid var(--pm-border);border-radius:var(--pm-radius);background:var(--pm-card-bg);overflow:hidden;}
.pm-card-body{padding:10px;}
.pm-section{margin-top:10px;border-top:1px dashed #eee;padding-top:8px;}
.pm-empty{color:#777;border:1px dashed #ddd;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:120px;}

/* ===== Mini hero ===== */
.pm-hero{position:relative;height:140px;overflow:hidden;background:#f2f3f5;}
.pm-hero>img{width:100%;height:100%;object-fit:cover;display:block;}
.pm-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.65) 100%);z-index:1;}
.pm-hero-badge-left{position:absolute;top:10px;left:10px;z-index:2;}
.pm-hero-badge-right{position:absolute;top:10px;right:10px;display:flex;gap:6px;align-items:center;z-index:2;}
.pm-hero-title{position:absolute;left:10px;right:10px;bottom:10px;color:#fff;z-index:2;}
.pm-titlebar{display:flex;align-items:flex-end;gap:8px;}
.pm-title{font-weight:700;line-height:1.25;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;text-shadow:0 1px 3px rgba(0,0,0,0.8);}
.pm-subtitle{opacity:.95;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-shadow:0 1px 2px rgba(0,0,0,0.6);}

/* ===== Avatar token ===== */
.pm-avatar{display:inline-flex;align-items:center;justify-content:center;padding:6px 8px;border-radius:12px;
  background:var(--pm-avatar-bg,#eef2ff);color:var(--pm-avatar-fg,#1e3a8a);border:1px solid var(--pm-avatar-bd,#e5e7eb);
  box-shadow:0 1px 3px rgba(0,0,0,.10);}
.pm-avatar--circle{width:30px;height:30px;border-radius:50%;font-weight:700;font-size:11px;padding:0;}

/* ===== Chips / Badges ===== */
.pm-chip{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.06);}
.pm-chip--public,.pm-chip--published{color:#155724;background:#d4edda;}
.pm-chip--confidential{color:#1f3d7a;background:#dbe4ff;}
.pm-chip--draft{color:#0c5460;background:#d1ecf1;}
.pm-badge{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.06);}
.pm-badge--edit{background:#e8f5e9;color:#1b5e20;}
.pm-badge--view{background:#eef2ff;color:#1e3a8a;}
.pm-badge--warning{background:#f59e0b;color:#fff;border-color:transparent;}

/* ===== List/table blocks ===== */
.pm-list{border:1px solid #eee;border-radius:12px;overflow:hidden;background:#fff;}
.pm-list__head{display:grid;grid-template-columns:var(--pm-list-cols);gap:0;border-bottom:1px solid #eee;background:#fafafa;}
.pm-list__row{display:grid;grid-template-columns:var(--pm-list-cols);gap:0;border-top:1px solid #f3f4f6;cursor:pointer;}
.pm-cell{padding:10px 12px;display:flex;align-items:center;min-width:0;}
.pm-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.text-cap{text-transform:capitalize;}
.text-muted{color:#777;}
.text-dim{color:#374151;}

/* ===== Toggles / small buttons ===== */
.pm-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;color:#111827;cursor:pointer;}
.pm-toggle.is-active{background:#111827;color:#fff;border-color:#111827;}

/* ===== Modal ===== */
.pm-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);}
.pm-modal__panel{width:min(1100px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.25);}
.pm-modal__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eee;}
.pm-modal__body{padding:12px;}
.pm-modal__foot{padding:12px;border-top:1px solid #eee;display:flex;justify-content:flex-end;}

/* ===== Rich text preview ===== */
.rt-preview{ border-top:1px dashed #eee; padding-top:8px; max-height:88px; overflow:hidden; }



.actions-board .task button {
  font-size: 15px;
  color: #949494;
}
.pm-modal__box.pm-form {
  min-width:  1000px;
}
.pm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.pm-avatar--sm {
  width: 28px;
  height: 28px;
  font-weight: 700;
}
.pm-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.pm-card__head {
  padding: 12px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(180deg,#fafafa,#f5f5f5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pm-card__body { padding: 12px; }
.pm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pm-pill { padding: 6px 10px; border-radius: 8px; border:1px solid #e5e7eb; background:#fff; color:#111827; font-size:12px; }
.pm-pill--active { border-color:#111827; background:#111827; color:#fff; }
.pm-badge { font-size:11px; padding:2px 8px; border-radius:999px; border:1px solid #e5e7eb; background:#dcfce7; color:#166534; }
.pm-badge--danger { background:#fee2e2; color:#991b1b; }
.pm-danger { border:1px solid #fde2e2; background:#fffafa; }
.pm-danger__head { border-bottom:1px solid #fbd5d5; background:linear-gradient(180deg,#fff5f5,#ffecec); }
.pm-btn-danger { padding:8px 12px; border-radius:8px; border:1px solid #ef4444; background:#ef4444; color:#fff; cursor:pointer; }
.pm-input { border:1px solid #e5e7eb; border-radius:8px; padding:8px; }
.pm-icon-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(56px,1fr)); gap:8px; max-height:280px; overflow:auto; }
.pm-icon-btn { display:inline-flex; align-items:center; justify-content:center; height:56px; border-radius:10px; border:1px solid #eee; background:#fff; cursor:pointer; }
.pm-list-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px; margin-top:10px; }
.pm-row { display:flex; gap:10px; align-items:center; justify-content:flex-start; border:1px solid #e5e7eb; border-radius:10px; padding:8px; background:#fff; cursor:pointer; }
.pm-log-card { display:grid; grid-template-columns:36px 1fr; gap:10px; align-items:start; border:1px solid #eef; border-radius:10px; padding:8px; }
.pm-json {
  background:#0f172a; color:#e2e8f0; padding:8px; border-radius:8px; overflow:auto;
  max-height:240px; font-size:12px; line-height:1.35; white-space:pre-wrap; word-break:break-word;
}
button.icons {
  color: #696969
}
/* Two-column responsive layout for units */
.units-grid {
  display: grid;
  gap: 16px;
}
.unit-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}
@media (max-width: 900px){
  .units-grid{ grid-template-columns: 1fr; }
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #dedede;
  padding: 0px 12px;
  height: 50px;
  background-color: transparent;
  border-top: 1px solid #dedede;
}
.tab.is-active {
  border-bottom-color: #000;
  color: #111;
  font-weight: 700;
}
.tab {
  padding: 14px 12px;
  border: 0;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  border-bottom-width: 0px;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  background: transparent;
  border-bottom: 2px solid transparent;
    border-bottom-color: transparent;
  color: #343333;
  cursor: pointer;
  font-weight: 500;
  border-radius: 0px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.cms.editor {
  --bg: #f5f5f5;
  --bg-subtle: #fafafa;
  --surface: #ffffff;
  --border: #e6e6e6;
  --border-strong: #d8d8d8;
  --ring: #336eff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --muted: #9ca3af;
  --shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  --radius: 12px;
  --radius-sm: 0px;
  --pad: 14px;
  color: var(--text);
  background: var(--bg);
  padding: var(--pad);
  border: 0px solid var(--border);
  border-radius: 0px;
}
.tags-tab .add-form {
  display: flex;
  align-items: center
}
.tags-tab .add-form input {
  height: 40px
}
.ws-modal .tags-tab .btn.btn-chip {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  min-width: 130px;
  min-height: 70px;
}
/* Taller editor + hide CK toolbar until focus */
.ws-cms-editorhost { position: relative; }
.ws-cms-editorhost .ck-editor__editable { min-height: 720px; }
.ws-cms-editorhost .ck-toolbar { display: none !important; }
.ws-cms-editorhost.is-focused .ck-toolbar { display: flex !important; }

/* Fallback contentEditable */
.ws-cms-fallback {
  min-height: 720px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 10px;
  outline: none;
}
.btn-grid.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px
}
.cms.editor * { box-sizing: border-box; }

/* ---------- Top area (title/desc + inserter) ---------- */

.cms.editor .cms-top.top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}

.cms.editor .top-fields.fields {
  display: grid;
  gap: 8px;
}

.title-input.input {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  padding: 6px 8px;
  border-radius: 10px;
  background: transparent;
}

.title-input.input::placeholder { color: var(--text-muted); }

.desc-input.input {
  font-size: 16px;
  color: #4b5563;
  border: 1px solid transparent;
  padding: 6px 8px;
  border-radius: 10px;
  background: transparent;
}

.title-input.input:focus,
.desc-input.input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.15);
  background: var(--bg);
}

/* Inserter button & panel */

.inserter-btn.btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #111827;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inserter-btn.btn:hover { filter: brightness(1.05); }

.inserter-panel.panel {
  position: absolute;
  right: 0;
  top: 48px;
  width: 420px;
  max-width: min(420px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 50;
}

.panel-search.search {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.search-input.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
}

.search-input.input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.15);
}

.panel-grid.grid {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.grid-item.item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, border-color .08s ease;
}

.grid-item.item:hover {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.12);
  transform: translateY(-1px);
}

.item-icon.icon {
  width: 28px;
  height: 28px;
  font-size: 18px;
  border-radius: 6px;
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
}

.item-label.label { font-size: 13px; color: var(--text); }

.panel-footer.footer {
  border-top: 1px solid var(--border);
  padding: 8px 10px;
  background: var(--bg-subtle);
  display: flex;
  justify-content: flex-end;
}

.footer-btn.btn {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

/* ---------- Blocks list & items ---------- */

.cms.editor .cms-blocks.blocks {
  display: grid;
  gap: 12px;
}

.block.item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.block.item:hover {
  border-color: var(--border-strong);
}

.block.item.is-active {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.15);
}

/* Toolbar shown when active */
.block-toolbar.toolbar {
  position: absolute;
  top: -12px;
  left: 12px;
  display: inline-flex;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 4px;
  z-index: 2;
}

/* Re-usable buttons (two-class styles) */
.btn.btn-ghost {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text);
}
.btn.btn-ghost:hover { background: var(--bg-subtle); }

.btn.btn-danger {
  border: 1px solid #ef4444;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}
.btn.btn-danger:hover { filter: brightness(0.98); }

.btn.btn-primary {
  border: 1px solid #336eff;
  background: #336eff;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.btn.btn-primary:disabled { opacity: .6; cursor: default; }

/* Previews / editors inside blocks */
.block-preview.preview { min-height: 24px; }
.muted.text { color: var(--muted); }

.block-editor.editor { display: grid; gap: 8px; }

/* CKEditor host / fallback */
.rt-host.host {
  min-height: 120px;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}
.rt-fallback.content {
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  outline: none;
}
.rt-fallback.content:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.15);
}

/* Header block */
.block-h.heading { margin: 2px 0; }
.is-header .header-controls.controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-select.select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff;
}
.header-select.select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.15);
}
.is-header .header-edit.edit {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.is-header .header-edit.edit:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.12);
}

/* Image block */
.image-preview.preview,
.img-preview.preview {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}
.preview-img.img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.image-editor.editor .field-row.row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
}
.field-label.label { color: var(--text-muted); font-size: 13px; }
.field-input.input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}
.field-input.input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(51,110,255,.12);
}

/* Empty state */
.empty.note {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-subtle);
}

/* Utilities */
.preview-img.img,
.block.item,
.inserter-panel.panel { transition: box-shadow .12s ease, border-color .12s ease; }

/* Small screens */
@media (max-width: 640px){
  .inserter-panel.panel { width: 96vw; right: 2vw; }
  .panel-grid.grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .image-editor.editor .field-row.row { grid-template-columns: 1fr; }
}
/* Bottom add row */
.tags-tab .add-row.row {
  gap: 10px;
  width: 130px;
  height: 70px;
}
.add-row.row {
  gap: 10px;
}
.add-full.item {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  cursor: pointer;
  text-align: center;
  min-height: 100px;
  font-size: 20px;
  color: gray;
}
.add-full.item .plus { font-size: 18px; line-height: 1; }
.add-full.item .label { font-weight: 600; }
.add-full.item.is-open { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(51,110,255,.12); }

.add-grid.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.grid-card.item {
  padding: 14px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, border-color .08s ease;
  min-height: 100px;
}
.grid-card.item:hover { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(51,110,255,.12); transform: translateY(-1px); }
.card-icon.icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg-subtle);
  display: grid; place-items: center; font-weight: 700;
}
.card-label.label { font-size: 13px; }



/* ===== Generic toolbars & cards ===== */
.pm-toolbar{display:flex;gap:8px;margin-bottom:10px}
.pm-toolbar--end{justify-content:flex-end}
.pm-toolbar--center{justify-content:center}
.pm-card{border:1px solid #eee;border-radius:10px;padding:12px;background:#fff}
.pm-card__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.pm-card__title{font-weight:700}
.pm-item__description {
  font-size: 11px
}
/* ===== Form grid reuse ===== */
.pm-form__grid{display:grid;gap:12px}
.pm-form__grid--2{grid-template-columns:1fr 1fr}
.pm-field{display:flex;flex-direction:column;gap:6px}
.pm-field--stack{margin-top:8px}
.pm-field__label{font-size:12px;color:#555}

/* ===== Blocks / chips ===== */
.pm-block{margin-top:12px}
.pm-block__toolbar{display:flex;gap:8px;align-items:center;margin-bottom:6px;flex-wrap:wrap}
.pm-block__label{font-size:12px;color:#555}
.pm-block__spacer{flex:1 1 auto}
.pm-chips{display:flex;gap:6px;flex-wrap:wrap}
.pm-chip-btn{padding:4px 10px;border-radius:999px;border:1px solid #ddd;background:#fff;cursor:pointer;font-weight:700;font-size:12px}
.pm-chip-toggle.is-active {
  border-color: #787f8b;
  background: #f5f5f5;
}
.pm-seg {
  display: flex;
  gap: 10px;
  padding: 10px 0px;
}
.pm-chip-toggle {
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid #ddd;
    border-top-color: rgb(221, 221, 221);
    border-right-color: rgb(221, 221, 221);
    border-bottom-color: rgb(221, 221, 221);
    border-left-color: rgb(221, 221, 221);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #5e5e5e;
}
.pm-chip-toggle.is-active{border-color:#3b82f6;background:rgba(59,130,246,.08)}
.pm-chip-toggle__count{font-weight:600;color:#555;margin-left:6px}

/* ===== Columns / lists ===== */
.pm-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.pm-cols--wide{grid-template-columns:1.2fr .8fr}
.pm-col{min-width:0}
.pm-list__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.pm-list__title{font-weight:600}
.pm-subheader{padding:6px 10px;font-weight:600;background:#fafafa;border:1px solid #f1f1f1;border-bottom:none;border-radius:8px 8px 0 0}
.pm-list__box{border:1px solid #eee;border-radius:8px;max-height:360px;overflow:auto}
.pm-list__box--short{max-height:180px;border-top:none;border-radius:0 0 8px 8px}
.pm-list__box--medium{max-height:300px}
.pm-list__empty{padding:10px;color:#888;font-size:12px}

/* ===== Items ===== */
.pm-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #f7f7f7}
.pm-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:#000;font-weight:700;font-size:12px;flex-shrink:0}
.pm-item__meta{min-width:0;flex:1}
.pm-item__title{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-item__sub{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-item__sub--cap{text-transform:capitalize}

/* ===== Row grid for actions (avatar | meta | step | step ctrls | remove) ===== */
.pm-rowgrid{display:grid;grid-template-columns:auto 1fr auto auto auto;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #f7f7f7}
.pm-stepper{display:flex;align-items:center;gap:6px;font-size:12px;color:#666}
.pm-stepper__label{color:#666}
.pm-stepper__value{font-size:12px}
.pm-stepper__controls{display:flex;gap:6px}
.pm-stepbtn {
  border: 0px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  color: #000;
}
.pm-stepbtn:disabled{opacity:.6;cursor:not-allowed}

/* ===== Buttons / inputs (shared with your existing set) ===== */
.pm-input,.pm-select,.pm-textarea{width:100%;padding:8px 10px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;outline:none}
.pm-input:focus,.pm-select:focus,.pm-textarea:focus{border-color:#3b82f6}
.pm-input--search{max-width:200px}
.pm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.pm-btn{padding:6px 14px;border-radius:6px;font-size:14px;cursor:pointer;border:none;font-weight:500}
.pm-btn--sm{padding:4px 10px;font-size:12px}
.pm-btn:disabled{opacity:.6;cursor:not-allowed}
.pm-btn--ghost{background:#f5f5f5;color:#333}
.pm-btn--ghost:hover:not(:disabled){background:#e0e0e0}
.pm-btn--primary{background:#3b82f6;color:#fff}
.pm-btn--primary:hover:not(:disabled){background:#2f6ed1}
.pm-icon-btn{margin-left:auto;border:0;background:transparent;cursor:pointer;font-size:16px}
.pm-icon-btn--remove{color:#c0392b}
.pm-icon-btn--add{color:#1e7e34}

/* ===== Hints & overlay ===== */
.pm-hint{font-size:12px;color:#666;margin:4px 0 12px}
.pm-hint--info{color:#555}
.pm-hint--error{color:#b00}
.pm-veil{position:relative}
.pm-veil::after{
  content: attr(data-message);
}
.pm-veil{
  position:absolute; inset:0; background:rgba(255,255,255,.7);
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:20px; font-weight:700; color:#333; border-radius:8px;
}


/* ====== Shared modal base (same as delete modals) ====== */
.pm-modal--overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:9999}
.pm-modal__box{width:min(920px,92vw);background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.2);padding:16px;display:flex;flex-direction:column}
.pm-modal__close{border:0;background:transparent;font-size:18px;cursor:pointer;line-height:1}

/* ====== Form modal layout ====== */
.pm-form__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.pm-form__title{margin:0;font-size:20px;font-weight:600}

/* Tabs */
.pm-tabs {
  display: flex;
  gap: 0px;
  border-bottom: 0px solid #eee;
  margin-bottom: 0px;
}
.pm-tab {
  padding: 8px 12px;
  border: 0;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  background: transparent;
  border-bottom: 2px solid transparent;
    border-bottom-color: transparent;
  color: #666;
  cursor: pointer;
  font-weight: 600;
  border-radius: 0px;
}
.pm-tab--active {
  border-bottom-color: #000;
  color: #111;
  font-weight: 700;
}

/* Grid form */
.pm-form__grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.pm-field{display:flex;flex-direction:column;gap:6px}
.pm-field--full{grid-column:1/-1}
.pm-field__label{font-size:12px;color:#555}

/* Inputs */
.pm-input,.pm-select,.pm-textarea{width:100%;padding:8px 10px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;outline:none}
.pm-input:focus,.pm-select:focus,.pm-textarea:focus{border-color:#3b82f6}
.pm-input--search{max-width:200px}

/* Columns (two-pane lists) */
.pm-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.pm-col{min-width:0}
.pm-list__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.pm-list__title {
  font-weight: 600;
  font-size: 20px;
}
.pm-list__box{border:1px solid #eee;border-radius:8px;max-height:360px;overflow:auto}
.pm-list__empty{padding:10px;color:#888;font-size:12px}

/* List items */
.pm-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #f7f7f7}
.pm-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:#000;font-weight:700;font-size:12px;flex-shrink:0}
.pm-item__meta{min-width:0;flex:1}
.pm-item__title{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-item__sub{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Icon buttons (add/remove) */
.pm-icon-btn{margin-left:auto;border:0;background:transparent;cursor:pointer;font-size:16px}
.pm-icon-btn--remove{color:#c0392b}
.pm-icon-btn--add{color:#1e7e34}

/* Actions */
.pm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  grid-column: 1 / span 2;
}
.pm-actions--end{justify-content:flex-end}

/* Buttons */
.pm-btn{padding:6px 14px;border-radius:6px;font-size:14px;cursor:pointer;border:none;font-weight:500}
.pm-btn:disabled{opacity:.6;cursor:not-allowed}
.pm-btn--ghost{background:#f5f5f5;color:#333}
.pm-btn--ghost:hover:not(:disabled){background:#e0e0e0}
.pm-btn--primary{background:#3b82f6;color:#fff}
.pm-btn--primary:hover:not(:disabled){background:#2f6ed1}

/* Small hint text */
.pm-hint{font-size:12px;color:#666;margin:4px 0 12px}


/* === Generic modal overlay === */
.pm-modal--overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* === Modal box === */
.pm-modal__box {
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === Modal header === */
.pm-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pm-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.pm-modal__close {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* === Modal body text === */
.pm-modal__body {
  margin: 0 0 12px;
  font-size: 14px;
  color: #333;
}

/* === Error message === */
.pm-modal__error {
  color: #c00;
  margin-bottom: 8px;
  font-size: 13px;
}

/* === Action buttons === */
.pm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* === Buttons === */
.pm-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-weight: 500;
}

.pm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pm-btn--ghost {
  background: #f5f5f5;
  color: #333;
}

.pm-btn--ghost:hover:not(:disabled) {
  background: #e0e0e0;
}

.pm-btn--danger {
  background: #c00;
  color: #fff;
}

.pm-btn--danger:hover:not(:disabled) {
  background: #a30000;
}



.ws-modal.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 50px;
}
.ws-modal .modal-card {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 20px;
}
/* header */
.ws-modal .hdr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  position: relative;
  min-height: 105px;
}
.ws-modal .hdr-left { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.ws-modal .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #000;
  font-weight: 700;
  font-size: 23px;
}
.ws-modal .title {
  min-width: 0;
  display: flex;
  gap: 28px;
  min-width: 225px;
  align-items: center;
  height: 55px;
  font-size: 20px;
}
.ws-modal .ttl {
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-modal .subtitle { font-size: 12px; color: #666; text-transform: capitalize; }

.ws-modal .type-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  width: 195px;
}
.ws-modal .type-row select {
  font-size: 12px; padding: 4px 8px; border: 1px solid #ddd; border-radius: 6px; background: #fff; text-transform: capitalize;
}

/* availability */
.ws-modal .availability { display: flex; gap: 6px; align-items: center; }
.ws-modal .availability-label { font-size: 12px; color: #666; }
.ws-modal .btn {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
}
.ws-modal .btn.btn-pill {
  border-radius: 4px;
}
.ws-modal .btn.btn-outline { border: 1px solid #ddd; background: #fff; }
.ws-modal .btn.is-active { border-color: #3b82f6; background: rgba(59,130,246,.08); font-weight: 700; }
.ws-modal .btn.btn-primary {
  background: rgb(69, 133, 94);
  color: #fff;
  border-color: rgb(69, 133, 94);
}
.ws-modal .btn[disabled] { opacity: .6; cursor: not-allowed; }

/* tags */
.ws-modal .tags { display: flex; align-items: center; gap: 8px; }
.ws-modal .fx-1 { flex: 1; }
.ws-modal .minw-260 { min-width: 260px; }
.ws-modal .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-modal .chip.chip--tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 21px;
  font-size: 14px;
  color: #656565;
  background-color: #f5f5f5;
  font-weight: 500;
  text-transform: lowercase;
}
.ws-modal .chip .close { border: 0; background: transparent; cursor: pointer; }
.ws-modal .chip-empty { font-size: 12px; color: #888; }
.ws-modal .btn.btn-dashed {
  border: 1px dashed #aaa;
  border-radius: 8px;
  padding: 4px 8px;
}

/* tag popover */
.ws-modal .pop-wrap { position: relative; }
.ws-modal .popover.popover--tags {
  position: absolute; right: 14px; left: 14px; z-index: 10000;
  background: #fff; border: 1px solid #eee; border-top: 0; border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 12px; display: flex; gap: 12px; flex-wrap: wrap;
}
.ws-modal .btn.btn-chip { padding: 4px 8px; border: 1px solid #ddd; border-radius: 999px; font-size: 12px; cursor: pointer; }
.ws-modal .btn.btn-chip.is-active { border-color: #3b82f6; background: rgba(59,130,246,.08); }
.ws-modal .tag-actions { display: flex; gap: 6px; margin-left: auto; }
.ws-modal .w-200 { max-width: 200px; }

/* tabs */
.ws-modal .tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #dedede;
  padding: 0px 12px;
  height: 50px;
  background-color: #fff;
}
.ws-modal .tab {
  padding: 14px 12px;
  border: 0;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  background: transparent;
  border-bottom: 2px solid transparent;
  color: #343333;
  cursor: pointer;
  font-weight: 500;
  border-radius: 0px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.ws-modal .tab.is-active {
  border-bottom-color: #000;
  color: #111;
  font-weight: 700;
}

/* body + editor */
.ws-modal .body {
  padding: 14px 30px;
}
.ws-modal .note.note--muted { font-size: 12px; color: #666; margin-top: 12px; }
.ws-modal .footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ws-modal .editor-host { min-height: 120px; }
.ws-modal .textarea.textarea--editor { width: 100%; margin-top: 8px; }

.dropdown.w-100 {
  display: block;
  position: inherit;
}
.w-100 .dropdown-menu.show {
  display: block;
  top: 95px;
  max-width: 250px;

}
.filters {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: end;
}
.header h3 {
  font-size: 25px
}
button.transparent {
  background-color: transparent;
  color: #606060;
  padding: 5px 8px;
  font-size: 20px;
}
button.transparent.active {

  color: #2f2fc2;

}

.header .rightbuttons {
  display: flex;
  gap: 15px
}
.maincolumns.activeSuggestion .right-panel .mb-3:nth-child(4) {
    display: none
}
.notebutton .convert {
  display: none
}


/* Stage-spezifische Farbanweisungen entfernt – generische Statusregeln siehe unten */



.grid-box.Under.Decision .workspaceStatus {
  display: block !important;
}
.grid-box .Confidential {
  color: red;
  background-color:transparent;
}

.grid-box .Public {
  color: green;
  background-color:transparent;
}
.grid-box .Suggestion {
  color: #1976d2;
  background-color: #e3f2fd;
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 600;
  text-align: center;
}
.grid-box .Draft {
  color: #6c757d;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 600;
  text-align: center;
}
.grid-box .Decision {
  color: #2e7d32;
  background-color: #e8f5e8;
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 600;
  text-align: center;
}



.grid-box {
  width: 295px;
  margin-top: 18px;
  flex-shrink: 0;
  background: rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(204, 204, 204);
  border-radius: 8px;
  padding: 14px 10px 38px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 225px;
  gap: 10px;
  transition: all 0.3s ease;
}

.grid-box:hover {
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
}

.grid-box.Draft {
  background-color: #FFFFEE !important;
  box-shadow: none !important;
  border-color: 3px dashed !important;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 650px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-list li.inactive {

 opacity: 0.6;
  background-color: #f5f5f5;
  pointer-events: none;

}
.menu-list li {
  border: 1px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  padding: 18px 25px;
  border-radius: 8px;
  border-color: #c5c5c5;
  background-color: #fff;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.loading-overlay-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timelinefilters .dropdown-custom {
  display: flex;
  width: 124px;
  gap: 0px;
  min-width: 150px;
}
.timelinefilters .dropdown-toggle {
  display: flex;
  width: 128px;
  gap: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loading-overlay-settings[data-value]:not([data-value="0"]) {
  background-color: rgb(250, 250, 250,0.7);
}
.loading-overlay-settings[data-value]:not([data-value="0"]) p, .loading-overlay-settings[data-value]:not([data-value="0"]) .first {
 display: none;
}
.loading-overlay-settings[data-value="0"] .second {
 display: none;
}
.file-uploader img {
  width: 100px;
  margin-bottom: 30px
}
.tableheader button.active {
  color: blue !important;
}
.file-uploader {
  padding: 20px;
  border: 1px solid #cecece;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  background-color: rgb(248, 249, 250);
  color: rgb(51, 51, 51);
}
.toolbar button {
  padding: 5px 10px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background-color: #f5f5f5;
  color: #696969
}
.steps {
  border: 2px solid;
  padding: 5px;
  text-align: center;
  border-radius: 35px;
  color: rgb(215, 215, 215);
  margin-bottom: 10px;
  margin-top: 10px;
}
.steps.active[data-value="suggestion"] {
  background-color: grey;
  color: #fff;
}
.steps.active[data-value="decision draft"] {
  background-color: orange;
  color: #fff;
}
.steps.active[data-value="in decision"] {
  background-color: blue;
  color: #fff;
}
.steps.active[data-value="in action"] {
  background-color: green;
  color: #fff;
}
.steps.active[data-value="done"] {
  background-color: #fff;
  color: green;
}
.dropdown [data-value="suggestion"] {
  background-color: grey;
  color: #fff;
}
.dropdown [data-value="decision draft"] {
  background-color: orange;
  color: #fff;
}
.dropdown [data-value="in decision"] {
  background-color: blue;
  color: #fff;
}
.dropdown [data-value="in action"] {
  background-color: green;
  color: #fff;
}
.dropdown [data-value="done"] {
  background-color: #fff;
  color: green;
  border: 2px solid;
}
#limesurvey .edit-container textarea {
  width: 100%;
  font-size: 12px;
  border-radius:
4px;
  box-shadow: none;
  border:
0px solid;
  line-height: 17px;
}
.topicbuttons button {
  color: #000
}

.actionbuttons {
  position: absolute;
  bottom: -15px;
  display: flex;
  gap: 10px;
  left: 3px;
}
.actionbuttons button {
 background-color: #e8e8e8;
  color: #696969;
  padding: 10px;
  height: 35px;
  display: flex;
  align-items: center;
}
.edit-container {
  background-color: rgb(248, 249, 250);
  color: rgb(51, 51, 51);
  cursor: default;
  min-width: 325px;
  text-align: left;
  border:
1px solid #e2e2e2;
  border-radius:
8px;
}
.edit-container .form-control {
  color: #1E1E1E;
  border-color:
transparent;
  font-size: 14px;
  background-color: transparent;
}
.edit-container i {
  font-size: 12px;
}
.editfield i {
 font-size: 12px

}
.right-panel {
  width: 320px;
  padding:
10px 30px;
  background-color: #fff;
  border-radius:
15px;
  border:
1px solid #e6e6e6;
}
.commentbox {
  display: flex;
  align-items: center;
  gap:
10px;
  padding: 10px
}
.replyicon {
  color: #a4a4a4;
}
.comment-reply {
  margin-left: 20px;
  padding-left: 10px;
  border-left:
1px solid #c6c6c6;
  display: flex;
  gap:
10px;
}
.comment p {
  background-color: #EDEDED;
  padding:
8px 15px;
  border-radius:
10px;
  border:
0px solid #979797;
  color: #000;
  font-weight: 500;
  font-size: 12px;
  margin:
0px;
}

.comment {
  position: relative;
}


button {
  background-color: #fff;
  border: 0px;
  padding: 10px 15px;
  border-radius: 8px;
}
button.reverse {
  background-color: transparent;
  border: 0px;
  color: #000;
  padding: 3px 15px;
  border-radius: 8px;
}
.left-panel {
  width: 315px;
  padding:
10px;
  background-color: #fff;
  border-radius: 15px;
  border: 1px solid #e6e6e6;
}
.page {
  width: 100%;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.sidebar h2 {
  padding-left: 15px;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #cecece;
}
.close {
  border: 0px;
  position: absolute;
  right: 35px;
  font-size: 35px;
  top: 25px;
  color: #000;
  background-color: transparent;
}
.counter .count {
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
}
    .toolbox-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;

    }
    .toolbox-content {
  background: white;
  padding: 0px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 80%;
  height: 80%;
  position: relative;
}
.overviewpanel.counter {
  background-color: rgb(255, 255, 255);
  color: rgb(19, 19, 19);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  padding: 20px 20px;
    padding-top: 20px;
  padding-top: 20px;
  width: 210px;
  height: 125px;
}
.overviewpanel.counter label {
  width: 100%;
  font-size: 14px
}
.counter .count {
  font-size: 44px;
  line-height: 40px;
  font-weight: 600;
}
.intro h2 {
  text-align: center;
  font-size: 55px;
  font-weight: 600;
}
.sidebar .menu {
  display: flex;
  flex-direction: column;

}
.sidebar .menu li a {
  max-width: calc(100% - 70px);
  text-align: left;
  padding: 0px 15px;
  line-height: 15px;
  font-size: 14px !important;
  font-weight: 400 !important;
}
.sidebar .menu li {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.sidebar .menu li button {
  font-size: 10px;
  padding:
5px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d3d3d3;
  color: #000;
}
.sidebar {
  height: calc(100vh - 80px);
  width: 260px;
  border-right: 1px solid #cecece;
  display: flex;
  padding: 50px 30px;
  flex-direction: column;
}
.sidebar .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0px 0px;
}
.logo {
  width: 240px;
}
.intro {
  display: flex;
 flex-direction: column;
  align-items: center;
  gap: 20px;
}
.intro img {
  width: 75px;
}
.intro p {
  font-size: 20px
}

/* @font-face Definitionen entfernt - werden jetzt dynamisch generiert */


 .user {
  background-color: #696969;
  width: 32px;
  text-align: center;
  border-radius: 35px;
  font-size: 13px
}
.rightmenu .list[data-value^="-"] label {
  color: #c85e5e;
}
.list[data-value^="0"] label {
  color: #c1c15e;
}
.list[data-value^="1"] label, .list[data-value^="2"] label, .list[data-value^="3"] label, .list[data-value^="4"] label, .list[data-value^="5"] label, .list[data-value^="6"] label, .list[data-value^="7"] label, .list[data-value^="8"] label, .list[data-value^="9"] label {
  color: #3d973d;
}
.area .Overall {
    grid-column: span 2; /* Span 2 columns */
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #e9e9f4 !important;
}
.impact tr:first-child td {
  font-weight: 600 !important;
  padding: 30px 20px !important;
  background-color: #5f5ff9 !important;
  color: #fff;
  font-size: 21px !important;
}
.topmenu {
  display: flex;
  justify-content: flex-end; /* besser lesbar als 'end' */
  width: 100%;
  padding: 0 70px;
  align-items: center; /* vertikale Zentrierung */
  height: 33px !important; /* Höhe für die gesamte Leiste, kann angepasst werden */
  box-sizing: border-box;
}

.topmenu .menu {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  align-items: center; /* vertikal ausrichten */
}

.impact tr:first-child td:last-child {
  font-size: 35px !important;
}
.impact tr:first-child {
  font-weight: 600 !important;
  padding: 30px 20px !important;
}
.impact td[data-value^="1"], .impact td[data-value^="2"], .impact td[data-value^="3"], .impact td[data-value^="4"] {
  color: #3d973d;
}
.impact td[data-value^="5"], .impact td[data-value^="6"], .impact td[data-value^="7"] {
  color: #c1c15e;
}
.impact td[data-value^="8"], .impact td[data-value^="9"], .impact td[data-value^="10"] {
  color: #c85e5e !important;
}
.area .Overall h2 {
    font-size: 25px !important;
}
.area .Overall p {
    font-size: 15px !important;
}
.area .Overall h1 {
    font-size: 75px !important;
  line-height: 75px !important;
}
.modal-header {
  padding: 0px 20px;
  border-bottom: none;
  display: flex;
}
.sharings p {
  margin-top: 0px;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}
.sharings .shareicon img {
  width: 100%;
}
.sharings .shareicon {
  box-shadow: 2px 1px 5px 0px rgba(0,0,0,0.11);
  width: 45px;
  height: 45px;
  padding: 4px;
  position: relative;
  border-radius: 8px;
  border: 2px solid #4961da;
}
.sharings .shareicon button {
  position: absolute;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 12px;
  border-radius: 250px;
  background-color: #dbdbdb;
  border: 1px solid #cecece;
  top: -5px;
  right: -10px;
}
.requests {
  border-right: 1px solid #696969;
  padding-right: 15px;
  display: flex;
  gap: 10px;
}
.approved {
gap: 10px;
  display: flex;
}
.sharings {
  display: flex;
  position: absolute;
  gap: 20px;
  bottom: 10px;
  right: 10px;
  height: 70px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 11px 11px;
}

table#riskgrid td:first-child, table#riskgrid th:first-child {
  width: 40%;
  text-align: left;
}
table#riskgrid th:first-child {
  padding-left: 15px !important;
}
table#riskgrid td, table#riskgrid th {
  width: 15%;
  text-align: center;

}
table#riskgrid td:nth-child(2) {
  color: #841111;
  font-size: 20px;
}
table#riskgrid td:nth-child(3) {
  color: #a4a41b;
  font-size: 20px;
}
table#riskgrid td:nth-child(4) {
  color: #1a931a;
  font-size: 20px;
}
table#riskgrid td:nth-child(5) {
  color: blue;
  font-size: 20px;
}
#outerframeContainer .modal-body table.inputtable td {
  background-color: #fff;
  padding: 8px 15px;
}
#outerframeContainer #report-body th {
  border-radius: 0px;
  padding: 0px 0px;
  font-size: 12px;
  font-weight: 300;
}
#outerframeContainer #comingup .modal-body table.inputtable td {
  background-color: #f5f5f5;
  padding: 8px 15px;
}
#report-body .expansion {
  --text-color: hsl(0, 0%, 20%);
  --bg-color: hsl(0, 0%, 100%);
  --base-color: 82, 39%;
  --primary: hsl(var(--base-color), 15%);
  --summary-bg-color: hsl(var(--base-color), 96%);
  --summary-hover-bg-color: hsl(var(--base-color), 86%);
  --border: 1px solid hsl(var(--base-color), 60%);
  --border-radius: 0.33rem;
  --shadow: 1px 2px 14px -8px hsl(var(--base-color), 10%);
  --shadow: 1px 2px 10px -4px black;
  --space-between: 0.75rem;
  --padding-x: clamp(1rem, 5%, 2.5rem);
  --transition-duration: 300ms;
  --transition-timing-function: ease-in;
  margin-left: 0px;
  margin-top: 5px;
}
#report-body .expansion summary {
  display: grid;
  grid-template-columns: auto 25px 25px 25px 35px;
  align-items: center;
  gap: 2rem;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 15px;
  transition-property: color, background-color;
  border-top: none;
  border-top: 1px solid #e9e9e9;
  border-radius: 0px;
  background-color: #fff;
  box-shadow: none;
  border-bottom: 1px solid #e9e9e9;
}
#report-body summary label {
  font-size: 16px;
  font-weight: 500;
}
#report-body .category {
  font-size: 16px;
  font-weight: 500;
  padding: 5px
}
#outerframeContainer #report-body td label {
  padding: 0;
  border: 0px solid;
  font-size: 10px;
  border-radius: 8px;
}
#outerframeContainer #report-body .expansion table {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
#outerframeContainer #report-body .expansion tr {
  box-shadow: none;
  border-radius: 0px;

}
#report-body .expansion .content p {
  font-size: 13px !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
  font-weight: 500 !important;
}
#report-body .expansion td {
  border-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  padding: 10px 0px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
    border-bottom: 1px solid #cecece;
}
#outerframeContainer #report-body .expansion td:first-child {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
#outerframeContainer #report-body .expansion td:last-child {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
#report-body .expansion details .content {
  position: relative;
  z-index: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 20px;
  border: 1px solid #e1e1e1;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(225, 225, 225);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding-top: 15px;
  padding-bottom: 20px;
}
#report-body .expansion svg {
  width: 1.5em;
  height: 1.5em;
  fill: currentColor;
  opacity: 0.8;
  font-size: 11px;
  z-index: 0;
}

#outerframeContainer .starttable td:nth-of-type(5) {
  text-align: center;
  min-width: 120px;
  font-size: 12px
}
#outerframeContainer .starttable td:nth-of-type(5) a {

  font-size: 9px
}
#outerframeContainer .starttable td:nth-of-type(3) {
  display: none;
}
#profiledropdown.dropdown-menu label {
  font-size: 12px;
  text-transform: none;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  justify-content: end;
  padding-top: 10px
}

.filter-buttons button.active {

  background-color: rgb(241,154,51);

}

.filter-buttons button {
  color: #8e8e8e;
  background-color: rgba(244, 244, 244, 0);
  font-size: 7px;
  border-radius: 8px;
  border: 0px;
  display: flex;
  flex-direction: column;
  width: 45px;
  line-height: 14px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-transform: lowercase;
  padding-top: 5px;
}

.filter-buttons button i {
  font-size: 16px;

}
#profiledropdown.dropdown-menu {

  padding: 7px 0px
}
.mainadd {
  background-color: rgb(69, 133, 94);
  color: #fff;
  font-size: 19px;
  border-radius: 5px;
  border: 0px solid;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.activities td:first-child i {
  font-size: 16px;
  margin-right: 20px;
  color: #8e8e8e;
  background-color: rgb(227, 227, 227);
  padding: 8px;
  border-radius: 8px
}
#outerframeContainer .activities td:first-child, #outerframeContainer .activities th:first-child {
  width: 150px;
  padding-left: 20px
}
#outerframeContainer .activities th {
  padding-left: 25px
}
#outerframeContainer .activities td {
  font-size: 12px
}
#outerframeContainer .activities td:nth-child(3) {
  width: 35%
}
#outerframeContainer .activities td label {
  padding: 2px 10px;
  border: 0px solid;
  font-size: 12px;
  line-height: 14px;
  border-radius: 8px;
}
.navigation .mainadd {
  width: 50px;
  height: 50px;
  background-color: rgb(241,154,51);
  color: #fff;
  font-size: 25px;
  border-radius: 150px;
  margin-top: 20px;
}
.navigation button {
  background-color: transparent;
  border: 0px;
  padding: 5px 13px;
  font-size: 17px;
  color: #888;
}
.startlist h3{
  font-size: 12px;
  font-weight: 500;
}
.rightmenu, .mainview {
  transition: width 0.5s ease-in-out;
}
.rightmenu .list :not(.scoring) label {
  font-size: 12px;
  line-height: 14px
}
table thead tr {
  box-shadow: none;
  border-radius: 0px;
}
.mainview .header {
  padding-bottom: 10px;
  border-bottom: 1px solid #b5b5b5;
  width: 100%;
  padding-top: 0px;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: end;
  gap: 10px;
}
#outerframeContainer table td.first {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.rightmenu .list :not(.scoring) label:nth-of-type(2) {
  font-size: 10px;
  line-height: 12px;
  font-weight: 300;
}
.starttable .fa {
  font-size: 18px;
  color: #2359d9;
}
.newmodal .modal-title {
  color: #1E1E1E;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.settingsheader {
  margin-top: 50px;
  font-size: 25px;
  height: 85px;
}
.rightmenu.minimal .list :not(.scoring) label {
  display: none;
}
.listtext {
  width: calc(100% - 75px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
table tr {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  border-radius: 8px;
}
.starttable tr:nth-of-type(3) td {
  border-top: 2px solid blue;
  border-bottom: 2px solid blue;
}
.starttable tr:nth-of-type(3) td:first-child {
  border-left: 2px solid blue;
}
.starttable tr:nth-of-type(3) td:last-child {
  border-right: 2px solid blue;
}
#outerframeContainer .starttable td:nth-of-type(3),#outerframeContainer .starttable td:nth-of-type(4),#outerframeContainer .starttable td:nth-of-type(5) {
  text-align: center;
}
#outerframeContainer .starttable th:nth-of-type(3),#outerframeContainer .starttable th:nth-of-type(4),#outerframeContainer .starttable th:nth-of-type(5) {
  text-align: center;
}
#outerframeContainer td label {
  padding: 2px 10px;
  border: 0.5px solid;
  font-size: 10px;
  border-radius: 8px;
}
#outerframeContainer .starttable td {
  padding: 10px 10px;
  line-height: 19px;
}
#outerframeContainer table .hidden {
  display: none;
}

.newmodal .logo {
  width: auto;
  border-right: 1px solid rgb(181, 181, 181);
  padding-left: 0px;
  padding-right: 20px;
}
.newmodal .logo img {
  height: 28px;
  padding: 0px;
  border-radius: 0px;
}
.newmodal .modal-header {
  padding: 0px 20px;
  border-bottom: none;
  display: flex;
  justify-content: start;
  gap: 30px;
}
.newmodal .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 15px;
}
.modal-body .menu li {
  padding: 6px 10px;
  border-radius: 8px
}
.modal-body .menu li.active {
  background-color: #d5d5d5;
}
.rightmenu:not(.minimal) .summary label:last-child, .rightmenu.minimal .summary label:first-child {
  display: none;
}

.summary label:first-child {
  font-size: 16px;
}
.summary label:last-child {
  font-size: 20px;
}
.summary label {
  color: #696969;
}



.summary {
  display: flex;
  height: 55px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid rgb(181, 181, 181);
  margin-bottom: 7px;
}

.newmodal .modal-header .btn-close {
  background: transparent;
  margin-left: 0px;
}
.rightmenu .hidden {
  display: none;
}
.rightmenu .fa {
  font-size: 25px;
  text-align: center;
}
.rightmenu .buttons {
  width: 100%;
  text-align: left;
  padding-top: 10px;
  padding-left: 5px;
}
.rightmenu.minimal .list {

  justify-content: center;

}
.modal-header .btn-close {
  width: 1.75em;
  height: 1.75em;
  opacity: 1;
  font-size: 1.355rem;
}
.newmodal .modal-body {
  display: flex;

  gap: 20px;
  padding: 20px 20px
}
.modal-header h3 {
  margin-top: 0px;
  font-weight: 500;
}
.modal-header .team {
  min-width: 180px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.list:nth-of-type(1) .scoring {
  background-color: transparent;
  color: #fff;
}
.list:nth-of-type(2) .scoring {
  background-color: transparent;
}
.list:nth-of-type(3) .scoring {
  background-color: #d6dce6d9;
}
.list:nth-of-type(4) .scoring {
  background-color: transparent;
}
.list:nth-of-type(5) .scoring {
  background-color: transparent;
}
.scoring label {
  color: rgb(72, 72, 72);
}
.newmodal .modal-body .menu {
  width: 300px;
  background-color: #f5f5f5;
  min-height: 90%;
    border-radius: 15px;
}
.newmodal .modal-body .main {
  width: 100%;
  background-color: #f5f5f5;
  min-height: 90%;
  border-radius: 15px
}

.text div:last-child {
  text-align: left;
  font-size: 14px;
  line-height: 19px;
  margin-top: 20px;
}
.rightmenu.minimal {
  padding: 10px 10px;
  width: 85px;
  min-height: calc(100vh - 160px);
  gap: 7px;
}

.rightmenu.minimal p {
  display: none;
}
.rightmenu.minimal .header label {
  display: none;
}

.rightmenu .logo {
  width: 45px;
  height: 45px;
  background-image: url('https://www.e-compliant.com/wp-content/uploads/2024/07/e-.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  margin: 5px;
}
.branch-selector .account .dropdown-menu img {
  width: 23px;
  height: 23px;
}
.modal {
  text-align: center;
  padding: 0 !important;
  background-color: #fff;
}
.addnewmenu .fa, .addnewmenu .fa-solid {
  color: #000;
  font-size: 23px;
  line-height: 30px;
}
.addnewbutton {
  background-color: #f5f5f5;
  border: 0px;
  border-radius: 8px;
  height: auto;
  width: calc(25% - 8px);
  align-items: self-start;
  display: flex;
  padding: 30px 20px;
  line-height: 13px;
  font-size: 10px;
  justify-content: center;
}
.addnewmenu .fas {
  color: #000;
  font-size: 23px;
  line-height: 30px;
}
.addnewmenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.addnewbutton .icons {
  width: 60px;
  height: 60px;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #c8c8e3;
  border-radius: 12px;
}
.text div:first-child {
  font-size: 18px;
  line-height: 38px
}

#addnew .modal-body {
  text-align: center;
}
.addnewbutton:nth-child(2) .icons {

  background-color: #e3c8d8;

}
.addnewbutton:nth-child(3) .icons {

  background-color: #e3dac8;

}
.addnewbutton:nth-child(4) .icons {

  background-color: #cfe3c8;

}
.addnewgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}
.branch-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 20px;
  background-color: #f5f5f5;
  border-radius: 15px;
  min-width: 427px;
  height: 58px;
  gap: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  justify-content: space-evenly;
  position: relative;
}

#main.welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  flex-direction: column;
}
.dropdown-menu .branches label {
  width: auto;
  color: #152536;
  font-size: 10px;
  text-transform: none;
  padding: 0px;
  line-height: 10px;
  margin-left: 10px;
}
.dropdown-menu .item {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
  padding: 5px 12px;
  align-items: center;
  font-size: 12px;
  color: #696969;
}
.dropdown-menu .item label {
  width: 100%;
  height: 14px;
    margin-left: 0px;
}
.branch {
  display: flex;
  flex-direction: column;
  width: calc(100% - 50px);
  align-items: center;
}
.dropdown-menu .item label:last-child {
  font-size: 13px;
  height: 14px;
}
.dropdown-menu .item label:first-child {
  font-size: 8px;
  height: 14px;
}
.dropdown-menu .item img {
  width: 20px;
  height: 20px;
  margin-right: 10px
}
.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0px 15px;
}
.actions {
  width: 200px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.actions label {
  color: #152536;
  font-size: 10px;
  font-weight: 500;
}
.header {
  padding-bottom: 10px;
  border-bottom: 1px solid #b5b5b5;
  width: 100%;
  padding-top: 10px;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  align-items: center;
}
.round .fa-plus {
  font-size: 16px
}
.header label {
  letter-spacing: 0px;
  font-weight: 500;
  font-size: 12px;
  text-align: left;
  line-height: 16px;
}
.minimal .header label {
  display: none;
}

.rightmenu .list {
  display: flex;
  align-items: center;

  padding: 0px 0px;
  background-color: transparent;
  border-radius: 0px;
  flex-direction: row;
  gap: 0px;
  justify-content: space-between;
  height: 73px;
}
.rightmenu .list label {
  width: 100%;
}
.scoring {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 57px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  gap: 3px;
}
.scoring .tag {
  font-size: 8px;
  line-height: 12px;
  text-align: center;
}
.value {
  font-size: 22px;
  text-align: center;
  justify-content: center;
}
.rightmenu img {
  height: 25px
}
.rightmenu p {
  font-size: 13px;
  margin: 0px;
  padding: 8px 0px;
}
.list {
  display: flex;
  align-items: center;

  justify-content: space-between;
  padding: 5px 12px;
  background-color: #d9d9d9;
  border-radius: 8px;
}
.activities label {
  color: #152536;
  font-size: 11px;
  font-weight: 500;
}

.stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 0px solid #b5b5b5;
  border-right: 0px solid #b5b5b5;
  padding: 0px 12px;
  height: 25px;
}
@media only screen and (max-width: 1300px) {
  .uppermenu .actions {
    display: none
  }
}
@media only screen and (max-width: 1200px) {

  .uppermenu .team {
    display: none
  }

}
.productname {
  height: 26px;
  display: flex;
  flex-direction: column;
  width: 95px;
}
.producttag label.tag {
  height: 14px;
  color: #6553bd;
  font-size: 9px;
  font-weight: 400;
  line-height: 10px;
}
.round.blue {
  background-color: rgb(241,154,51);
  color: #fff;
}
.menu a {
  padding: 7px 15px;
  border: 0px solid;
    border-bottom-width: 0px;
    border-bottom-style: solid;
    border-bottom-color: currentcolor;
  border-bottom-width: 0px;
  border-bottom-style: solid;
  border-bottom-color: currentcolor;
  border-bottom-width: 0px;
  border-bottom-style: solid;
  border-bottom-color: currentcolor;
  font-weight: 500;
  text-align: center;
  font-size: 13px;
}
.menu a.active {
  border-bottom: 1.5px solid #000;
}
.round {
  background-color: #696969;
  width: 32px;
  text-align: center;
  border-radius: 35px;
  font-size: 13px;
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.team label {
  color: #152536;
  font-size: 10px;
  font-weight: 500;
}
.lowermenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 20px;
  background-color: #f5f5f5;
  border-radius: 15px;
  width: 100%;
  height: 50px;
}
#main {
  display: flex;
  row-gap: 1em;
  flex-wrap: wrap;
  column-gap: 2em;
  justify-content: space-between;
  hyphens: none;
  margin-top: 20px;
}
.branch-selector .producttag label.tag {
  height: 16px;
  color: #6553bd;
  font-size: 11px;
  font-weight: 400;
  line-height: 10px;
}
.branch-selector .producttag {
  display: flex;
  flex-direction: row;
  gap: 5px;
  min-width: 127px;
  align-items: center;
  height: 50px;
}
.branch-selector a {
    width: 100px;
    background-color: #000;
    color: #fff;
    border: 0px;
    border-radius: 8px;
    font-size: 13px;
    height: 30px;
    line-height: 30px;
  text-align: center
}
.branch-selector .account img {
  width: 30px;
}
.branch-selector .account {
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  border-right: 1px solid #b5b5b5;
  height: 48px;
  min-width: 230px;
}
.branch-selector .productname {
  height: 40px;
  display: flex;
  flex-direction: column;
  width: 135px;
  justify-content: center;
}
.uppermenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 90px;
  background-color: #fff;
  border-radius: 0px;
  width: 100%;
  height: 55px;
  gap: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  z-index: 10;
  border: 0px solid #c8c8c8;
  justify-content: space-between;
}
.account {
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  border-right: 1px solid #b5b5b5;
  height: 32px;
  min-width: 180px;
}
.producttag {
  display: flex;
  flex-direction: row;
  gap: 5px;
  min-width: 90px;
  align-items: center;
}
.producttag label {
  height: 12px;
  color: #152536;
  font-size: 9px;
  font-weight: 500;
  line-height: 10px;
  min-width: 70px;
}
.team {
  width: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.menu {
  width: calc(100%);
  align-items: center;
  display: flex;
}
.lowermenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 15px;
  width: 100%;
  height: 50px;
}
.maincolumns {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.mainview {
  display: flex;
  flex-direction: row;
  padding: 10px 35px;
  background-color: #f5f5f5;
  border-radius: 0px;
  width: 100%;
  min-height: calc(100vh - 88px);
  box-shadow: none;
}
.rightmenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 15px;
  width: 175px;
  min-height: calc(100vh - 160px);
  gap: 7px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  z-index: 1;
}
.branch-selector .name {
  font-size: 15px;
  color: #08011E;
  margin-left: 0px;
  margin-top: 0px;
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uppermenu .name {
  font-size: 12px;
  color: #08011E;
  margin-left: 0px;
  margin-top: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account img {
  width: 20px;
}

/* -------------------------------------------
   Decision-Stage Farbanpassung nach Status
   ------------------------------------------- */
.grid-box .Decision.declined,
.grid-box .decision.declined,
.grid-box .Finalized.declined,
.grid-box .finalized.declined {
  background-color: #ff4a59 !important;
  color: #ffffff !important;
}
.grid-box .Decision.pending,
.grid-box .decision.pending {
  background-color: #ffc83d !important;
  color: #414141 !important;
}
.grid-box .Decision.change-request,
.grid-box .decision.change-request {
  background-color: #ff5c11 !important;
  color: #ffffff !important;
}

/* ========================================
   GRID BOX CONTENT VERBESSERUNGEN - V1.2
   ======================================== */

.grid-box .name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  cursor: pointer;
}

.grid-box .description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
}

.grid-box .hashtags {
  font-size: 12px;
  color: #007bff;
  margin-bottom: 8px;
  cursor: pointer;
}

.grid-box .confidentiality {
  margin-bottom: 8px;
}

.grid-box .assignedlabel {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.grid-box .merge {
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content !important;
}

.grid-box .merge:hover {
  background: #0056b3;
}
