/*
 * /looksy/… — Looksy pages. Built on designs.css (tokens, cards, buttons, hero, forms, chips, pagination); only what
 * the Looksy views add lives here. Prefix: lk-. Accent: violet (124, 58, 237) beside the brand blue.
 */
:root { --lk: 124, 58, 237; }

/* ---------- type, small pieces ---------- */
.lk-h1 { margin: 0 0 4px; font-size: clamp(1.35rem, 1.2vw + 1rem, 1.8rem); line-height: 1.2; font-weight: 900; color: var(--text); letter-spacing: -.01em; }
.lk-h2 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 900; color: var(--text-dark); }
.lk-h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: .95rem; font-weight: 900; color: var(--text-dark); }
.lk-h3 .material-icons { font-size: 19px; color: rgb(var(--lk)); }
.lk-lead { margin: 6px 0 12px; color: var(--text-body); line-height: 1.6; }
.lk-small { font-size: .82rem; }
.lk-center { justify-content: center; }
.lk-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--tone, var(--lk))); }
.lk-eyebrow .material-icons { font-size: 16px; }
.lk-label-note { font-weight: 600; font-size: .78rem; color: var(--text-muted); }
.lk-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lk-btn-row form { margin: 0; }
.lk-note { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--text-muted); font-size: .82rem; font-weight: 650; }
.lk-note .material-icons { font-size: 16px; color: rgb(var(--lk)); }
.lk-notice { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; background: #f5f0ff; color: #4c1d95; font-weight: 650; font-size: .88rem; line-height: 1.45; }
.lk-notice .material-icons { font-size: 19px; margin-top: 1px; }
.lk-notice.is-error { background: #fef3f2; color: #b42318; }
.lk-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 850; background: #eef1f6; color: #414a5a; white-space: nowrap; }
.lk-pill.is-done { background: #ecfdf3; color: #067647; }
.lk-pill.is-draft { background: #fffaeb; color: #b54708; }
.lk-pill.is-wear { background: #fdf2fa; color: #c11574; }
.lk-count { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: rgba(56, 58, 63, .08); font-size: .7rem; font-weight: 850; color: var(--text-muted); }
.lk-linkbtn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 4px 0; color: rgb(var(--lk)); font-weight: 800; font-size: .84rem; cursor: pointer; }
.lk-linkbtn .material-icons { font-size: 17px; }
.lk-linkbtn.is-danger { color: #b42318; }
.lk-linkbtn:hover { text-decoration: underline; }
.lk-danger { background: #fee4e2; color: #b42318; }
.lk-danger:hover { background: #fecdca; color: #912018; }
.brand-btn:disabled, .templates-cta:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.brand-btn.is-busy .material-icons, .templates-cta.is-busy .material-icons { animation: lk-spin 1s linear infinite; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
.lk-chips .bd-chip[aria-current="page"] { background: rgb(var(--lk)); color: #fff; }
.lk-chips .bd-chip[aria-current="page"] .lk-count { background: rgba(255, 255, 255, .22); color: #fff; }
.lk-chips { margin-top: 2px; }

/* ---------- section bar + menu ---------- */
.lk-subnav { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.lk-tabs { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lk-tabs::-webkit-scrollbar { display: none; }
.lk-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 13px 12px 12px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--text-muted); font-weight: 800; font-size: .9rem; white-space: nowrap; transition: color .15s, border-color .15s; }
.lk-tabs a .material-icons { font-size: 18px; opacity: .75; }
.lk-tabs a:hover { color: var(--text-dark); text-decoration: none; }
.lk-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: rgb(var(--lk)); }
.lk-tabs a[aria-current="page"] .material-icons { color: rgb(var(--lk)); opacity: 1; }
.lk-signin { flex: 0 0 auto; margin-bottom: 6px; }
.lk-me { position: relative; flex: 0 0 auto; margin-bottom: 6px; }
.lk-me > summary { list-style: none; }
.lk-me > summary::-webkit-details-marker { display: none; }
.lk-me-btn { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; max-width: 250px; transition: border-color .15s, box-shadow .15s; }
.lk-me-btn:hover, .lk-me[open] .lk-me-btn, .lk-me.is-active .lk-me-btn { border-color: rgba(var(--lk), .4); box-shadow: 0 8px 20px rgba(var(--lk), .12); }
.lk-me-avatar { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: #fff; font-weight: 900; font-size: .85rem; object-fit: contain; }
img.lk-me-avatar { background: #fff; border: 1px solid var(--line); }
.lk-me-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; text-align: left; }
.lk-me-k { font-weight: 850; font-size: .8rem; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-me-v { font-size: .72rem; color: var(--text-muted); font-weight: 700; white-space: nowrap; }
.lk-me-caret { color: var(--text-muted); }
.lk-me-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 24px 60px rgba(10, 20, 30, .18); }
.lk-me-panel > a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text-dark); font-weight: 800; font-size: .86rem; }
.lk-me-panel > a:hover, .lk-me-panel > a[aria-current] { background: #f6f2ff; text-decoration: none; }
.lk-me-panel > a > span:nth-child(2) { display: flex; flex-direction: column; }
.lk-me-panel small { font-weight: 600; font-size: .74rem; color: var(--text-muted); }
.lk-me-panel .material-icons { color: rgb(var(--lk)); }
.lk-me-ai { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--line-soft); }
.lk-me-ai-row { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--text-muted); font-weight: 700; }
.lk-me-ai-row strong { color: var(--text-dark); }
.lk-me-sub { font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.lk-meter { height: 7px; border-radius: 999px; background: #ede7fe; overflow: hidden; }
.lk-meter > span { display: block; height: 100%; border-radius: inherit; background: rgb(var(--lk)); }
.lk-meter.is-full { background: #fef0c7; }
.lk-meter.is-full > span { background: #f79009; }

.lk-callout { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-color: #ddd6fe; background: linear-gradient(135deg, #f8f5ff, #fff); color: var(--text-dark); }
.lk-callout:hover { text-decoration: none; box-shadow: var(--shadow-tpl); }
.lk-callout > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lk-callout-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #ede9fe; color: rgb(var(--lk)); font-size: 22px; }

/* ---------- page heads, toolbars ---------- */
.lk-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 2px 16px; }
.lk-page-head p { margin: 0; }
.lk-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 2px 16px; }
.lk-welcome p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lk-dots { display: inline-flex; gap: 3px; }
.lk-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, .12); }
.lk-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 2px 14px; }
.lk-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 460px; margin: 0; }
.lk-search > .material-icons { position: absolute; left: 12px; font-size: 19px; color: #667085; pointer-events: none; }
.lk-search input { width: 100%; height: 38px; padding: 0 12px 0 38px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .12); background: #fff; font-size: .92rem; }
.lk-search input:focus, .lk-select select:focus { outline: none; border-color: rgba(var(--lk), .55); box-shadow: 0 0 0 4px rgba(var(--lk), .12); }
.lk-select select { height: 38px; padding: 0 30px 0 12px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, .12); background-color: #fff; font-weight: 700; font-size: .88rem; color: var(--text-dark); }
.lk-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 12px; background: #f2f0f9; }
.lk-seg > a, .lk-seg > button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 0; border-radius: 9px; background: none; color: var(--text-muted); font-weight: 800; font-size: .8rem; cursor: pointer; }
.lk-seg > a .material-icons { font-size: 16px; }
.lk-seg > a:hover, .lk-seg > button:hover { color: var(--text-dark); text-decoration: none; }
.lk-seg > .is-on { background: #fff; color: rgb(var(--lk)); box-shadow: 0 2px 6px rgba(15, 23, 42, .08); }

/* ---------- hero (guests) ---------- */
.lk-hero { background: radial-gradient(1200px 400px at 85% 10%, rgba(var(--lk), .14), transparent 60%), radial-gradient(800px 380px at 0% 100%, rgba(219, 39, 119, .08), transparent 60%), #fff; }
.lk-hero-points { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text-dark); font-weight: 750; font-size: .86rem; }
.lk-hero-points li { display: inline-flex; align-items: center; gap: 5px; }
.lk-hero-points .material-icons { font-size: 18px; color: #16a34a; }
.lk-hero-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 420px; margin-left: auto; }
.lk-hero-shot { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #f6f2ff, #fff); border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 22px 50px rgba(10, 20, 30, .14); }
.lk-hero-shot:nth-child(2n) { transform: translateY(22px); }
.lk-hero-shot img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.lk-hero-shot figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 850; color: var(--text-dark); }

/* ---------- tools, how, models, formats, roles, FAQ, banner ---------- */
.lk-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.lk-tool { --tone: var(--lk); display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(var(--tone), .07), #fff 60%); color: var(--text-body); font-size: .88rem; line-height: 1.5; }
.lk-tool strong { color: var(--text); font-size: .98rem; }
.lk-tool.is-link { transition: transform .15s var(--ease), box-shadow .15s; }
.lk-tool.is-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-tpl); }
.lk-tool-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; color: rgb(var(--tone)); font-weight: 850; font-size: .84rem; }
.lk-tool-cta .material-icons { font-size: 17px; }
.lk-tool-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--tone, var(--lk)), .12); color: rgb(var(--tone, var(--lk))); }
.lk-tool-icon .material-icons { font-size: 22px; }
.lk-tools-dash { margin: 0; }
.lk-tools-dash .lk-tool { border-color: var(--line); }
.lk-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: lkhow; }
.lk-how li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--surface-2); color: var(--text-body); font-size: .88rem; line-height: 1.5; }
.lk-how li strong { color: var(--text); }
.lk-model-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.lk-model-mini { margin: 0; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #f6f2ff, #fff); border: 1px solid var(--line-soft); }
.lk-model-mini img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.lk-model-mini figcaption { display: flex; flex-direction: column; padding: 7px 9px 9px; font-size: .76rem; color: var(--text-muted); font-weight: 650; }
.lk-model-mini strong { color: var(--text-dark); font-size: .82rem; }
.lk-format-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-format-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #f0f9ff; color: #075985; font-weight: 800; font-size: .82rem; }
.lk-format-chip .material-icons { font-size: 16px; }
.lk-format-chip small { color: #0e7490; font-weight: 650; opacity: .8; }
.lk-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lk-role-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-soft); background: #fff; color: var(--text-dark); transition: border-color .15s, box-shadow .15s, transform .15s var(--ease); }
.lk-role-card:hover { text-decoration: none; border-color: rgba(var(--tone), .35); box-shadow: 0 12px 28px rgba(var(--tone), .12); transform: translateY(-1px); }
.lk-role-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: .82rem; line-height: 1.35; }
.lk-role-card strong { font-size: .92rem; color: var(--text); }
.lk-role-go { color: rgb(var(--tone)); font-size: 20px; }
.lk-faq { display: flex; flex-direction: column; gap: 8px; }
.lk-faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; }
.lk-faq summary { padding: 12px 14px; font-weight: 850; color: var(--text-dark); cursor: pointer; }
.lk-faq p { margin: 0; padding: 0 14px 14px; color: var(--text-body); line-height: 1.6; }
.lk-banner { margin-top: 6px; }
.lk-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; border-radius: 18px; background: var(--grad-cta); color: #fff; box-shadow: 0 22px 50px rgba(var(--lk), .25); }
.lk-banner-inner h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 900; }
.lk-banner-inner p { margin: 0; opacity: .92; }
.lk-banner-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lk-banner-cta { background: #fff !important; color: rgb(var(--lk)) !important; }
.lk-banner-link { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 800; }
.lk-banner-link .material-icons { font-size: 18px; }

/* ---------- role pages ---------- */
.lk-role-hero { display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: 18px; background: radial-gradient(900px 300px at 100% 0%, rgba(var(--tone), .12), transparent 60%), #fff; }
.lk-role-hero-icon { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(var(--tone), .12); color: rgb(var(--tone)); }
.lk-role-hero-icon .material-icons { font-size: 34px; }
.lk-role-hero .lk-lead { max-width: 680px; }
.lk-points { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.lk-points li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-dark); font-weight: 700; }
.lk-points .material-icons { font-size: 20px; color: #16a34a; }

/* ---------- dashboard ---------- */
.lk-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lk-stat { --tone: var(--lk); display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--text-dark); }
a.lk-stat:hover { text-decoration: none; box-shadow: var(--shadow-tpl); }
.lk-stat-k { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--text-muted); }
.lk-stat-k .material-icons { font-size: 18px; color: rgb(var(--tone)); }
.lk-stat-v { font-size: 1.6rem; font-weight: 900; color: var(--text); line-height: 1.1; }
.lk-stat-h { font-size: .76rem; color: var(--text-muted); font-weight: 650; }
.lk-stat-ai { background: linear-gradient(160deg, rgba(var(--tone), .08), #fff 70%); }
.lk-check-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lk-ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(rgb(var(--lk)) calc(var(--p) * 1%), #ede7fe 0); }
.lk-ring > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .74rem; font-weight: 900; color: var(--text-dark); }
.lk-checklist { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lk-checklist li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-weight: 750; font-size: .88rem; color: var(--text-dark); }
.lk-checklist li .material-icons { font-size: 20px; color: #98a2b3; }
.lk-checklist li.is-done { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(15, 23, 42, .25); }
.lk-checklist li.is-done .material-icons { color: #16a34a; }
.lk-checklist li.is-next { background: #f6f2ff; }
.lk-checklist li.is-next .material-icons { color: rgb(var(--lk)); }
.lk-checklist a { color: inherit; }
.lk-brand-mini { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.lk-brand-mini img { border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.lk-swatch-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.lk-swatch-row span { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(15, 23, 42, .12); }

/* ---------- layouts ---------- */
.lk-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin: 0 0 16px; }
.lk-split-form { grid-template-columns: minmax(0, 1fr) 300px; }
.lk-split-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.lk-side { display: flex; flex-direction: column; gap: 10px; }
.lk-sticky { position: sticky; top: 16px; }
.lk-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lk-form-gap { margin-top: 14px; }
.lk-step { margin: 0 0 16px; }
.lk-step-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.lk-step-head p { margin: 0; }
.lk-step-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--lk)); color: #fff; font-weight: 900; font-size: .9rem; }
.lk-settings { margin-bottom: 4px; }
.lk-step .bd-form-grid label, .lk-step .bd-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .86rem; color: var(--text-dark); }
.lk-step .bd-form-grid label[hidden] { display: none; }
.lk-go { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.lk-tips ul { margin: 0; padding-left: 18px; color: var(--text-body); line-height: 1.6; font-size: .88rem; }
.lk-danger-zone { border-color: #fecdca; }

/* ---------- product & gallery cards ---------- */
.lk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 0 0 16px; }
.lk-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text-dark); transition: transform .15s var(--ease), box-shadow .15s; }
.lk-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-tpl); }
.lk-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #f7f7fb; overflow: hidden; }
.lk-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.lk-grid-ads .lk-card-media img { object-fit: cover; padding: 0; }
.lk-card-media.is-draft { background: repeating-linear-gradient(45deg, #fffaeb, #fffaeb 10px, #fff 10px, #fff 20px); }
.lk-card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.lk-card-title { font-weight: 850; font-size: .9rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .76rem; color: var(--text-muted); font-weight: 700; }
.lk-card-meta .material-icons { font-size: 15px; }
.lk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.lk-tiles-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0 0 16px; }
.lk-tiles-tall .lk-tile-media { aspect-ratio: 3 / 4; }
.lk-tile { display: flex; flex-direction: column; gap: 3px; color: var(--text-dark); }
.lk-tile:hover { text-decoration: none; }
.lk-tile-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #f4f2fb; border: 1px solid var(--line-soft); transition: box-shadow .15s, transform .15s var(--ease); }
.lk-tile:hover .lk-tile-media { box-shadow: var(--shadow-tpl); transform: translateY(-2px); }
.lk-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.lk-tile-blank { font-size: 40px; color: rgba(var(--tone, var(--lk)), .5); }
.lk-kind { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: rgb(var(--tone, var(--lk))); font-size: .7rem; font-weight: 850; }
.lk-kind .material-icons { font-size: 14px; }
.lk-fav { position: absolute; right: 8px; top: 8px; color: #f59e0b; font-size: 20px; text-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.lk-tile-name { margin-top: 4px; font-weight: 850; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-tile-when { font-size: .74rem; color: var(--text-muted); font-weight: 650; }

/* ---------- empty states ---------- */
.lk-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 20px; }
.lk-empty p { max-width: 460px; margin: 0 0 6px; }
.lk-empty-hero { padding: 42px 20px; }
.lk-empty-inline { flex-direction: row; align-items: center; text-align: left; padding: 10px 0; }
.lk-empty-art { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(var(--lk), .16), rgba(219, 39, 119, .1)); color: rgb(var(--lk)); }
.lk-empty-art .material-icons { font-size: 32px; }

/* ---------- media pages ---------- */
.lk-media { position: relative; margin: 0; display: grid; place-items: center; min-height: 320px; padding: 12px; background: #f7f6fb; overflow: hidden; }
.lk-media img { max-width: 100%; max-height: 78vh; border-radius: 10px; object-fit: contain; }
.lk-media.is-draft { background: repeating-linear-gradient(45deg, #fffaeb, #fffaeb 14px, #fff 14px, #fff 28px); }
.lk-draft-art { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #b54708; text-align: center; }
.lk-draft-art .material-icons { font-size: 48px; }
.lk-draft-art strong { font-size: 1.1rem; }
.lk-detail { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 4px; }
.lk-detail .lk-h1 { margin: 0; }
.lk-detail p { margin: 0; }
.lk-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lk-title-row form { margin: 0; }
.lk-star { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: #98a2b3; display: grid; place-items: center; cursor: pointer; }
.lk-star:hover { border-color: #fcd34d; color: #f59e0b; }
.lk-star.is-on { color: #f59e0b; border-color: #fde68a; background: #fffbeb; }
.lk-make { display: grid; gap: 8px; margin-top: 4px; }
.lk-make-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--tone), .07), #fff 60%); color: var(--text-dark); transition: box-shadow .15s, transform .15s var(--ease); }
.lk-make-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-tpl); }
.lk-make-btn > .material-icons { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--tone), .12); color: rgb(var(--tone)); }
.lk-make-btn > span:last-child { display: flex; flex-direction: column; }
.lk-make-btn small { color: var(--text-muted); font-weight: 650; font-size: .78rem; }
.lk-parts { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-part { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text-dark); }
a.lk-part:hover { text-decoration: none; border-color: rgba(var(--lk), .35); }
.lk-part img { width: 44px; height: 56px; border-radius: 8px; object-fit: cover; object-position: top; background: #f7f7fb; }
.lk-part img.is-contain { object-fit: contain; }
.lk-part > span { display: flex; flex-direction: column; font-size: .84rem; }
.lk-part small { color: var(--text-muted); font-weight: 650; font-size: .72rem; }
.lk-inline-form { padding: 14px; border-radius: 14px; background: var(--surface-2); gap: 10px; }
.lk-delete-line { margin: 0; }
.lk-prompt { border-radius: 12px; border: 1px solid var(--line-soft); background: #fff; }
.lk-prompt summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 800; font-size: .84rem; color: var(--text-dark); cursor: pointer; }
.lk-prompt summary .material-icons { font-size: 18px; color: rgb(var(--lk)); }
.lk-prompt p { padding: 0 12px 12px; color: var(--text-body); font-size: .84rem; line-height: 1.55; }
.lk-kv { display: flex; flex-direction: column; gap: 0; margin: 0; border-top: 1px solid var(--line-soft); }
.lk-kv > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .88rem; }
.lk-kv dt { color: var(--text-muted); font-weight: 750; }
.lk-kv dd { margin: 0; color: var(--text-dark); font-weight: 650; }
.lk-kv .lk-swatch-row { margin: 0; }
.lk-cta-sample { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgb(var(--lk)); color: #fff; font-weight: 800; font-size: .8rem; }

/* ---------- pickers (radio / checkbox cards) ---------- */
.lk-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.lk-pick-models { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.lk-pick-row { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; align-items: start; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scrollbar-width: thin; }
.lk-pick, .lk-pick-wrap { position: relative; }
.lk-pick { display: flex; flex-direction: column; border-radius: 14px; border: 2px solid var(--line); background: #fff; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lk-pick:hover { border-color: rgba(var(--lk), .4); }
.lk-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lk-pick:has(input:checked) { border-color: rgb(var(--lk)); box-shadow: 0 0 0 4px rgba(var(--lk), .14); }
.lk-pick:has(input:focus-visible) { outline: 3px solid var(--focus-blue); outline-offset: 2px; }
.lk-pick.is-checked { border-color: rgb(var(--lk)); box-shadow: 0 0 0 4px rgba(var(--lk), .14); }
.lk-pick-img { display: block; aspect-ratio: 3 / 4; background: linear-gradient(180deg, #f6f2ff, #fff); }
.lk-pick-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lk-pick-img.is-contain { aspect-ratio: 1 / 1; background: #f7f7fb; }
.lk-pick-img.is-contain img { object-fit: contain; padding: 8px; }
.lk-pick-name { display: flex; flex-direction: column; padding: 7px 9px 9px; font-size: .74rem; color: var(--text-muted); font-weight: 650; line-height: 1.3; }
.lk-pick-name strong { color: var(--text-dark); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-pick-check { position: absolute; right: 6px; top: 6px; color: rgb(var(--lk)); background: #fff; border-radius: 50%; font-size: 22px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.lk-pick:has(input:checked) .lk-pick-check, .lk-pick.is-checked .lk-pick-check { opacity: 1; transform: none; }
.lk-pick[hidden] { display: none; }
.lk-pick-del { position: absolute; left: 6px; top: 6px; margin: 0; z-index: 2; }
.lk-pick-del .brand-btn { background: rgba(255, 255, 255, .94); }
.lk-pick-add { border-style: dashed; background: #faf8ff; }
.lk-pick-add:hover { text-decoration: none; }
.lk-pick-add-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 160px; padding: 12px; text-align: center; color: var(--text-muted); font-size: .74rem; font-weight: 650; cursor: pointer; }
.lk-pick-add-inner .material-icons { font-size: 30px; color: rgb(var(--lk)); }
.lk-pick-add-inner strong { color: var(--text-dark); font-size: .84rem; }
.lk-pick-add input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lk-mine-title { margin-top: 18px; }
.lk-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.lk-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lk-type { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lk-type:hover { border-color: rgba(var(--lk), .4); }
.lk-type input { position: absolute; opacity: 0; pointer-events: none; }
.lk-type:has(input:checked) { border-color: rgb(var(--lk)); box-shadow: 0 0 0 4px rgba(var(--lk), .14); background: #fbf9ff; }
.lk-type:has(input:focus-visible) { outline: 3px solid var(--focus-blue); outline-offset: 2px; }
.lk-type > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; line-height: 1.4; }
.lk-type strong { color: var(--text); font-size: .92rem; }
.lk-goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; padding: 0; border: 0; }
.lk-goal-grid legend, .lk-colors legend, .lk-radio-seg legend, .lk-color-pick legend { margin-bottom: 8px; padding: 0; font-weight: 800; font-size: .86rem; color: var(--text-dark); }
.lk-format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lk-format { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lk-format:hover { border-color: rgba(var(--lk), .4); }
.lk-format input { position: absolute; opacity: 0; pointer-events: none; }
.lk-format:has(input:checked) { border-color: rgb(var(--lk)); box-shadow: 0 0 0 4px rgba(var(--lk), .14); }
.lk-format:has(input:focus-visible) { outline: 3px solid var(--focus-blue); outline-offset: 2px; }
.lk-format-box { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; }
.lk-format-box > span { display: block; max-width: 34px; max-height: 34px; width: 34px; border-radius: 4px; border: 2px solid rgb(var(--lk)); background: rgba(var(--lk), .1); }
.lk-format-text { display: flex; flex-direction: column; min-width: 0; font-size: .74rem; color: var(--text-muted); font-weight: 650; }
.lk-format-text strong { color: var(--text-dark); font-size: .82rem; line-height: 1.25; }
.lk-style-rows { display: flex; flex-direction: column; gap: 12px; }
.lk-radio-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.lk-radio-seg legend { float: left; width: 90px; margin: 7px 0 0; }
.lk-radio-seg label { position: relative; cursor: pointer; }
.lk-radio-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lk-radio-seg label > span { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: .82rem; color: var(--text-dark); transition: all .15s; }
.lk-radio-seg label:hover > span { border-color: rgba(var(--lk), .4); }
.lk-radio-seg input:checked + span { background: rgb(var(--lk)); border-color: rgb(var(--lk)); color: #fff; }
.lk-radio-seg input:focus-visible + span { outline: 3px solid var(--focus-blue); outline-offset: 2px; }

/* ---------- uploads ---------- */
.lk-drop { position: relative; display: grid; place-items: center; min-height: 260px; border-radius: 16px; border: 2px dashed rgba(var(--lk), .35); background: #faf8ff; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; }
.lk-drop:hover, .lk-drop.is-over { border-color: rgb(var(--lk)); background: #f5f0ff; }
.lk-drop.has-error { border-color: #f04438; }
.lk-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lk-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; text-align: center; color: var(--text-muted); font-size: .82rem; font-weight: 650; pointer-events: none; }
.lk-drop-empty .material-icons { font-size: 40px; color: rgb(var(--lk)); }
.lk-drop-empty strong { color: var(--text-dark); font-size: .98rem; }
.lk-drop-img { max-width: 100%; max-height: 340px; object-fit: contain; padding: 10px; pointer-events: none; }
.lk-drop-sm { min-height: 170px; margin-bottom: 12px; }
.lk-drop-sm .lk-drop-img { max-height: 160px; }

/* ---------- colours ---------- */
.lk-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.lk-colors legend { grid-column: 1 / -1; }
.lk-color-field { display: flex; align-items: center; gap: 6px; }
.lk-color-field input[type="color"] { flex: 0 0 auto; width: 40px; height: 40px; padding: 2px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.lk-color-field input[type="color"][data-empty] { opacity: .45; }
.lk-color-field .brand-form-field { min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: lowercase; }
.lk-color-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.lk-color-pick legend { width: 100%; }
.lk-color-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; cursor: pointer; }
.lk-color-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lk-color-chip span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, .12); }
.lk-color-chip:has(input:checked) { border-color: rgb(var(--lk)); box-shadow: 0 0 0 3px rgba(var(--lk), .14); }
.lk-color-chip:has(input:not(:checked)) { opacity: .5; }
.lk-color-extra .brand-form-field { width: 120px; height: 34px; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- waiting for the AI ---------- */
.lk-wait { max-width: 380px; padding: 28px 26px 22px; border: 0; border-radius: 20px; text-align: center; box-shadow: 0 30px 80px rgba(10, 20, 30, .3); }
.lk-wait::backdrop { background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px); }
.lk-wait p { margin: 6px 0 0; }
.lk-wait-orb { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; background: var(--grad-cta); color: #fff; animation: lk-pulse 1.6s ease-in-out infinite; }
.lk-wait-orb .material-icons { font-size: 30px; animation: lk-spin 3s linear infinite; }
@keyframes lk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--lk), .45); } 50% { box-shadow: 0 0 0 16px rgba(var(--lk), 0); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .lk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lk-model-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .lk-split, .lk-split-form, .lk-split-media { grid-template-columns: minmax(0, 1fr); }
    .lk-sticky { position: static; }
    .lk-type-grid, .lk-how { grid-template-columns: minmax(0, 1fr); }
    .lk-media { min-height: 220px; }
}
@media (max-width: 640px) {
    .lk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lk-stat-ai { grid-column: 1 / -1; }
    .lk-goal-grid, .lk-colors { grid-template-columns: minmax(0, 1fr); }
    .lk-me-text, .lk-me-caret { display: none; }
    .lk-me-btn { padding: 4px; }
    .lk-me-panel { width: min(300px, calc(100vw - 32px)); }
    .lk-role-hero { flex-direction: column; padding: 20px; }
    .lk-banner-inner { padding: 22px 20px; }
    .lk-radio-seg legend { float: none; width: 100%; margin: 0 0 6px; }
    .lk-pick-grid, .lk-pick-models { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
    .lk-kv > div { grid-template-columns: 90px minmax(0, 1fr); }
    .lk-empty-inline { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .lk-wait-orb, .lk-wait-orb .material-icons, .brand-btn.is-busy .material-icons, .templates-cta.is-busy .material-icons { animation: none; }
    .lk-tool.is-link:hover, .lk-card:hover, .lk-tile:hover .lk-tile-media, .lk-role-card:hover, .lk-make-btn:hover { transform: none; }
}
