/* V0.11.1 — präziser, reduzierter Software-Look nach der Seitenwacht-Vorlage */
:root {
  --ui-border: #e6eaf3;
  --ui-subtle: #f9faff;
  --ui-navy: #0b143b;
  --ui-navy-2: #111d52;
  --ui-blue: #4456e8;
}

body.app-body {
  background: #fbfcff;
  font-feature-settings: "ss01" 1,"cv11" 1;
}
.app-layout { grid-template-columns: 232px minmax(0,1fr); }
.app-sidebar {
  width: 232px;
  padding: 19px 15px 17px;
  background:
    linear-gradient(145deg,transparent 68%,rgba(89,72,222,.18) 68.2%,rgba(89,72,222,.06) 100%),
    linear-gradient(165deg,#121d50 0%,#0b143b 58%,#09102e 100%);
  box-shadow: none;
}
.brand-lockup {
  height: 54px;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 9px;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}
.brand-lockup:hover { background: rgba(255,255,255,.035); }
.brand-lockup img.sidebar-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-lockup > span { display: grid; color: #fff; font-size: 18px; font-weight: 760; letter-spacing: -.035em; line-height: 1.1; }
.brand-lockup > span small { margin-top: 5px; color: #8f9ace; font-size: 7px; font-weight: 700; letter-spacing: .2em; }
.sidebar-label { margin: 31px 11px 10px; color: #7f8abf; font-size: 9px; letter-spacing: .24em; }
.side-nav { gap: 4px; }
.side-nav a {
  min-height: 43px;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #bbc4e8;
  font-size: 13px;
  font-weight: 560;
}
.side-nav a:hover { transform: none; background: rgba(255,255,255,.045); }
.side-nav a.active {
  border-color: rgba(113,126,255,.17);
  background: linear-gradient(100deg,rgba(67,84,213,.52),rgba(59,66,163,.2));
  box-shadow: none;
}
.nav-icon { width: 25px; height: 25px; border: 0; border-radius: 6px; }
.nav-icon svg,.kpi-icon svg,.topbar-bell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.side-nav a.active .nav-icon { border: 0; background: rgba(255,255,255,.08); }
.sidebar-foot { padding: 14px 9px 0; border-top-color: rgba(255,255,255,.065); }
.sidebar-foot strong { font-size: 12px; font-weight: 650; }
.sidebar-foot small { color: #7f8abf; font-size: 9px; }

.app-workspace { position: relative; grid-column: 2; isolation: isolate; }
.app-workspace:before,.app-workspace:after { position: fixed; z-index: -1; pointer-events: none; content: ""; }
.app-workspace:before {
  top: 0;
  right: 0;
  width: min(52vw,760px);
  height: 350px;
  opacity: .62;
  background: linear-gradient(135deg,transparent 23%,rgba(59,130,246,.04) 23.2%,rgba(59,130,246,.018) 52%,transparent 52.2%);
  clip-path: polygon(22% 0,100% 0,100% 86%,64% 42%,46% 65%,0 22%);
}
.app-workspace:after {
  top: 0;
  right: 6%;
  width: 460px;
  height: 220px;
  border-right: 1px solid rgba(68,86,232,.055);
  border-bottom: 1px solid rgba(68,86,232,.055);
  transform: skewX(-38deg);
}
.app-topbar {
  height: 64px;
  gap: 14px;
  padding: 0 clamp(24px,3.5vw,52px);
  border-bottom-color: rgba(229,233,244,.78);
  background: rgba(251,252,255,.82);
  box-shadow: none;
}
.topbar-status { color: #6f7892; font-size: 11px; font-weight: 600; }
.topbar-bell { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid transparent; border-radius: 50%; color: #69738e; }
.topbar-bell:hover { border-color: var(--ui-border); background: #fff; color: var(--indigo); }
.topbar-bell svg { width: 17px; height: 17px; }
.account-button span { width: 32px; height: 32px; background: var(--ui-navy); font-size: 11px; box-shadow: none; }
.account-button i { font-size: 11px; }

main,.app-main { max-width: 1420px; padding: 32px clamp(24px,3.5vw,52px) 76px; }
.app-main > section { margin-bottom: 31px; }
.app-footer { padding-top: 19px; padding-bottom: 19px; font-size: 10px; letter-spacing: .04em; }
h1 { letter-spacing: -.047em; }
h2 { font-size: 21px; letter-spacing: -.035em; }
.eyebrow { margin-bottom: 6px; color: #7381a7; font-size: 9px; letter-spacing: .28em; }
.dashboard-heading,.page-head { margin-bottom: 20px; }
.dashboard-heading h1 { margin: 3px 0 4px; font-size: clamp(30px,3vw,39px); }
.dashboard-heading > div:first-child > p:last-child,.page-head p { font-size: 13px; }
.page-head h1 { margin-top: 3px; font-size: clamp(30px,3.4vw,41px); }
.dashboard-actions,.actions { gap: 8px; }
button,.button { min-height: 39px; padding: 9px 15px; border-radius: 6px; font-size: 12px; box-shadow: none; }
button:hover,.button:hover { transform: translateY(-1px); box-shadow: 0 7px 17px rgba(30,42,138,.12); }
button.secondary,.button.secondary { border-color: #dfe4f0; box-shadow: none; }

.status-ribbon {
  min-height: 54px;
  gap: 12px;
  margin-bottom: 15px !important;
  padding: 10px 14px;
  border-color: var(--ui-border);
  border-radius: 8px;
  box-shadow: none;
}
.status-ribbon.active { border-color: #d9eee6; background: rgba(247,253,250,.9); }
.status-ribbon strong { font-size: 12px; font-weight: 670; }
.status-ribbon small,.status-ribbon a { font-size: 10px; }
.status-ribbon.active .pulse-dot { box-shadow: 0 0 0 4px rgba(32,169,121,.1); }

.primary-kpis { gap: 10px; }
.primary-kpis > a {
  min-height: 111px;
  gap: 10px;
  padding: 15px;
  border-color: var(--ui-border);
  border-radius: 8px;
  box-shadow: none;
}
.primary-kpis > a:after { display: none; }
.primary-kpis > a:hover { transform: translateY(-1px); border-color: #cfd6ec; box-shadow: 0 9px 25px rgba(21,32,88,.06); }
.primary-kpis small { color: #77819a; font-size: 10px; font-weight: 650; }
.primary-kpis strong { margin-top: 4px; font-size: 27px; letter-spacing: -.045em; }
.primary-kpis p { margin-top: 5px; color: #9098aa; font-size: 10px; }
.primary-kpis b { font-size: 14px; }
.kpi-icon { width: 32px; height: 32px; border-radius: 6px; }
.kpi-icon svg { width: 17px; height: 17px; }

.dashboard-grid { grid-template-columns: minmax(0,1.72fr) minmax(280px,.7fr); gap: 15px; }
.section-title-row { margin-bottom: 10px; }
.section-title-row > a,.section-title-meta > a { font-size: 10px; }
.site-status-list,.health-summary { border-color: var(--ui-border); border-radius: 8px; box-shadow: none; }
.site-status-list > a { min-height: 61px; gap: 10px; padding: 9px 13px; border-bottom-color: #eef1f6; }
.site-status-list div strong { font-size: 12px; font-weight: 670; }
.site-status-list div small,.site-meta { font-size: 9px; }
.site-avatar { width: 30px; height: 30px; border: 0; background: #f0f2ff; font-size: 10px; }
.health-summary a { min-height: 69px; padding: 10px 13px; border-color: #eef1f6; }
.health-summary span { font-size: 9px; }
.health-summary strong { margin-top: 2px; font-size: 20px; }
.mailbox-mini { gap: 10px; margin-top: 10px; padding: 13px; border-color: var(--ui-border); border-radius: 8px; background: rgba(255,255,255,.96); }
.mailbox-mini > span { width: 31px; height: 31px; font-size: 11px; }
.mailbox-mini strong { font-size: 11px; }
.mailbox-mini p,.mailbox-mini a { font-size: 9px; }

.panel,.site-card,.form-card,.history article,.problem-list article,.recovery-list article,.redirect-list article,.visual-card {
  border-color: var(--ui-border);
  border-radius: 8px;
  box-shadow: none;
}
.panel { margin: 16px 0 29px; padding: 20px; }
.site-card,.form-card { padding: 17px; }
.site-card:hover,.form-card:hover { border-color: #cfd6eb; box-shadow: 0 9px 25px rgba(21,32,88,.055); }
.site-card p,.form-card p,.site-card>span,.form-card>span { font-size: 11px; }
.table { border-color: var(--ui-border); border-radius: 8px; box-shadow: none; }
.tr { min-height: 51px; padding: 10px 13px; border-bottom-color: #eef1f6; font-size: 11px; }
.head { min-height: 37px; font-size: 9px; letter-spacing: .1em; }
.badge,.type { padding: 4px 7px; font-size: 8px; letter-spacing: .055em; }
.alert,.verified { border-radius: 7px; padding: 11px 14px; font-size: 12px; }
.page-tabs { gap: 2px; padding: 4px; border-color: var(--ui-border); border-radius: 8px; box-shadow: none; }
.page-tabs a { padding: 9px 11px; border-radius: 5px; font-size: 10px; }
.page-tabs a.active { background: var(--indigo); box-shadow: none; }
.result-tabs a,.filter-bar a,.report-tabs a,.result-website-tabs a { font-size: 10px; }
label { font-size: 11px; }
input,select { min-height: 39px; }
input,select,textarea { border-color: #dfe4ee; border-radius: 6px; font-size: 12px; }
.setting-group,.danger-zone { border-radius: 7px; }
.visual-card > header { padding: 13px 15px; }
.screenshot-link { border-radius: 6px; }
.history article,.problem-list article,.recovery-list article,.redirect-list article { padding: 15px; }
.empty { padding: 28px; border-radius: 8px; font-size: 12px; }
.login-panel { padding: 36px; border-color: var(--ui-border); border-radius: 11px; box-shadow: 0 26px 70px rgba(20,31,92,.11); }
.login-panel:before { height: 3px; }

@media (max-width:1180px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width:900px) {
  .app-layout { display: block; }
  .app-workspace { min-width: 0; }
  .app-workspace:before,.app-workspace:after { display: none; }
  .app-topbar { min-height: 64px; }
}
@media (max-width:680px) {
  main,.app-main { padding: 22px 15px 58px; }
  .dashboard-heading h1,.page-head h1 { font-size: 31px; }
  .primary-kpis > a { min-height: 96px; }
  .status-ribbon { padding: 11px 12px; }
  .panel { padding: 16px; }
  .site-status-list > a { min-height: 58px; }
}
