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

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

:root {
  --bg: #080c14;
  --surface: #0f172a;
  --border: #1e293b;
  --muted: #475569;
  --subtle: #334155;
  --text: #e2e8f0;
  --dim: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 4px 4px 4px;
}

.wrap { max-width: 860px; margin: 0 auto; }

/* Header */
.header { text-align: center; margin-bottom: 40px; }
.header-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.header h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e2e8f0 30%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.header p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 8px;
}

.tabs-compact {
  width: 100%;
  text-align: right;
}

.tab-btn, .tab-compact {
  flex: 1;
  padding: 4px 4px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.2s;
  background: transparent;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.tab-btn.active, .tab-compact.active {
  background: var(--border);
  color: var(--text);
}

.tab-compact {
  padding-left: 16px;
  padding-right: 16px;
}

/* Panels */
.panel { display: none; flex-direction: column; gap: 20px; }
.panel.active { display: flex; }

.powerplay { display: none; }
.powerplay.active { display: inline; }
.powerplay-title { color: gray; }

.powerplay-current {
    color: white;
    background: var(--surface);
    border: 1px solid yellow;
    border-radius: 4px;
}

.powerplay-upcoming {
}

.powerplay-ended {
    color: darkgray;
    text-decoration: line-through;
}

/* Daily Tasks */
td.task-header {
     padding-top: 10px;
}

div.task-header {
    /* border-bottom: solid gray 1px; */
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2px;
  margin-top: 8px;
  margin-bottom: 4px;
}

ul.tasks {
    list-style-position: inside;
    padding-left: 10px;
}

.highlight {
    color: yellow;
}

.not-important {
    color: grey;
}

/********/
img.inline-icon {
    height: 1em; /* Matches the text height */
    width: auto; /* Maintains aspect ratio */
    vertical-align: middle; /* Aligns it vertically with the text */
}
