/* ============================================================
   AI Master — Szkolenie Toruń 22–30.04.2026
   Design system: minimal, editorial, projector-ready
   Prowadzący: Tadeusz Kowalski
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- TOKENS: LIGHT (default) ---------- */
:root,
[data-theme="light"] {
  --bg:              #ffffff;
  --bg-subtle:       #fafafa;
  --bg-elevated:     #f4f4f5;
  --border:          #e4e4e7;
  --border-strong:   #d4d4d8;
  --text:            #18181b;
  --text-muted:      #52525b;
  --text-dim:        #a1a1aa;

  --accent:          #4f46e5;
  --accent-hover:    #4338ca;
  --accent-soft:     #eef2ff;
  --accent-contrast: #ffffff;

  --warning:         #b45309;
  --danger:          #b91c1c;
  --success:         #047857;

  --shadow-sm: 0 1px 2px rgba(24,24,27,0.04);
  --shadow-md: 0 4px 12px rgba(24,24,27,0.06), 0 1px 3px rgba(24,24,27,0.04);
  --shadow-lg: 0 12px 32px rgba(24,24,27,0.10), 0 2px 6px rgba(24,24,27,0.05);

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-md:   16px;
  --fs-lg:   18px;
  --fs-xl:   20px;
  --fs-2xl:  24px;
  --fs-3xl:  32px;
  --fs-4xl:  48px;

  --ff-sans: "IBM Plex Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --container: 1200px;
  --sidebar-w: 260px;
  --header-h:  64px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- TOKENS: DARK ---------- */
[data-theme="dark"] {
  --bg:              #0a0a0b;
  --bg-subtle:       #131316;
  --bg-elevated:     #1c1c1f;
  --border:          #27272a;
  --border-strong:   #3f3f46;
  --text:            #e4e4e7;
  --text-muted:      #a1a1aa;
  --text-dim:        #71717a;

  --accent:          #818cf8;
  --accent-hover:    #a5b4fc;
  --accent-soft:     rgba(129,140,248,0.10);
  --accent-contrast: #0a0a0b;

  --warning:         #d97706;
  --danger:          #ef4444;
  --success:         #10b981;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body { background: var(--bg); color: var(--text); }
html, body { transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-md);
  line-height: 1.65;
  min-height: 100vh;
  font-feature-settings: "cv11", "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--accent-soft); color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}
.brand:hover { color: var(--text); }

.brand-logo {
  width: 32px;
  height: 32px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.brand-text { line-height: 1.2; }
.brand-title { font-size: var(--fs-base); font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 400; }

/* ---------- NAV ---------- */
.main-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.nav-link.active {
  color: var(--text);
  background: var(--bg-elevated);
}

.nav-link .day-num {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  margin-right: 6px;
}

.nav-link.active .day-num {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ---------- HEADER TOOLS ---------- */
.header-tools { display: flex; gap: 4px; align-items: center; }

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}
.tool-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}
.tool-btn svg { width: 14px; height: 14px; }

.tool-btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.tool-btn.primary:hover {
  background: var(--text-muted);
  border-color: var(--text-muted);
  color: var(--bg);
}

/* ---------- CONTAINER / HERO ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
}

.hero {
  padding: 64px 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(32px, 4vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 760px;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- DAY GRID ---------- */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.day-card {
  display: block;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}

.day-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.day-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.day-num-big {
  font-family: var(--ff-mono);
  font-size: var(--fs-3xl);
  font-weight: 500;
  line-height: 1;
  color: var(--text-dim);
  letter-spacing: -0.02em;
}

.day-date {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
}

.day-card h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.day-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.day-card-topics {
  list-style: none;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.day-card-topics li {
  padding: 3px 0 3px 16px;
  color: var(--text-muted);
  position: relative;
}

.day-card-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--text-dim);
}

/* ---------- DAY PAGE LAYOUT ---------- */
.day-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 48px;
  align-items: start;
}

.day-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 0;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.day-sidebar::-webkit-scrollbar { width: 4px; }
.day-sidebar::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.sidebar-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
  padding: 0 12px;
}

.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 1px; }

.sidebar-list a {
  display: block;
  padding: 7px 12px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: all 0.12s var(--ease);
}

.sidebar-list a:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.sidebar-list a.active {
  color: var(--text);
  background: var(--bg-subtle);
  border-left-color: var(--accent);
  font-weight: 500;
}

.time-badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
  margin-right: 8px;
}

/* ---------- DAY HEADER ---------- */
.day-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.day-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.day-header h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.day-header .subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 720px;
}

/* ---------- BLOCK ---------- */
.block {
  padding: 0;
  margin-bottom: 48px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.block + .block { padding-top: 32px; border-top: 1px solid var(--border); }

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.block-title-wrap { flex: 1; min-width: 280px; }

.block-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.block h2 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.block-time {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.block h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 32px 0 12px;
}

.block h4 {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}

.block p { margin-bottom: 12px; color: var(--text); }
.block p + p { margin-top: -4px; }

.block ul, .block ol { margin: 12px 0 16px 20px; }
.block li { margin-bottom: 4px; color: var(--text); }
.block li::marker { color: var(--text-dim); }

.block a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.block a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

.block strong { font-weight: 600; color: var(--text); }
.block em { font-style: italic; color: var(--text-muted); }

/* ---------- SECTION BOXES ---------- */
.box {
  position: relative;
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-left: 2px solid var(--border-strong);
  border-radius: var(--radius);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.box p:last-child, .box ul:last-child, .box ol:last-child { margin-bottom: 0; }

.box-goal       { border-left-color: var(--accent); }
.box-goal       .box-title { color: var(--accent); }

.box-exercise   { border-left-color: var(--text); }
.box-exercise   .box-title { color: var(--text); }

.box-warning    { border-left-color: var(--warning); }
.box-warning    .box-title { color: var(--warning); }

.box-trainer    { border-left-color: var(--success); }
.box-trainer    .box-title { color: var(--success); }

.box-demo       { border-left-color: var(--danger); }
.box-demo       .box-title { color: var(--danger); }

/* ---------- PROMPT BLOCK ---------- */
.prompt-block {
  margin: 16px 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: transparent;
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.prompt-label { font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.copy-btn {
  padding: 3px 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.12s var(--ease);
}
.copy-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}
.copy-btn.copied {
  color: var(--success);
  border-color: var(--success);
  background: var(--bg);
}

.prompt-body {
  padding: 16px 18px;
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* ---------- TABLES ---------- */
.block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: var(--fs-sm);
}

.block thead { border-bottom: 1px solid var(--border-strong); }

.block th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: transparent;
}

.block td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.block tr:last-child td { border-bottom: none; }
.block tr:hover td { background: var(--bg-subtle); }

/* ---------- TIMELINE ---------- */
.timeline {
  margin: 20px 0;
  border-left: 1px solid var(--border);
  padding-left: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 20px;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-time {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.timeline-content { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.55; }
.timeline-content strong { color: var(--text); font-weight: 600; }

/* ---------- Q&A ---------- */
.qa-item {
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.qa-item:last-child { border-bottom: none; }

.qa-q {
  font-weight: 600;
  color: var(--text);
  font-size: var(--fs-md);
  margin-bottom: 6px;
  line-height: 1.5;
}
.qa-q::before {
  content: "Q.";
  display: inline-block;
  font-family: var(--ff-mono);
  font-weight: 500;
  color: var(--text-dim);
  margin-right: 8px;
  width: 20px;
}

.qa-a {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.6;
}
.qa-a::before {
  content: "A.";
  display: inline-block;
  font-family: var(--ff-mono);
  font-weight: 500;
  color: var(--accent);
  margin-right: 8px;
  width: 20px;
}

/* ---------- UTILITIES ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 2px 2px 2px 0;
}

.chip-accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

/* ---------- DAY NAV SWITCH ---------- */
.nav-day-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 64px 0 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.nav-day-switch a {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav-day-switch a:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text);
}

.nav-day-switch .dir {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-day-switch .title { font-weight: 600; margin-top: 4px; font-size: var(--fs-md); }
.nav-day-switch .next { text-align: right; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 96px;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-inner a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-inner a:hover { color: var(--accent); }

/* ============================================================
   PRESENTATION MODE
   ============================================================ */
body.presentation { overflow: hidden; }
body.presentation .site-header,
body.presentation .site-footer,
body.presentation .container,
body.presentation .day-layout,
body.presentation .nav-day-switch { display: none !important; }

.slide-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  color: var(--text);
  z-index: 900;
  flex-direction: column;
}
body.presentation .slide-viewer { display: flex; }

.slide-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.slide-top-left { display: flex; align-items: center; gap: 16px; }
.slide-top-right { display: flex; align-items: center; gap: 8px; }

.slide-badge {
  padding: 3px 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slide-body {
  flex: 1;
  overflow-y: auto;
  padding: 64px 96px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  scroll-behavior: smooth;
  animation: slide-in 0.35s var(--ease);
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-body h1,
.slide-body .slide-title-big {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--text);
}

.slide-body h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}

.slide-body h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 28px 0 16px;
  color: var(--text);
}

.slide-body h4 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  margin: 16px 0 8px;
}

.slide-body p,
.slide-body li {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.55;
  margin-bottom: 12px;
  color: var(--text);
}

.slide-body ul, .slide-body ol { margin: 16px 0 16px 28px; }

.slide-body table { font-size: clamp(16px, 1.3vw, 20px); }
.slide-body table th, .slide-body table td { padding: 14px 16px; }

.slide-body .box { padding: 20px 24px; margin: 24px 0; }
.slide-body .box p, .slide-body .box li { font-size: clamp(18px, 1.4vw, 22px); }
.slide-body .box-title { font-size: var(--fs-sm); }

.slide-body .prompt-body { font-size: clamp(14px, 1.1vw, 17px); padding: 24px; }
.slide-body .prompt-head { font-size: var(--fs-sm); padding: 12px 18px; }

.slide-body .block-eyebrow { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 16px; }
.slide-body .block-time { font-size: var(--fs-sm); padding: 6px 14px; margin-top: 12px; }

.slide-body > *:first-child { margin-top: 0; }

.slide-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.slide-progress {
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.slide-nav { display: flex; gap: 8px; }

.slide-counter {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
}

.kbd-hint {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
.kbd-hint kbd { font-size: 10px; padding: 1px 5px; }

/* ============================================================
   AI PANEL
   ============================================================ */
.ai-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  max-height: 70vh;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 950;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-radius 0.25s var(--ease);
}

.ai-panel.collapsed {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--text);
  border-color: var(--text);
}

.ai-panel.collapsed .ai-head-content,
.ai-panel.collapsed .ai-body,
.ai-panel.collapsed .ai-input-row,
.ai-panel.collapsed .ai-settings,
.ai-panel.collapsed .ai-head-buttons { display: none; }

.ai-panel.collapsed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' y1='19' x2='12' y2='22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

[data-theme="dark"] .ai-panel.collapsed {
  background: var(--text);
  border-color: var(--text);
}

.ai-panel.collapsed.listening {
  background: var(--danger);
  border-color: var(--danger);
  animation: ai-pulse 1.4s infinite;
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

/* Pierścienie nasłuchiwania — widoczne że słucha */
.ai-panel.collapsed.listening::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  opacity: 0.5;
  animation: ai-ring 1.8s ease-out infinite;
}

@keyframes ai-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 60%, transparent); }
  70%  { box-shadow: 0 0 0 20px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@keyframes ai-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Gdy asystent mówi — niebieska obwódka */
.ai-panel.collapsed.speaking {
  background: var(--accent);
  border-color: var(--accent);
}
.ai-panel.collapsed.speaking::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3C/svg%3E");
}

.ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.ai-head-content { display: flex; align-items: center; gap: 10px; }
.ai-title { font-weight: 600; font-size: var(--fs-sm); letter-spacing: -0.01em; }

.ai-status {
  padding: 2px 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.ai-status.live {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 40%, var(--border));
}

.ai-status.listening {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, var(--border));
  animation: pulse-soft 1.2s infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.ai-head-buttons { display: flex; gap: 2px; }

.icon-btn {
  padding: 4px 6px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1;
  transition: all 0.12s var(--ease);
}
.icon-btn:hover { background: var(--bg-elevated); color: var(--text); }

.ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--fs-sm);
  min-height: 180px;
}

.ai-body::-webkit-scrollbar { width: 4px; }
.ai-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.ai-msg {
  padding: 9px 12px;
  border-radius: var(--radius);
  max-width: 92%;
  line-height: 1.55;
  word-wrap: break-word;
  font-size: var(--fs-sm);
}

.ai-msg-user {
  background: var(--text);
  color: var(--bg);
  align-self: flex-end;
  border-radius: var(--radius) var(--radius) 2px var(--radius);
}

.ai-msg-bot {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-radius: var(--radius) var(--radius) var(--radius) 2px;
}

.ai-msg-system {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  padding: 4px 10px;
  align-self: center;
  letter-spacing: 0.04em;
}

.ai-msg-bot .speak-again {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.ai-msg-bot .speak-again:hover { color: var(--text); border-color: var(--border-strong); }

.ai-input-row {
  display: flex;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
  align-items: center;
}

.ai-input {
  flex: 1;
  padding: 8px 12px;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s var(--ease);
}
.ai-input::placeholder { color: var(--text-dim); }
.ai-input:focus { border-color: var(--accent); background: var(--bg); }

.mic-btn {
  width: 32px;
  height: 32px;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.15s var(--ease);
}
.mic-btn:hover { background: var(--bg-elevated); border-color: var(--border-strong); }
.mic-btn.on {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
  animation: pulse-soft 1s infinite;
}

.send-btn {
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: all 0.15s var(--ease);
}
.send-btn:hover { background: var(--text-muted); border-color: var(--text-muted); }
.send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.ai-settings {
  display: none;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.ai-settings.open { display: block; }

.ai-settings label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-settings input, .ai-settings select {
  width: 100%;
  padding: 6px 10px;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  outline: none;
}
.ai-settings input:focus, .ai-settings select:focus { border-color: var(--accent); }

.ai-settings .hint { font-size: 11px; color: var(--text-dim); line-height: 1.55; }
.ai-settings a { color: var(--accent); text-decoration: underline; }

/* Voice toast */
.voice-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 999px;
  z-index: 1000;
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toast-up 0.25s var(--ease);
}

@keyframes toast-up {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

body.presentation .ai-panel { bottom: 72px; }

/* ============ ROZSZERZONY PANEL AI ============ */
.ai-mode-badge {
  padding: 2px 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-panel { max-height: 85vh; width: 420px; }
.ai-panel.collapsed { max-height: 48px; }

.ai-settings { padding: 0; max-height: 60vh; overflow-y: auto; }
.ai-settings::-webkit-scrollbar { width: 4px; }
.ai-settings::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

/* Taby */
.settings-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 2;
}
.tab-btn {
  flex: 1;
  padding: 10px 8px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.tab-btn:hover { color: var(--text); background: var(--bg-subtle); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--bg); }

.tab-content { padding: 14px; }
.tab-content.hidden { display: none; }

.tab-content hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: var(--fs-sm);
  color: var(--text);
  cursor: pointer;
  line-height: 1.45;
}
.check-line input[type="checkbox"] { width: auto; margin: 3px 0 0; flex-shrink: 0; }
.check-line span { color: var(--text); font-weight: 400; text-transform: none; letter-spacing: 0; }

.radio-row {
  display: flex;
  gap: 16px;
  margin: 4px 0 12px;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  margin: 0;
}
.radio-row input[type="radio"] { width: auto; margin: 0; }

/* Edytor brygady */
.brygada-editor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.brygada-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}
.brygada-card[open] { border-color: var(--border-strong); }

.brygada-card > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: var(--bg-subtle);
}
.brygada-card > summary::-webkit-details-marker { display: none; }
.brygada-card > summary::before {
  content: "▸";
  color: var(--text-dim);
  font-size: 10px;
  transition: transform 0.15s var(--ease);
}
.brygada-card[open] > summary::before { transform: rotate(90deg); }

.agent-emoji { font-size: 18px; }
.agent-name { font-weight: 600; color: var(--text); font-size: var(--fs-sm); }
.agent-role { color: var(--text-muted); font-size: 12px; margin-left: auto; }

.brygada-fields {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.brygada-fields label {
  margin-top: 8px;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}
.brygada-fields label:first-child { margin-top: 0; }
.brygada-fields input, .brygada-fields textarea, .brygada-fields select {
  width: 100%;
  padding: 6px 10px;
  font-family: var(--ff-sans);
  font-size: 12px;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  margin: 0;
}
.brygada-fields input:focus, .brygada-fields textarea:focus, .brygada-fields select:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.brygada-fields textarea { font-family: var(--ff-sans); line-height: 1.45; }

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.row-2 > div { display: flex; flex-direction: column; }

.brygada-fields button {
  margin-top: 10px;
  align-self: flex-start;
}

/* Ukrycie */
.hidden { display: none !important; }

/* Pływający przycisk STOP — pojawia się zawsze gdy Tymek mówi */
#floating-stop {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(239,68,68,0.5);
  letter-spacing: 0.5px;
  transition: transform 0.1s, box-shadow 0.1s;
}
#floating-stop:hover { transform: translateX(-50%) scale(1.05); box-shadow: 0 6px 32px rgba(239,68,68,0.7); }
#floating-stop:active { transform: translateX(-50%) scale(0.97); }

/* Mic button variant - outline kiedy off */
.mic-btn {
  position: relative;
}
.mic-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.mic-btn.on::after { border-color: var(--danger); animation: mic-ring 1.5s infinite; }
@keyframes mic-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ============ ODTWARZACZ AUDIOBOOK (Naucz mnie) ============ */
.audiobook-player {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 360px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 960;
  padding: 16px;
  font-size: var(--fs-sm);
}
.audiobook-player.hidden { display: none; }

.ap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ap-chef {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.ap-title {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 36px;
}

.ap-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ap-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.ap-btn:hover { background: var(--bg-elevated); border-color: var(--border-strong); }
.ap-btn.play {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-size: 16px;
}
.ap-btn.play:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.ap-speed {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  background: var(--bg-elevated);
  border-radius: 6px;
}
.speed-btn {
  padding: 4px 8px;
  font-size: 11px;
  font-family: var(--ff-mono);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.speed-btn:hover { color: var(--text); }
.speed-btn.active { background: var(--bg); color: var(--accent); }

.ap-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.ap-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s linear;
}
.ap-time {
  text-align: right;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Lista rozdziałów w zakładce Naucz mnie */
.teacher-chapter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  line-height: 1.35;
}
.teacher-chapter.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.teacher-chapter > span {
  color: var(--text);
  font-size: 12px;
  flex: 1;
}
.teacher-chapter .tool-btn {
  padding: 3px 10px;
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .day-layout { grid-template-columns: 1fr; gap: 32px; }
  .day-sidebar {
    position: static; max-height: none;
    border-right: none; border-bottom: 1px solid var(--border);
    padding-right: 0; padding-bottom: 16px;
  }
  .container { padding: 32px 20px; }
  .hero { padding: 40px 0 32px; margin-bottom: 32px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .header-tools { order: 2; }
  .slide-body { padding: 40px 32px; }
}

@media (max-width: 600px) {
  :root { --fs-4xl: 36px; --fs-3xl: 28px; }
  .container { padding: 24px 16px; }
  .block + .block { padding-top: 24px; }
  .nav-day-switch { grid-template-columns: 1fr; }
  .ai-panel { width: calc(100vw - 32px); max-width: 380px; right: 16px; bottom: 16px; }
  .slide-body { padding: 32px 20px; }
  .slide-top, .slide-bottom { padding-left: 16px; padding-right: 16px; }
  .kbd-hint { display: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  :root {
    --bg: #ffffff; --bg-subtle: #ffffff; --bg-elevated: #ffffff;
    --text: #000000; --text-muted: #333333; --text-dim: #666666;
    --border: #cccccc; --border-strong: #999999;
    --accent: #000000;
  }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .site-header, .site-footer, .day-sidebar,
  .nav-day-switch, .copy-btn, .ai-panel,
  .slide-viewer, .tool-btn, .header-tools,
  .voice-toast { display: none !important; }
  .day-layout { grid-template-columns: 1fr; }
  .container { max-width: none; padding: 0; }
  .block { break-inside: avoid; page-break-inside: avoid; padding: 0; margin-bottom: 24pt; }
  .block + .block { border-top: 1px solid #ccc; padding-top: 16pt; }
  .block h2 { font-size: 16pt; }
  .block h3 { font-size: 13pt; }
  .prompt-block { background: #f5f5f5; border: 1px solid #ccc; }
  .prompt-body { color: #000; font-size: 10pt; }
  .box { background: #fafafa; border: 1px solid #ccc; border-left-width: 2px; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .hero { padding: 0 0 16pt; border-bottom: 2px solid #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
