/* LGS Koçu — masaüstü öncelikli, mobilde de bozulmayan arayüz */

:root {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --accent-border: #c7d2fe;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-lg: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 10px 20px -5px rgba(15, 23, 42, .08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .75rem; }

/* ---------------------------------------------------------------- Topbar */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700;
}
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 550;
  font-size: .92rem;
  white-space: nowrap;
}
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: var(--accent); }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.countdown {
  background: var(--warn-soft);
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}
.countdown.urgent { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.userchip { font-size: .88rem; color: var(--text-muted); white-space: nowrap; }
.userchip b { color: var(--text); }

/* ---------------------------------------------------------------- Layout */

.page { max-width: 1560px; margin: 0 auto; padding: 26px 24px 80px; }
.page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.page-head .sub { color: var(--text-muted); font-size: .94rem; margin: 2px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions select, .page-head select { max-width: 100%; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 18px 20px; }
.card + .card { margin-top: 16px; }
.card-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.card-head h2, .card-head h3 { margin: 0; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .05s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; border-color: var(--text-soft); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #4338ca; border-color: #4338ca; }
.btn-danger { color: var(--danger); border-color: #fecaca; background: var(--danger-soft); }
.btn-danger:hover { background: #fee2e2; border-color: #fca5a5; }
.btn-sm { padding: 5px 10px; font-size: .82rem; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-2); }

/* ---------------------------------------------------------------- Forms */

label { display: block; font-size: .86rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
input[type=text], input[type=password], input[type=date], input[type=number],
input[type=email], select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.field { margin-bottom: 14px; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row > .field { flex: 1; min-width: 150px; }
.hint { font-size: .82rem; color: var(--text-soft); margin-top: 4px; }

/* ---------------------------------------------------------------- Badges */

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
}
.chip-subject { color: #fff; }
.chip-type { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.chip-ok { background: var(--ok-soft); color: #047857; }
.chip-warn { background: var(--warn-soft); color: #92400e; }
.chip-danger { background: var(--danger-soft); color: #991b1b; }
.chip-muted { background: var(--surface-2); color: var(--text-muted); }

/* ---------------------------------------------------------------- Progress */

.progress {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  border-radius: 999px;
  transition: width .3s ease;
}
.progress.ok > span { background: linear-gradient(90deg, #34d399, #059669); }
.progress.warn > span { background: linear-gradient(90deg, #fbbf24, #d97706); }

.ring { --p: 0; width: 46px; height: 46px; position: relative; flex: none; }
.ring svg { transform: rotate(-90deg); width: 46px; height: 46px; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--border); }
.ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .4s ease; }
.ring.done .fg { stroke: var(--ok); }
.ring span {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
}

/* ---------------------------------------------------------------- Stats */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 17px;
  box-shadow: var(--shadow);
}
.stat .label { font-size: .8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.stat .value { font-size: 1.7rem; font-weight: 700; line-height: 1.2; margin-top: 4px; letter-spacing: -.02em; }
.stat .meta { font-size: .82rem; color: var(--text-soft); }
.stat .value.up { color: var(--ok); }
.stat .value.down { color: var(--danger); }

/* ---------------------------------------------------------------- Day cards */

.day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .15s;
}
.day.today { border-color: var(--accent-border); box-shadow: 0 0 0 3px rgba(79, 70, 229, .09), var(--shadow); }
.day.empty { opacity: .72; }

.day-head {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.day-title { display: flex; align-items: baseline; gap: 10px; flex: 1; min-width: 0; flex-wrap: wrap; }
.day-title .name { font-weight: 700; font-size: 1.02rem; }
.day-title .date { color: var(--text-soft); font-size: .86rem; }
.day-head .today-flag {
  background: var(--accent); color: #fff;
  padding: 2px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.day-meta { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--text-muted); }

.tasks { list-style: none; margin: 0; padding: 0; }
.task {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.task:last-child { border-bottom: none; }
.task:hover { background: var(--surface-2); }
.task.is-done { background: #fbfdfc; }
.task.is-done .task-title { color: var(--text-soft); text-decoration: line-through; }

.task input[type=checkbox] {
  appearance: none;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background .12s, border-color .12s;
}
.task input[type=checkbox]:hover { border-color: var(--accent); }
.task input[type=checkbox]:checked { background: var(--ok); border-color: var(--ok); }
.task input[type=checkbox]:checked::after {
  content: "";
  position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.task-body { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: .95rem; }
.task-detail { font-size: .86rem; color: var(--text-muted); margin-top: 2px; }
.task-tags { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.task-time { color: var(--text-soft); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.task-del { opacity: 0; transition: opacity .12s; }
.task:hover .task-del { opacity: 1; }

.day-note { padding: 15px 20px; background: #fcfcfd; border-top: 1px solid var(--border); }
.day-note .note-label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 7px; flex-wrap: wrap;
}
.note-scales { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; align-items: flex-end; }
.scale { display: flex; align-items: center; gap: 7px; }
.scale > label { margin: 0; font-size: .82rem; white-space: nowrap; }
.scale-btns { display: flex; gap: 3px; }
.scale-btns button {
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit; font-size: .85rem; font-weight: 600;
  color: var(--text-muted);
  transition: all .1s;
}
.scale-btns button:hover { border-color: var(--accent); color: var(--accent); }
.scale-btns button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.minutes-input { width: 96px; }
.save-state { font-size: .8rem; color: var(--text-soft); }
.save-state.saved { color: var(--ok); }

/* ---------------------------------------------------------------- Coach msg */

.coach-msg {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 17px 20px;
  margin-bottom: 18px;
}
.coach-msg h3 { color: #4338ca; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px; }
.coach-msg p { margin: 0; white-space: pre-wrap; line-height: 1.65; }

/* ---------------------------------------------------------------- Tables */

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 700;
  white-space: nowrap;
}
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.strong { font-weight: 700; }

/* ---------------------------------------------------------------- Alerts */

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: .92rem;
  border: 1px solid;
}
.alert-ok { background: var(--ok-soft); border-color: #a7f3d0; color: #065f46; }
.alert-error { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.alert-warn { background: var(--warn-soft); border-color: #fde68a; color: #92400e; }
.alert ul { margin: 7px 0 0; padding-left: 20px; }
.alert li { margin-bottom: 3px; }

.empty {
  text-align: center;
  padding: 50px 24px;
  color: var(--text-muted);
}
.empty h2 { color: var(--text); }
.empty .big { font-size: 2.4rem; margin-bottom: 8px; }

/* ---------------------------------------------------------------- Code */

pre.code {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: "Cascadia Code", Consolas, "SF Mono", Monaco, monospace;
  font-size: .82rem;
  line-height: 1.6;
  margin: 0;
}
pre.brief {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  max-height: 620px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .82rem;
  padding: 18px;
  border-radius: var(--radius-sm);
  font-family: "Cascadia Code", Consolas, monospace;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- Login */

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 390px; }
.login-card .brand { justify-content: center; margin-bottom: 6px; font-size: 1.2rem; }
.login-sub { text-align: center; color: var(--text-muted); margin-bottom: 22px; font-size: .92rem; }

/* ---------------------------------------------------------------- Setup */

.setup-wrap {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 20px 80px;
}
.setup-card { width: 100%; max-width: 720px; }
.setup-card .card { margin-bottom: 16px; }
.setup-card .card:first-of-type { margin-top: 4px; }

/* Masaüstüne ekle düğmesi (PWA) */
.pwa-install {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background .12s, transform .06s;
}
.pwa-install::before { content: "⬇"; font-size: 1rem; }
.pwa-install:hover { background: #4338ca; }
.pwa-install:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- Steps */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700; font-size: .85rem;
}
.steps li b { display: block; margin-bottom: 3px; }

/* ---------------------------------------------------------------- Chart */

.chart { width: 100%; height: 260px; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: .84rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.chart-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* ---------------------------------------------------------------- Topics */

.topic-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.topic-row:last-child { border-bottom: none; }
.topic-row .tname { flex: 1; min-width: 0; font-size: .92rem; }
.topic-row .score {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: .88rem;
  min-width: 46px; text-align: right;
}
.status-select { width: auto; min-width: 148px; padding: 5px 9px; font-size: .84rem; }
.bar-mini { width: 90px; height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; flex: none; }
.bar-mini > span { display: block; height: 100%; border-radius: 999px; }

/* ---------------------------------------------------------------- Videos */

.task-videos { display: flex; align-items: center; gap: 10px; margin-top: 7px; flex-wrap: wrap; }

.vlink {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8rem;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  white-space: nowrap;
}
.vlink:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; background: var(--accent-soft); }
.vlink-main {
  background: #fef2f2; border-color: #fecaca; color: #b91c1c; font-weight: 600;
}
.vlink-main:hover { background: #fee2e2; border-color: #f87171; color: #991b1b; }

.vmore { font-size: .8rem; }
.vmore summary {
  cursor: pointer; color: var(--text-soft); list-style: none;
  padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--border-strong);
}
.vmore summary::-webkit-details-marker { display: none; }
.vmore summary:hover { color: var(--accent); border-color: var(--accent); }
.vmore-body { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.vmore-body a {
  font-size: .78rem; padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
}
.vmore-body a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.subject-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.stab {
  padding: 7px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 600; font-size: .9rem;
}
.stab:hover { text-decoration: none; border-color: var(--tab); color: var(--tab); }
.stab.on { background: var(--tab); border-color: var(--tab); color: #fff; }

.vtopic { padding: 13px 20px; border-bottom: 1px solid var(--border); }
.vtopic:last-child { border-bottom: none; }
.vtopic-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vtopic-name { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vlinks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }

.vsaved { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.vsaved-row {
  display: flex; align-items: center; gap: 9px;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius-sm); padding: 6px 11px; font-size: .88rem;
}
.vsaved-row a { color: #b91c1c; font-weight: 600; flex: 1; min-width: 0; }
.vchan { color: var(--text-soft); font-size: .8rem; }

.vadd { margin-top: 10px; }
.vadd summary { cursor: pointer; font-size: .82rem; color: var(--text-soft); font-weight: 600; }
.vadd summary:hover { color: var(--accent); }
.vadd-form { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; align-items: center; }
.vadd-form input { flex: 1; min-width: 160px; padding: 6px 10px; font-size: .86rem; }

.chrow { padding: 9px 0; border-bottom: 1px solid var(--border); }
.chrow:last-child { border-bottom: none; }
.chnote { font-size: .82rem; color: var(--text-soft); margin-top: 2px; }

/* ---------------------------------------------------------------- Print */

@media print {
  .topbar, .actions, .no-print, .day-note, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page { padding: 0; max-width: none; }
  .card, .day { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .day { margin-bottom: 10px; }
  .print-only { display: block !important; }
  a { color: #000; }
}
.print-only { display: none; }

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .grid-sidebar, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .topbar-inner { height: auto; padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .page { padding: 18px 14px 60px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .day-head { flex-wrap: wrap; }
  .task { padding: 11px 14px; }
  .day-note { padding: 14px; }
  h1 { font-size: 1.32rem; }
  /* Uzun konu adları dar ekranda taşmasın, alt satıra insin */
  .chip { white-space: normal; }
  .note-scales { gap: 12px; }
  .page-head .actions { width: 100%; }
}

/* ---------------------------------------------------------------- Curriculum */

tr.wk-current > td { background: var(--accent-soft) !important; }
tr.wk-past > td { opacity: .55; }
tr.wk-past:hover > td { opacity: 1; }
