/* Review Site Builder: only the few classes its app.js and its page build by hand.
   Every colour, font and radius is a Mythox token from codex-site.css, except the
   three design swatches, which have to show the real colours of the site they build. */

.app-label .note{ display:block; margin-top:6px; font-family:var(--sans); font-size:12.5px;
  letter-spacing:0; text-transform:none; color:var(--muted); font-weight:400; line-height:1.55; }

.app-area.out{ min-height:230px; white-space:pre; overflow-x:auto; }
.app-area.out.short{ min-height:150px; }

.status{ margin-top:12px; min-height:18px; font-family:var(--mono); font-size:11px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--accent); line-height:1.6; }

.rowbtns{ margin-top:18px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }

/* the three design buttons */
.designs{ display:grid; gap:12px; margin-top:16px; }
@media (min-width:760px){ .designs{ grid-template-columns:repeat(3,1fr); } }

button.design{ display:block; width:100%; text-align:left; cursor:pointer;
  border:1px solid var(--border); border-radius:var(--radius); background:var(--surface-2);
  color:var(--text); padding:13px; font:inherit; transition:border-color .2s, box-shadow .2s, transform .2s; }
button.design:hover{ transform:translateY(-2px); border-color:var(--accent); box-shadow:0 8px 22px var(--glow); }
button.design strong{ display:block; font-size:15px; font-weight:600; margin-top:11px; letter-spacing:-.01em; }
button.design em{ display:block; font-style:normal; color:var(--muted); font-size:12.5px; line-height:1.55; margin-top:5px; }
button.design.on{ border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
button.design.on strong{ color:var(--accent); }

.swatch{ display:block; height:54px; border-radius:8px; padding:9px 10px; overflow:hidden; }
.swatch .bar{ display:block; border-radius:2px; margin-bottom:5px; }
.sw-magazine{ background:#ffffff; border:1px solid #d8d3c8; }
.sw-magazine .b1{ width:58%; height:7px; background:#15100c; }
.sw-magazine .b2{ width:88%; height:4px; background:#b9b2a5; }
.sw-magazine .b3{ width:72%; height:4px; background:#b9b2a5; }
.sw-tech{ background:#0a0d12; border:1px solid #1d2733; }
.sw-tech .b1{ width:50%; height:7px; background:#35e0c0; }
.sw-tech .b2{ width:86%; height:4px; background:#24313f; }
.sw-tech .b3{ width:66%; height:4px; background:#24313f; }
.sw-blog{ background:#fbf3e6; border:1px solid #e3d4bb; }
.sw-blog .b1{ width:54%; height:7px; background:#8a4a24; }
.sw-blog .b2{ width:84%; height:4px; background:#d6c3a6; }
.sw-blog .b3{ width:70%; height:4px; background:#d6c3a6; }

/* the product boxes app.js builds */
.product{ border:1px solid var(--border); border-radius:var(--radius); background:var(--surface-2);
  padding:14px 16px 18px; margin-bottom:12px; }
.product h3{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent); margin:0; }
.product .app-label:first-of-type{ margin-top:12px; }

/* the live preview of the site it writes */
.previewbox{ margin-top:16px; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; background:#ffffff; }
#preview{ display:block; width:100%; height:520px; border:0; }

/* the score box and the money box app.js builds */
.money{ margin-top:16px; border:1px solid var(--border); border-radius:var(--radius);
  background:var(--surface-2); overflow:hidden; }
.money .line{ display:flex; justify-content:space-between; gap:14px; padding:13px 16px;
  border-bottom:1px solid var(--border); font-size:13.5px; }
.money .line:last-child{ border-bottom:0; }
.money .line span.k{ color:var(--muted); line-height:1.6; }
.money .line span.k small{ font-size:11.5px; line-height:1.55; margin-top:4px; }
.money .line span.v{ color:var(--text); font-family:var(--mono); font-size:13px;
  font-variant-numeric:tabular-nums; white-space:nowrap; }
.money .line.big span.v{ color:var(--accent); font-size:15px; }
.money .line.warn span.v{ color:var(--text); opacity:.8; }
.money .line.head{ background:var(--surface); }
.money .line.head span.k{ color:var(--text); font-weight:600; }

/* the checklists app.js builds */
.checkitem{ display:flex; gap:13px; align-items:flex-start; padding:13px 0;
  border-bottom:1px solid var(--border); color:var(--muted); font-size:13.5px; line-height:1.6;
  cursor:pointer; }
.checkitem:last-child{ border-bottom:0; }
.checkitem input[type="checkbox"]{ width:17px; height:17px; flex:0 0 auto; margin-top:2px;
  accent-color:var(--accent); cursor:pointer; }
.checkitem input[type="checkbox"]:checked + span{ opacity:.5; text-decoration:line-through; }
.checkitem span small{ display:block; margin-top:5px; color:var(--dim); font-size:12px; line-height:1.55; }

/* the niche verdict */
.verdict{ margin-top:16px; padding:14px 16px; border:1px solid var(--border);
  border-radius:var(--radius); background:var(--surface-2); color:var(--muted);
  font-size:13.5px; line-height:1.6; }
.verdict.pass{ border-color:var(--accent); color:var(--text); }
.verdict.fail{ border-left:2px solid var(--accent); color:var(--text); }
