/* Mio CRM → Social (the seller panel's social.css, plus the studio and approval below) */
.soc-net { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }
.soc-net i { font-size: 1.05em; }
.soc-facebook i { color: #1877F2; } .soc-instagram i { color: #D62976; } .soc-linkedin i { color: #0A66C2; } .soc-x i { color: #111; }
.soc-av { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; display: inline-grid; place-items: center; background: var(--paper); font-weight: 800; color: var(--muted); border: 1px solid var(--line); }
.soc-narrow { max-width: 720px; }
.soc-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.soc-hero > .stack { flex: 1 1 360px; }
.soc-hero-nets { display: flex; gap: 14px; font-size: 2.4rem; }
.soc-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; }
.soc-q { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.soc-q > i { font-size: 1.3rem; color: var(--brand); }
.soc-q:hover { border-color: var(--brand); transform: translateY(-1px); }
.soc-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.soc-list .soc-row { padding: 12px 16px; }
.soc-row:first-child { border-top: 0; }
.soc-row:hover .soc-row-text { color: var(--brand); }
.soc-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.soc-thumb-text { display: grid; place-items: center; background: var(--paper); color: var(--muted); font-size: 1.2rem; }
.soc-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.soc-row-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-row-nets { display: flex; gap: 6px; align-items: center; flex: none; }
.soc-tchip { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); font-size: .85rem; }
.soc-tchip.soc-facebook i { color: #1877F2; } .soc-tchip.soc-instagram i { color: #D62976; } .soc-tchip.soc-linkedin i { color: #0A66C2; } .soc-tchip.soc-x i { color: #111; }
.soc-t-published { border-color: #16a34a; } .soc-t-failed { border-color: #dc2626; } .soc-t-pending { border-color: #f59e0b; } .soc-t-deleted { opacity: .4; } .soc-t-kept { border-color: #f59e0b; }
.soc-acc-line { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.soc-acc-line:first-of-type { border-top: 0; }
.soc-acc-line > .stack { flex: 1 1 auto; min-width: 0; }
.soc-icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.soc-icon-btn:hover { color: var(--deal); border-color: var(--deal); }
.soc-net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; align-items: start; }
.soc-net-card h2 .soc-net { font-size: 1.1rem; }
.soc-x-form > summary { list-style: none; display: inline-flex; cursor: pointer; }
.soc-x-form > summary::-webkit-details-marker { display: none; }
.soc-x-form[open] > summary { margin-bottom: 12px; }
.soc-steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.soc-choose { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.soc-choose:first-of-type { border-top: 0; }
.soc-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-kinds label { position: relative; }
.soc-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.soc-kinds span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 600; background: var(--surface); }
.soc-kinds input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.soc-kinds input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.soc-counts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: -6px; }
.soc-counts .over { color: var(--deal); font-weight: 700; }
.soc-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-img { display: flex; flex-direction: column; gap: 4px; width: 104px; }
.soc-img img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.soc-pphoto img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; vertical-align: middle; }
.soc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.soc-pick-acc { display: flex; flex-direction: row; text-align: left; gap: 10px; align-items: center; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.soc-pick-acc:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, white); }
.soc-pick-acc input { width: auto; margin: 0; flex: none; }
.soc-pick-acc.off { opacity: .5; cursor: not-allowed; }
.soc-own > summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.soc-own label { margin-top: 10px; }
.soc-own label[hidden] { display: none; }
.soc-preview-card { position: sticky; top: 12px; }
.soc-pv { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.soc-pv-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px; font-size: .9rem; }
.soc-pv-text { padding: 0 12px 10px; white-space: pre-wrap; word-break: break-word; font-size: .92rem; }
.soc-pv-text.cut::after { content: "… more"; color: var(--muted); }
.soc-pv-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--paper); }
.soc-pv-link { margin: 0 12px 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-pv-warn { padding: 8px 12px; background: #fff7ed; color: #9a3412; font-size: .82rem; }
.soc-body { white-space: normal; font-size: 1.02rem; line-height: 1.55; }
.soc-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.soc-cal-h { padding: 8px; font-weight: 700; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); text-align: center; }
.soc-cal-d { min-height: 110px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.soc-cal-d:nth-child(7n) { border-right: 0; }
.soc-cal-d.empty { background: var(--paper); }
.soc-cal-d.past { background: color-mix(in srgb, var(--paper) 50%, white); }
.soc-cal-d.today .soc-cal-n { background: var(--brand); color: #fff; }
.soc-cal-n { align-self: flex-start; font-weight: 700; font-size: .85rem; padding: 1px 7px; border-radius: 99px; }
.soc-cal-p { display: flex; flex-wrap: wrap; gap: 3px 5px; align-items: center; padding: 4px 6px; border-radius: 7px; font-size: .75rem; text-decoration: none; color: var(--ink); background: var(--paper); border-left: 3px solid #94a3b8; }
.soc-cal-scheduled { border-left-color: #f59e0b; } .soc-cal-published { border-left-color: #16a34a; } .soc-cal-failed, .soc-cal-partly { border-left-color: #dc2626; } .soc-cal-draft { border-left-color: #cbd5e1; opacity: .8; }
.soc-cal-t { flex-basis: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .soc-cal { grid-template-columns: 1fr; }
  .soc-cal-h, .soc-cal-d.empty { display: none; }
  .soc-cal-d { min-height: 0; border-right: 0; }
  .soc-cal-d:not(:has(.soc-cal-p)):not(.today) { display: none; }
  .soc-row-nets .badge { display: none; }
  .soc-preview-card { position: static; }
}

/* Mio CRM: AI studio, approval, calendar extras */
.soc-ai { border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: 12px; padding: 10px 12px; background: color-mix(in srgb, var(--brand) 4%, transparent); }
.soc-ai > summary { cursor: pointer; }
.soc-ai[open] > summary { margin-bottom: 10px; }
.soc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.soc-tabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink); }
.soc-tabs button.on { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); font-weight: 600; }
.soc-gen img { outline: 2px solid transparent; }
.soc-gen:has(input:checked) img { outline-color: var(--brand); }
.soc-cal-head { margin: 18px 0 8px; }
.soc-cal-add { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: .75rem; opacity: 0; }
.soc-cal-d:hover .soc-cal-add, .soc-cal-add:focus { opacity: 1; background: var(--paper); }
.soc-cal-review { border-left-color: #8b5cf6; }
.soc-cal-ai.soc-cal-draft { background: color-mix(in srgb, var(--brand) 7%, var(--paper)); opacity: 1; border-left-style: dashed; }
.soc-legend .soc-cal-p { display: inline-flex; margin-right: 4px; }
.soc-wait { gap: 10px; }
.soc-wait form { display: inline; }
.soc-review { border-color: #c4b5fd; background: color-mix(in srgb, #8b5cf6 5%, var(--surface)); }
.grow { flex: 1 1 220px; }
@media (max-width: 720px) {
  .soc-cal { grid-template-columns: 1fr; }
  .soc-cal-h, .soc-cal-d.empty { display: none; }
  .soc-cal-d { min-height: 0; border-right: 0; }
  .soc-cal-d:not(:has(.soc-cal-p)):not(.today) { display: none; }
  .soc-cal-add { opacity: 1; }
  .soc-wait { flex-wrap: wrap; }
}
.soc-from { margin: 0; color: var(--brand); }

/* Mio Social: stat tiles, credit packs, plan cards, team, landing */
.crm-stats .stat { flex-basis: 160px; text-decoration: none; color: var(--ink); }
label.crm-pack { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; }
label.crm-pack input { width: auto; margin: 0; }
label.crm-pack:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
label.crm-pack small { margin-left: auto; }
.so-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.so-plan { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.so-plan.on { border: 2px solid var(--brand); }
.so-plan .price { font-size: 1.8rem; font-weight: 800; }
.so-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.so-plan li i { width: 18px; color: var(--brand); }
.so-plan li.no { color: var(--muted); }
.so-plan li.no i { color: var(--muted); }
.so-lock { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.so-lock > i { color: var(--brand); margin-top: 3px; }
.crm-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.crm-switch { display: grid; gap: 10px; max-width: 640px; }
.crm-switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.crm-switch-row.on { border-color: var(--brand); }
.so-team { display: grid; gap: 8px; }
.so-team-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.so-team-row .grow { flex: 1 1 200px; }
/* landing mock-up */
.so-mock { position: relative; padding: 18px; }
.so-mock-post { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .35); max-width: 380px; margin: 0 auto; }
.so-mock-post p { margin: 0; font-size: .95rem; }
.so-mock-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.so-mock-tags { color: var(--brand); }
.so-mock-pic { aspect-ratio: 1.6; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #FDE68A, transparent 40%), linear-gradient(135deg, #DB2777, #7C3AED); display: grid; place-items: center; }
.so-mock-pic span { color: #fff; font-weight: 800; font-size: 1.6rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.so-mock-nets span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.so-mock .lp-mock-card { position: absolute; left: auto; right: 0; bottom: 0; }
.logo-mio.logo-social .mark, .lp-head .logo-social .mark { background: #DB2777; color: #fff; }
.so-policy { max-width: 780px; } .so-policy h2 { margin: 18px 0 4px; font-size: 1.2rem; } .so-policy ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
