/* My Listings, my-listings.html (since 2026-11-26). On top of account.css; wider, since the editor shows the page. */
.ml { max-width: 1100px; padding-bottom: 60px; }
.ml-top { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.ml-top a { position: relative; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 4px; }
.ml-top a.on { background: var(--tint); color: var(--accent); }
.ml-top svg { width: 20px; height: 20px; }
.ml-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; }
.ml-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-head h1 { margin-bottom: 8px; }
.ml-hero { text-align: center; max-width: 560px; margin: 0 auto 10px; }
.ml-hero a, .ml-back { color: var(--accent); font-weight: 600; }
.ml-back { display: inline-block; margin-bottom: 8px; text-decoration: none; }
.ml #ml-out { max-width: 560px; margin: 0 auto; }
.ml-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 10px 0 6px; }
.ml-stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.ml-stats b { font-size: 22px; }
.ml-stats span { color: var(--muted); font-size: 13px; }
.ml-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ml-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ml-cover { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--surface); color: var(--muted); text-decoration: none; }
.ml-cover img { width: 100%; height: 100%; object-fit: cover; }
.ml-card-b { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ml-card-t { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ml-mini { margin: 4px 0 8px; font-size: 13.5px; color: var(--muted); }
.ml-card .acct-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ml-live, .ml-wait, .ml-new, .ml-st { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ml-live { background: #dcfce7; color: #166534; }
.ml-wait { background: #fef3c7; color: #854d0e; }
.ml-new { background: #dbeafe; color: #1e40af; }
.ml-st { background: var(--surface); color: var(--muted); }
.ml-empty p, .ml-upsell p { color: var(--muted); }
.ml-upsell { margin-top: 18px; border-left: 4px solid var(--brand); }
.ml-old { margin-top: 18px; }
.ml-old summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.ml-leadlist { padding: 4px 0; }
.ml-leadlist a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ml-leadlist a:last-child { border-bottom: 0; }
.ml-leadlist a span { grid-column: 1; color: var(--muted); font-size: 14px; }
.ml-leadlist a small { grid-row: 1 / span 2; grid-column: 2; color: var(--muted); align-self: center; text-align: right; }
.ml-leadlist a.unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 6px; }
.ml-more { color: var(--accent) !important; font-weight: 700; }
.ml-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ml-sitehead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ml-sitehead h1 { margin-bottom: 2px; }
.ml-pub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ml-waiting { background: #fef3c7; color: #3b2a04; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.ml-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 14px 0; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.ml-tabs a { flex: none; padding: 10px 12px; border-radius: 10px 10px 0 0; color: var(--muted); font-weight: 700; text-decoration: none; font-size: 14.5px; }
.ml-tabs a.on { color: var(--accent); box-shadow: inset 0 -3px 0 var(--brand); }
.ml-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 10px 0; }
.ml-thumbs figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; }
.ml-thumbs figure.off img { opacity: .3; }
.ml-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-thumbs figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 4px; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.ml-thumbs figcaption button { border: 0; border-radius: 6px; background: rgba(255,255,255,.9); color: #111; font: inherit; font-size: 12px; font-weight: 700; padding: 4px 8px; cursor: pointer; margin-left: auto; }
.ml-upload { cursor: pointer; }
.ml-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.ml-inline select { flex: 1 1 200px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }

/* The editor: controls on the left, the live page on the right; stacked on a phone. */
.ml-editor { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.ml-preview { position: sticky; top: 76px; }
.ml-preview-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; }
.ml-frame { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-md); margin: 0 auto; }
.ml-frame.phone { width: 390px; max-width: 100%; height: 760px; }
.ml-frame.wide { width: 100%; height: 760px; }
.ml-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.ml-templates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ml-tpl { text-align: left; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); padding: 10px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; }
.ml-tpl[aria-pressed="true"] { border-color: var(--brand); box-shadow: var(--ring); }
.ml-tpl small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.ml-tpl-swatch { width: 100%; height: 34px; border-radius: 8px; }
.ml-tpl-luxury .ml-tpl-swatch { box-shadow: inset 0 -12px 0 #faf7f2; }
.ml-tpl-bold .ml-tpl-swatch { box-shadow: inset 0 -12px 0 #0d0d0e; }
.ml-tpl-soft .ml-tpl-swatch { box-shadow: inset 0 -12px 0 #e9efeb; }
.ml-tpl-luxury b { font-family: Georgia, serif; }
.ml-tpl-bold b { text-transform: uppercase; letter-spacing: .04em; }
.ml-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ml-sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; position: relative; }
.ml-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.ml-sw-custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.ml-sw-custom input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ml-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ml-seg button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 9px 13px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.ml-seg button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ml-focus { display: grid; gap: 8px; }
.ml-focus label { font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.ml-order { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.ml-order li { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ml-order li span { flex: 1; font-weight: 600; }
.ml-order li.off span { color: var(--muted); text-decoration: line-through; }
.ml-order button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; min-width: 36px; min-height: 36px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.ml-order button:disabled { opacity: .35; cursor: default; }

.ml-market { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 14px; align-items: start; }
.ml-qr { text-align: center; }
.ml-qr img { background: #fff; border-radius: 10px; max-width: 100%; height: auto; }
.ml-qr .acct-acts, .ml-market .acct-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0; }
.ml-market .acct-card-h { display: block; margin-top: 16px; }
.ml-url { word-break: break-all; font-weight: 600; }
.ml-leads { display: grid; gap: 8px; }
.ml-lead { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); text-decoration: none; margin: 0; }
.ml-lead small { color: var(--muted); text-align: right; }
.ml-lead p { margin: 2px 0 0; }
.ml-table { width: 100%; border-collapse: collapse; }
.ml-table th, .ml-table td { padding: 8px; text-align: right; border-bottom: 1px solid var(--line); }
.ml-table th:first-child { text-align: left; }
.ml-src { list-style: none; padding: 0; margin: 6px 0; }
.ml-src li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); text-transform: capitalize; }
.ml-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ml-headshot { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; margin: 8px 0; }
.ml-logo { max-height: 60px; max-width: 160px; display: block; margin: 8px 0; }
.ml-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 50; box-shadow: var(--shadow-lg); margin: 0; }
.ml-toast[hidden] { display: none !important; }

@media (max-width: 900px) {
  .ml-editor { grid-template-columns: 1fr; }
  .ml-preview { position: static; }
  .ml-frame.phone, .ml-frame.wide { height: 640px; }
  .ml-market { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ml-row3 { grid-template-columns: 1fr 1fr; }
  .ml-templates, .ml-pics { grid-template-columns: 1fr; }
  .ml-top { flex-wrap: nowrap; gap: 0; }
  .ml-top a { padding: 8px 7px; font-size: 13.5px; }
  .ml-top .ml-acct { display: none; }
  .acct-brand { font-size: 16px; }
}
.ml-quiet { margin-top: 18px; text-align: center; }
.ml-quiet a { color: var(--accent); font-weight: 600; }
/* The setup steps on a new site: one obvious next step. */
.ml-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 12px 0 0; counter-reset: s; }
.ml-steps li a { display: block; height: 100%; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ml-steps li.done a { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.ml-steps li.next a { color: #fff; background: var(--brand); border-color: var(--brand); }
@media (max-width: 560px) { .ml-steps { grid-template-columns: 1fr 1fr; } }
.ml-staff { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.ml-build { background: #f59e0b; border-color: #f59e0b; color: #111827 !important; font-weight: 800; }
