/* =====================================================================
   Momentum — sistema de diseno
   Principios (basados en la investigacion):
   - Calma sobre estimulo: paleta neutra + un acento. Sin ruido visual.
   - Jerarquia clara (Gestalt): agrupacion, espacio en blanco generoso.
   - Feedback de competencia: el progreso es el protagonista, no los puntos.
   - Accesible: contraste AA, foco visible, respeta reduce-motion.
   ===================================================================== */

:root {
  --accent: #5b6cff;
  --accent-soft: #eef0ff;
  --accent-strong: #4453e6;
  --ok: #28b487;
  --ok-soft: #e6f7f1;
  --warn: #e0a23b;
  --danger: #d9544e;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --border: #e6e8f0;
  --text: #1c2030;
  --text-soft: #5a6075;
  --text-faint: #9aa0b4;

  --shadow-sm: 0 1px 2px rgba(20, 24, 45, .05), 0 1px 3px rgba(20, 24, 45, .04);
  --shadow-md: 0 6px 24px rgba(20, 24, 45, .08);
  --shadow-lg: 0 18px 50px rgba(20, 24, 45, .14);

  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 9px;

  --speed: .18s;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --sidebar-w: 248px;
  --maxw: 880px;
}

html[data-theme="dark"],
html[data-theme="system"] {
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #0f1117;
    --surface: #171a23;
    --surface-2: #1e222d;
    --border: #2a2f3d;
    --text: #e8eaf2;
    --text-soft: #aeb4c8;
    --text-faint: #828aa0;
    --accent-strong: #8b97ff;
    --accent-soft: #222a52;
    --ok-soft: #15302a;
    --danger: #ff6b63;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 8px 28px rgba(0,0,0,.45);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  }
}

html[data-theme="dark"] {
  --bg: #0f1117;
  --surface: #171a23;
  --surface-2: #1e222d;
  --border: #2a2f3d;
  --text: #e8eaf2;
  --text-soft: #aeb4c8;
  --text-faint: #828aa0;
  --accent-strong: #8b97ff;
  --accent-soft: #222a52;
  --ok-soft: #15302a;
  --danger: #ff6b63;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 8px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

/* El atributo `hidden` debe ocultar SIEMPRE, aunque un .clase ponga display.
   (Sin esto, .capture-overlay{display:grid} mantenía el pop-up visible.) */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ---------- Layout ---------- */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 18px;
}
.brand-mark { font-size: 22px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.nav-ico { width: 18px; height: 18px; opacity: .9; flex-shrink: 0; }
.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }

.level-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 10px;
}
.level-ring {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--accent) calc(var(--ring, 0) * 1%), var(--border) 0);
  flex-shrink: 0;
}
.level-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--surface-2);
}
.level-num { position: relative; font-weight: 700; font-size: 15px; }
.level-meta { min-width: 0; flex: 1; }
.level-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.xp-bar { height: 6px; background: var(--border); border-radius: 4px; overflow: hidden; margin: 4px 0 3px; }
.xp-fill { height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.xp-text { font-size: 11px; color: var(--text-faint); }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 16px;
  flex-shrink: 0;
  transition: background var(--speed);
}
.theme-toggle:hover { background: var(--surface-2); }
#reminder-toggle.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
#reminder-toggle.off { color: var(--text-faint); }
#reminder-toggle.off:hover { color: var(--text-soft); }

/* ---------- Main ---------- */
.main {
  padding: 40px clamp(20px, 5vw, 56px) 120px;
}
.view { max-width: var(--maxw); margin: 0 auto; animation: rise .35s var(--ease); }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-head { margin-bottom: 26px; }
.view-eyebrow { font-size: 12.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.view-title { font-size: 30px; font-weight: 750; letter-spacing: -.025em; margin: 4px 0 4px; }
.view-sub { color: var(--text-soft); font-size: 15px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.section-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-faint);
  margin: 30px 4px 12px;
}

/* ---------- Project card ---------- */
.project {
  padding: 18px 20px;
  margin-bottom: 14px;
}
.project-top { display: flex; align-items: center; gap: 12px; }
.project-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.project-title { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.project-why { color: var(--text-soft); font-size: 13.5px; margin-top: 2px; }
.project-count { margin-left: auto; color: var(--text-faint); font-size: 13px; white-space: nowrap; }
.project-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.prog-track { flex: 1; height: 9px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.prog-fill { height: 100%; width: 0; border-radius: 6px; transition: width .6s var(--ease); }
.prog-pct { font-size: 13px; font-weight: 650; color: var(--text-soft); min-width: 38px; text-align: right; }

/* siguiente paso destacado */
.next-step {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}
.next-step .ns-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-strong); }
.next-step .ns-task { font-weight: 550; }
.next-step .check { margin-left: auto; }

/* ---------- Task list ---------- */
.tasks { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--speed);
}
.task:hover { background: var(--surface-2); }
.task.is-done .task-title { color: var(--text-faint); text-decoration: line-through; }
.task-main { flex: 1; min-width: 0; }
.task-title { line-height: 1.35; }
.task-title[data-action="edit"] { cursor: pointer; border-radius: 5px; transition: color var(--speed); }
.task-title[data-action="edit"]:hover { color: var(--accent-strong); }
.task-when { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; display: inline-flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.task-when.plan-overdue { color: var(--danger); font-weight: 600; }
.task-when.plan-today { color: var(--accent-strong); }

.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 12px;
  transition: all var(--speed) var(--ease);
  margin-top: 1px;
}
.check:hover { border-color: var(--ok); }
.check.is-done { background: var(--ok); border-color: var(--ok); color: #fff; transform: scale(1); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.check.just-done { animation: pop .35s var(--ease); }

.task-del, .icon-btn {
  border: 0;
  background: transparent;
  color: var(--text-faint);
  opacity: 0;
  font-size: 15px;
  padding: 4px 7px;
  border-radius: 7px;
  transition: opacity var(--speed), background var(--speed), color var(--speed);
}
.task:hover .task-del { opacity: 1; }
.task-del:hover { color: var(--danger); background: var(--surface); }

/* add-task inline */
.add-task {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  align-items: center;
}
.add-task input {
  flex: 1;
  border: 1px dashed var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--speed), background var(--speed);
}
.add-task input:focus { border-style: solid; border-color: var(--accent); background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 9px 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--speed), transform var(--speed), border-color var(--speed);
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-soft); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

/* ---------- Inbox ---------- */
.inbox-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.inbox-text { flex: 1; }
.inbox-actions { display: flex; gap: 6px; }

/* ---------- Empty states ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-soft);
}
.empty-ico { font-size: 42px; opacity: .5; margin-bottom: 12px; }
.empty-title { font-weight: 650; font-size: 18px; color: var(--text); margin-bottom: 6px; }

/* ---------- Stats / progress view ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.stat {
  padding: 18px 20px;
}
.stat-num { font-size: 30px; font-weight: 760; letter-spacing: -.02em; }
.stat-lbl { color: var(--text-soft); font-size: 13.5px; margin-top: 2px; }
.stat-ico { font-size: 18px; opacity: .8; }

.heatmap { display: flex; gap: 4px; flex-wrap: wrap; padding: 18px 20px; }
.hm-day {
  width: 15px; height: 15px;
  border-radius: 4px;
  background: var(--surface-2);
}

/* ---------- FAB + capture ---------- */
.fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow-md);
  z-index: 40;
  transition: transform var(--speed) var(--ease), background var(--speed);
}
.fab:hover { background: var(--accent-strong); transform: scale(1.06) rotate(90deg); }

.capture-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 27, .42);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: start center;
  padding-top: 18vh;
  z-index: 60;
  animation: fade .15s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.capture-box {
  width: min(560px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  animation: rise .2s var(--ease);
}
.capture-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin-bottom: 12px; }
.capture-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 20px;
  color: var(--text);
  outline: none;
  padding: 4px 0;
}
.capture-hint { margin-top: 14px; font-size: 12.5px; color: var(--text-faint); }

/* ---------- Confetti + toast ---------- */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--bg);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Forms (new project) ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--speed), background var(--speed);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface); }
.field textarea { resize: vertical; min-height: 60px; }
.color-row { display: flex; gap: 9px; }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--speed);
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.is-sel { border-color: var(--text); transform: scale(1.12); }

.row { display: flex; gap: 10px; align-items: center; }
.row-end { justify-content: flex-end; }
.spacer { flex: 1; }

/* dialog */
.dialog-overlay {
  position: fixed; inset: 0;
  background: rgba(16,18,27,.42);
  backdrop-filter: blur(3px);
  display: grid; place-items: center;
  z-index: 70;
  animation: fade .15s var(--ease);
  padding: 20px;
}
.dialog {
  width: min(480px, 94vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  animation: rise .2s var(--ease);
}
.dialog h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.02em; }
.dialog .dialog-sub { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; bottom: 0; top: auto; left: 0; right: 0;
    height: auto; width: 100%;
    flex-direction: row; align-items: center;
    border-right: 0; border-top: 1px solid var(--border);
    padding: 8px 10px; z-index: 50;
  }
  .brand, .sidebar-foot { display: none; }
  .nav { flex-direction: row; flex: 1; justify-content: space-around; }
  .nav-item span:not(.nav-ico):not(.nav-badge) { display: none; }
  .nav-item { flex-direction: column; gap: 3px; padding: 8px 12px; }
  .nav-ico { width: 21px; height: 21px; }
  .main { padding: 28px 18px 110px; }
  .fab { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* foco accesible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- busqueda en barra lateral ---------- */
.side-search {
  display: flex; align-items: center; gap: 9px;
  width: 100%; margin: 0 0 8px; padding: 9px 12px;
  border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text-faint); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  transition: border-color var(--speed), background var(--speed), color var(--speed);
}
.side-search:hover { border-color: var(--accent); color: var(--text-soft); }
.side-search-txt { flex: 1; text-align: left; }
.side-search kbd {
  font-family: inherit; font-size: 11px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--text-faint);
}

/* ---------- boton instalar app (PWA) ---------- */
.install-btn {
  width: 100%; margin: 6px 0 0; padding: 10px 12px;
  border: 1px solid var(--accent); background: var(--accent-soft);
  color: var(--accent-strong); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 13.5px;
  transition: background var(--speed), color var(--speed);
}
.install-btn:hover { background: var(--accent); color: #fff; }

/* ---------- etiquetas ---------- */
.chips { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.chip {
  font-size: 11.5px; font-weight: 600;
  color: var(--accent-strong); background: var(--accent-soft);
  padding: 2px 8px; border-radius: 999px; cursor: pointer;
  transition: background var(--speed), color var(--speed);
}
.chip:hover { background: var(--accent); color: #fff; }

/* ---------- resultados de busqueda ---------- */
.search-results { margin-top: 14px; max-height: 52vh; overflow: auto; }
.search-group { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 14px 4px 6px; }
.search-item { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--speed); }
.search-item:hover { background: var(--surface-2); }
.search-sub { font-size: 12px; color: var(--text-faint); margin-top: 1px; }
.search-strike { text-decoration: line-through; color: var(--text-faint); }
.search-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-size: 11px; color: #fff; flex-shrink: 0; }
.search-check.is-done { background: var(--ok); border-color: var(--ok); }
.search-empty { padding: 26px; text-align: center; color: var(--text-faint); }

/* ---------- entrada a revision en Hoy ---------- */
.review-cta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 18px; background: var(--accent-soft); border-color: transparent; }
.review-cta-ico { font-size: 26px; }
.review-cta-title { font-weight: 700; font-size: 16px; }
.review-cta-sub { color: var(--text-soft); font-size: 13.5px; margin-top: 1px; }
.review-mini { margin-top: 28px; text-align: center; color: var(--text-faint); font-size: 13.5px; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); transition: background var(--speed), color var(--speed); }
.review-mini:hover { background: var(--surface-2); color: var(--text-soft); }

/* ---------- asistente de revision semanal ---------- */
.dialog.review { width: min(640px, 96vw); }
.review-ico { font-size: 40px; margin-bottom: 6px; }
.review-step-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.review-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.review-list li { background: var(--surface-2); padding: 11px 14px; border-radius: var(--radius-sm); }
.rev-scroll { max-height: 50vh; overflow: auto; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }
.rev-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius-sm); }
.rev-text { flex: 1; min-width: 0; }
.rev-reason { font-size: 12.5px; color: var(--text-faint); margin-top: 3px; }
.rev-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.rev-actions .btn { padding: 6px 10px; font-size: 13px; }
.rev-empty { padding: 22px; text-align: center; color: var(--text-faint); background: var(--surface-2); border-radius: var(--radius-sm); }
.rev-select { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.rev-addbox { margin-top: 8px; }
.rev-addinput { width: 100%; border: 1px dashed var(--border); background: transparent; border-radius: 8px; padding: 7px 10px; color: var(--text); font-size: 13.5px; outline: none; transition: border-color var(--speed), background var(--speed); }
.rev-addinput:focus { border-style: solid; border-color: var(--accent); background: var(--surface); }
.review-dots { display: inline-flex; gap: 6px; }
.review-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); display: block; transition: background var(--speed); }
.review-dots i.on { background: var(--accent); }
.rev-summary { display: flex; gap: 12px; margin-top: 18px; }
.rev-summary > div { flex: 1; background: var(--surface-2); border-radius: var(--radius); padding: 14px; text-align: center; }
.rev-summary b { font-size: 24px; font-weight: 750; display: block; }
.rev-summary span { font-size: 12.5px; color: var(--text-soft); }

@media (max-width: 720px) {
  .side-search { display: none; }
  .install-btn { display: none; }
  .rev-actions { width: 100%; }
}
