/* UniShop · páginas de la plataforma (acceso, mis tiendas). Usa los tokens de admin.css. */
.plat { min-height: 100dvh; display: flex; flex-direction: column; }
.plat-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; }
.plat-main { width: 100%; max-width: 480px; margin: 0 auto; padding: 24px 20px 72px; }
.plat-main.plat-wide { max-width: 1080px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.auth-card h1 { font-size: 24px; }
.auth-card .btn-primary { height: 42px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.shop-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; box-shadow: var(--shadow); }
.shop-card:hover { border-color: var(--border-strong); }
.shop-card strong { display: block; font-weight: 600; } .shop-card .small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card > div:nth-child(2) { min-width: 0; }
.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.preset { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--border); border-radius: var(--r); cursor: pointer; position: relative; }
.preset:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.preset input { position: absolute; opacity: 0; }
.preset:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.preset-swatch { height: 54px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: 600 20px var(--font-display); }
.preset-swatch b { width: 34px; height: 18px; border-radius: 99px; display: block; order: 2; }

/* ---------- Panel de plataforma ---------- */
.plat-tabs { border-bottom: 1px solid var(--border); padding: 0; margin: -6px 0 18px; }
.plat-narrow { max-width: 760px; }
.plat .card + .card, .plat .card + form, .plat form + .card { margin-top: 16px; }
.plat .stats .stat-value { font-size: 22px; }
