/*
  German in Context — Dashboard, Warm Night V1
  Night mode only (html[data-gic-theme="dark"]). Additive layer: load AFTER the existing dashboard CSS.
  What it does:
   1. one card family (green gradient + gold hairline + soft depth)
   2. one filled gold CTA (Start review); every other CTA is a gold outline
   3. slim one-line Premium banner
   4. Personal Notes: no card-in-card; reminder link becomes a pill with a status dot
   5. brighter labels, larger stat numbers
   6. press feedback on cards and buttons
  Flat selectors (no CSS nesting) so it works on any current browser.
*/
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-hero,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-resume,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-accordion,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-compact-success{
  background:linear-gradient(150deg,#21392f 0%,#182d24 100%)!important;
  border:1px solid rgba(214,178,90,.17)!important;
  border-radius:22px!important;
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 12px 28px rgba(0,0,0,.30)!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-accordion[open]>summary{
  background:rgba(214,178,90,.07)!important;border-color:transparent!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-accordion-body{
  background:transparent!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-primary-card{
  border:1px solid rgba(214,178,90,.30)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 18px 38px rgba(0,0,0,.36),0 0 0 1px rgba(214,178,90,.06)!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-primary-button{
  background:linear-gradient(180deg,#f3dc95 0%,#d3ab50 100%)!important;
  color:#173a30!important;
  -webkit-text-fill-color:#173a30!important;
  font-weight:700!important;
  border:0!important;
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 10px 22px rgba(120,88,24,.35)!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-resume-cta,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-daily-moment-button.gic-daily-moment-listen,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-notes-last-slot [data-gic-notes-start="true"],
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-cta{
  background:rgba(214,178,90,.10)!important;
  color:#e8cd85!important;
  -webkit-text-fill-color:#e8cd85!important;
  border:1px solid rgba(214,178,90,.45)!important;
  box-shadow:none!important;
  font-weight:700!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-main-column > .gic-dp-notes-last-slot[data-gic-notes-end-slot]{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-notes-last-slot > [data-gic-notes-relocated="true"],
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-dashboard{
  background:linear-gradient(150deg,#21392f 0%,#182d24 100%)!important;
  border:1px solid rgba(214,178,90,.22)!important;
  border-radius:22px!important;
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 12px 28px rgba(0,0,0,.30)!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-reminder-toggle{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  margin-top:9px!important;
  padding:6px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(214,178,90,.35)!important;
  background:rgba(214,178,90,.10)!important;
  color:#e8cd85!important;
  -webkit-text-fill-color:#e8cd85!important;
  font-size:12px!important;
  font-weight:600!important;
  text-decoration:none!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-reminder-toggle::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#e8cd85;
  box-shadow:0 0 0 3px rgba(232,205,133,.18);
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-reminder-toggle[aria-pressed="false"]::before{
  background:transparent;
  border:1.5px solid #e8cd85;
  box-shadow:none;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 14px!important;
  border-radius:20px!important;
  background:linear-gradient(120deg,#2c2b1f 0%,#1e3228 100%)!important;
  border:1px solid rgba(214,178,90,.30)!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library > div{
  min-width:0;flex:1 1 auto;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library strong{
  display:block;font-size:13.5px!important;line-height:1.25;white-space:normal;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library small{
  display:none!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library-icon{
  flex:0 0 34px;width:34px!important;height:34px!important;
  display:grid!important;place-items:center;
  border-radius:11px!important;
  background:linear-gradient(180deg,#f3dc95,#c9a24a)!important;
  color:#173a30!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library a{
  flex:0 0 auto;
  margin:0 0 0 auto!important;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(214,178,90,.45);
  background:rgba(214,178,90,.10);
  color:#e8cd85!important;
  font-size:12px;font-weight:700;
  white-space:nowrap;
  text-decoration:none;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-editorial-kicker,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-resume-kicker,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-primary-copy .gic-dp-eyebrow,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-mini-kicker{
  color:#e0c47b!important;letter-spacing:.14em;font-weight:700;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-hero .gic-dp-eyebrow{
  color:#b3c9b9!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat-label{
  color:#c3d6c9!important;font-weight:700;letter-spacing:.12em;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat strong{
  font-size:clamp(31px,8.6vw,38px)!important;line-height:1.05!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat small{
  color:#b9cdbe!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-summary-icon{
  background:rgba(214,178,90,.14)!important;
  border:1px solid rgba(214,178,90,.30)!important;
  color:#e8cd85!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-summary-badge{
  background:rgba(214,178,90,.14)!important;
  border:1px solid rgba(214,178,90,.32)!important;
  color:#ecd48f!important;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-accordion>summary,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-resume-cta,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-primary-button,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library a,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-cta,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-reminder-toggle,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-daily-moment-button{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:transform .15s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,filter .2s ease;
}

html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-stat:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-accordion>summary:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-resume-cta:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-primary-button:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-dp-premium-library a:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-cta:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-pr-reminder-toggle:active,
html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial .gic-daily-moment-button:active{
  transform:scale(.975)!important;filter:brightness(.97);
}

@media (prefers-reduced-motion:reduce){
  html[data-gic-theme="dark"] body .gic-dashboard-editorial.gic-dashboard-editorial *{transition:none!important}
}
