/* Etude — the Wi-Fi Off? page: what works offline, every time the app goes
   online, and how to check. Built on the guide pages' styles (guide.css);
   these are the page's own pieces. */

/* the page's mark: Wi-Fi, switched off as the page opens */
.wf-mark {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--ink);
}
.wf-mark .wo { stroke-width: 1.6; }
.wf-mark .wo-arcs { animation-delay: 0.6s; }
.wf-mark .wo-slash, .wf-mark .wo-gap { animation-delay: 0.6s; animation-duration: 0.7s; }
.wf-mark .wo-gap { stroke-width: 4.2; }

/* what keeps working: a two-column checklist */
.wf-works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.wf-works li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.wf-works li + li { margin-top: 0; }
.wf-works b { color: var(--ink); font-weight: 600; }
.wf-works svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: rgb(var(--priv));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guide-step ul.wf-works { padding-left: 0; }
@media (max-width: 600px) {
  .wf-works { grid-template-columns: 1fr; }
}

/* every time Etude goes online: one row each */
.wf-table-wrap { margin-top: 18px; overflow-x: auto; }
.wf-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--card-shadow);
}
.wf-table th, .wf-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.wf-table tr:last-child td { border-bottom: 0; }
.wf-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wf-table tbody th { width: 24%; font-weight: 600; color: var(--ink); }
.wf-table td { color: var(--ink-2); }
.wf-table td b { color: var(--ink); font-weight: 600; }
.wf-table code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
/* when it happens: a small tag at the top of the cell */
.wf-when {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: rgb(var(--priv));
  background: rgba(var(--priv), 0.1);
}
.wf-when.choice { color: rgb(var(--net)); background: rgba(var(--net), 0.1); }
/* a narrow window: each row becomes a card */
@media (max-width: 640px) {
  .wf-table, .wf-table tbody, .wf-table tr, .wf-table th, .wf-table td { display: block; width: auto; }
  .wf-table thead { display: none; }
  .wf-table tbody th { width: auto; padding-bottom: 2px; border-bottom: 0; }
  .wf-table td { padding-top: 4px; }
  .wf-table td:first-of-type { border-bottom: 0; padding-bottom: 0; }
}

