:root {
  --ink: #161618;
  --ink-2: #404248;
  --muted: #5e626b;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f6f6f7;
  --line: #e5e7eb;
  --accent: #f6821f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(246, 130, 31, .12);
  --ok: #0d8a55;
  --danger: #d92d20;
  --warn-bg: #fff4e5;
  --err-bg: #fef3f2;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22, 22, 24, .05);
  --sidebar-w: 256px;
  color-scheme: light;
}
[data-theme="dark"] {
  --ink: #f4f4f5;
  --ink-2: #c7cbd1;
  --muted: #8b909a;
  --bg: #0f1114;
  --surface: #171a1f;
  --surface-hover: #21252c;
  --line: #2a2f38;
  --accent: #ff8a2b;
  --accent-ink: #111214;
  --accent-soft: rgba(255, 138, 43, .16);
  --ok: #34d399;
  --danger: #f87171;
  --warn-bg: rgba(246, 130, 31, .16);
  --err-bg: rgba(239, 68, 68, .16);
  --shadow: 0 1px 3px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
code { background: rgba(20, 33, 61, .07); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.inline { display: inline; margin: 0; }
[hidden] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px; padding: .75rem 1.3rem;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(.95); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-small { padding: .45rem .95rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-danger { background: #b42318; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line); background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .95rem; }
.topbar nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; }
.pill { background: var(--accent-soft); color: var(--accent) !important; padding: .25rem .7rem; border-radius: 999px; font-size: .875rem; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem; }
.narrow { max-width: 560px; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .25rem 0 0; }
.stack { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
input, textarea, select {
  font: inherit; color: inherit; width: 100%;
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface);
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; }
.flash { padding: .8rem 1rem; border-radius: 10px; background: #e7eefc; }
.flash-error { background: var(--err-bg); }
.flash-warn { background: var(--warn-bg); }

/* Landing */
.hero { max-width: 860px; margin: 0 auto; padding: clamp(3rem, 9vw, 6rem) 1rem 2rem; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0 0 1rem; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 600px; margin: 0 auto 2rem; }
.prompt-box { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 1rem; text-align: left; border: 1.5px solid var(--line); }
.prompt-box textarea { border: 0; resize: vertical; padding: .4rem; font-size: 1.05rem; }
.prompt-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .875rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 1.2rem 0 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .875rem; color: var(--ink-2); }
.steps, .features, .pricing, .faq { max-width: 1100px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 2.5rem); }
.steps h2, .features h2, .pricing h2, .faq h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); text-align: center; margin-top: 0; }
.steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; padding: 0; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.steps li::before { content: "0" counter(s); display: block; color: var(--accent); font-weight: 800; margin-bottom: .4rem; }
.steps p { margin: .3rem 0 0; color: var(--ink-2); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.grid3 article { padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.grid3 h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.grid3 p { margin: 0; color: var(--ink-2); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan h3 { margin: 0; }
.price { font-size: 2.1rem; font-weight: 800; margin: .5rem 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 1.1rem; color: var(--ink-2); flex: 1; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 auto .7rem; max-width: 760px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { color: var(--ink-2); margin-bottom: 0; }
.site-footer { text-align: center; color: var(--muted); padding: 2rem; border-top: 1px solid var(--line); }

/* Dashboard */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; }
.project-card { color: inherit; text-decoration: none; display: block; transition: transform .12s; }
.project-card:hover { transform: translateY(-2px); }
.project-card h2 { font-size: 1.2rem; margin: .6rem 0 .2rem; }
.project-card p { margin: .2rem 0; }
.badge { font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: #eef0f4; color: var(--ink-2); }
.badge-ready { background: #dcf3e5; color: var(--ok); }
.badge-working { background: var(--warn-bg); color: #8a5a00; }
.badge-error { background: var(--err-bg); color: #b42318; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border-radius: var(--radius); border: 1.5px dashed var(--line); }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.account-grid h2 { margin-top: 0; font-size: 1.15rem; }
.big { font-size: 2.4rem; font-weight: 800; margin: .3rem 0; }
.big small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* Editor */
body.wide .topbar { position: static; }
.editor { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; height: calc(100dvh - 58px); }
.chat { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--surface); min-height: 0; }
.chat-head { padding: 1rem 1.1rem .5rem; }
.chat-head h1 { font-size: 1.2rem; margin: .2rem 0 0; }
.tabs { display: flex; gap: .2rem; padding: 0 .8rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: 0; }
.tabs button { background: none; border: 0; padding: .6rem .6rem; font: inherit; font-size: .875rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { flex: 1; overflow: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; min-height: 0; }
#tab-biseda { padding: 0; }
.messages { list-style: none; margin: 0; padding: 1rem 1.1rem; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: .7rem; }
.msg { padding: .65rem .85rem; border-radius: 12px; max-width: 92%; white-space: pre-wrap; font-size: .93rem; }
.msg-user { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-assistant { background: #f2efe9; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-system { background: var(--warn-bg); align-self: stretch; font-size: .85rem; }
.msg .cost { display: block; font-size: .75rem; color: var(--muted); margin-top: .3rem; }
.progress { margin: 0 1.1rem .5rem; font-size: .875rem; color: var(--ink-2); }
.edit-form { border-top: 1px solid var(--line); padding: .8rem 1.1rem 1rem; display: grid; gap: .5rem; }
.edit-form textarea { resize: none; font-size: .93rem; }
.edit-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.versions { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.versions li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; font-size: .875rem; }
.versions li.current { border-color: var(--accent); background: var(--accent-soft); }
.subs { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.subs li { border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; font-size: .9rem; }
.subs time { color: var(--muted); font-size: .8rem; }
.subs dl, .meta { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; margin: .4rem 0 0; }
.subs dt, .meta dt { font-weight: 650; }
.subs dd, .meta dd { margin: 0; overflow-wrap: anywhere; }
.danger-zone { margin-top: 2rem; padding: 1rem; border: 1.5px solid #f3c3bf; border-radius: 12px; display: grid; gap: .6rem; }
.danger-zone h2 { font-size: 1rem; margin: 0; color: #b42318; }
.danger-zone p { margin: 0; }
.preview { display: flex; flex-direction: column; min-width: 0; background: #ece7df; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .55rem .9rem; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.seg { display: inline-flex; background: #f0ece5; border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; font: inherit; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.preview-actions { display: flex; gap: .5rem; align-items: center; }
.status-dot { font-size: .85rem; color: var(--muted); }
.frame-wrap { position: relative; flex: 1; display: flex; justify-content: center; padding: 1rem; min-height: 0; }
#frame { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--shadow); transition: width .2s; }
.frame-wrap.mobile #frame { width: 390px; max-width: 100%; }
.frame-overlay { position: absolute; inset: 1rem; display: grid; place-content: center; justify-items: center; gap: .8rem; background: rgba(251, 248, 243, .92); border-radius: 10px; text-align: center; padding: 1rem; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } .project-card { transition: none; } }

@media (max-width: 820px) {
  .editor { grid-template-columns: 1fr; height: auto; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); max-height: none; }
  .messages { max-height: 45vh; }
  .preview { height: 80vh; }
}

/* ---------------------------------------------------------------- Wizard */
.wizard-page { max-width: 680px; }
.wiz-step { border: 0; padding: 0; margin: 0; display: grid; gap: .9rem; min-width: 0; }
.wiz-step legend { font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .3rem; padding: 0; }
.wiz-step > p { margin: 0; }
.wiz-num { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .85rem; flex: none; }
.wizard:not(.is-wizard) .wiz-step { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.wizard:not(.is-wizard) [data-wiz="submit"] { justify-self: start; }
.is-wizard .wiz-step legend { font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.2; }
.is-wizard .wiz-num { display: none; }
.wiz-progress { margin: 1.2rem 0 1.6rem; }
.wiz-bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.wiz-count { margin: .5rem 0 0; }
.wiz-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: .6rem; }
.wiz-nav [data-wiz="back"] { margin-right: auto; }
.wiz-error { margin: 0; padding: .7rem .9rem; border-radius: 10px; background: var(--err-bg); }
.input-big { font-size: 1.25rem; font-weight: 700; padding: .9rem 1rem; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.choice { position: relative; display: grid; gap: .3rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 400; }
.choice:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { font-size: 1.02rem; }
.choice span:not(.swatch) { color: var(--muted); font-size: .9rem; }
.swatch { height: 38px; border-radius: 8px; margin-bottom: .3rem; border: 1px solid var(--line); }
.style-auto .swatch { background: conic-gradient(from 90deg, #e4572e, #f4b740, #2ee59d, #1d5fd1, #e4572e); }
.style-obsidian .swatch { background: linear-gradient(90deg, #0b0f0e 70%, #2ee59d 70%); }
.style-editorial .swatch { background: linear-gradient(90deg, #f6f3ec 70%, #0d6e52 70%); }
.style-amber .swatch { background: linear-gradient(90deg, #fff8ee 70%, #c2410c 70%); }
.style-ocean .swatch { background: linear-gradient(90deg, #f3f7fb 70%, #1d5fd1 70%); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .4rem .85rem; font: inherit; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .55rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 550; cursor: pointer; }
.check input { width: auto; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }

.list-add { display: flex; flex-wrap: wrap; gap: .5rem; }
.list-add input { flex: 1 1 160px; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.svc-list:empty { display: none; }
.svc-list li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.svc-list button { border: 0; background: none; font-size: 1.15rem; color: var(--muted); cursor: pointer; }
.wizard .chips { justify-content: flex-start; margin: 0; }
.wizard [hidden], .wiz-progress[hidden] { display: none !important; }

/* ---------------------------------------------------------------- Domeni */
.domain-box { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1.2rem; display: grid; gap: .7rem; }
.domain-box h2 { font-size: 1.05rem; margin: 0; }
.domain-box p { margin: 0; }
.domain-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.domain-form input { flex: 1 1 160px; }
.domain-ok a { font-weight: 700; }
.domain-actions { display: flex; align-items: center; gap: 1rem; }
.dns-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.dns-table table { border-collapse: collapse; width: 100%; font-size: .82rem; }
.dns-table th, .dns-table td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dns-table code { word-break: break-all; }

/* ------------------------------------------------- Planet dhe cilësia e AI-së */
.plan-badge { display: inline-block; margin: 0 0 .5rem; padding: .2rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 700; }
.plan-buttons { display: grid; gap: .5rem; }
.plan-buttons small { text-align: center; }
.quality { display: flex; gap: .3rem; border: 0; padding: 0; margin: 0 0 .5rem; flex-wrap: wrap; }
.quality label { cursor: pointer; }
.quality input { position: absolute; opacity: 0; pointer-events: none; }
.quality span { display: inline-block; padding: .3rem .7rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--surface); }
.quality input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.quality input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --------------------------------------------------- Redaktimi i tekstit */
.text-edit-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .55rem .9rem; background: var(--accent-soft); border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.text-edit-bar span { margin-right: auto; }
#text-edit-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }

/* ------------------------------------------------------------- Analitika */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.kpi { display: grid; gap: .1rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.kpi-v { font-size: 1.35rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi-l { font-size: .78rem; color: var(--muted); }
.small-h { font-size: .9rem; margin: 1rem 0 .4rem; }
.chart { margin: .6rem 0; }
.chart figcaption { font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.chart-plot { position: relative; padding-top: 1.1rem; }
.chart-max { position: absolute; top: 0; left: 0; }
.bars { height: 110px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line); }
.bar { position: relative; flex: 1 1 0; max-width: 24px; height: var(--h); min-height: 0; background: var(--accent); border-radius: 4px 4px 0 0; outline: none; }
.bar::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 0; height: 110px; } /* zona e hover-it më e madhe se shtylla */
.bar:hover, .bar:focus-visible { filter: brightness(.85); }
.bar[data-tip]:hover::after, .bar[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--ink); color: #fff; font-size: .75rem; padding: .3rem .5rem; border-radius: 6px; z-index: 5; pointer-events: none;
}
.bars .bar:nth-child(-n+4)[data-tip]:hover::after, .bars .bar:nth-child(-n+4)[data-tip]:focus-visible::after { left: 0; transform: none; }
.bars .bar:nth-last-child(-n+4)[data-tip]:hover::after, .bars .bar:nth-last-child(-n+4)[data-tip]:focus-visible::after { left: auto; right: 0; transform: none; }
.chart-x { display: flex; justify-content: space-between; margin-top: .3rem; }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.sources li { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: .3rem; }
.meter span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* ------------------------------------------------------------------ Fotot */
.upload { display: grid; gap: .5rem; }
.upload-drop { position: relative; display: grid; gap: .2rem; place-items: center; text-align: center; padding: 1.2rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.upload-drop:hover { border-color: var(--accent); }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-drop:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.check-inline { display: flex; align-items: center; gap: .45rem; font-weight: 550; }
.check-inline input { width: auto; }
.media-grid { list-style: none; padding: 0; margin: .8rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.media-grid li { display: grid; gap: .25rem; min-width: 0; }
.media-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.media-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-actions { display: flex; gap: .7rem; }

/* --------------------------------------------------------- Faqet dhe blogu */
.page-select { width: auto; padding: .35rem .6rem; font-size: .85rem; border-radius: 999px; }
.page-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .2rem; }
.page-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.page-actions { display: flex; align-items: center; gap: .8rem; }
.confirm-form { display: inline-flex; align-items: center; gap: .4rem; }
.confirm-form label { display: inline-flex; align-items: center; gap: .25rem; font-weight: 400; color: var(--muted); }
.confirm-form input { width: auto; }
.page-form, .post-form { border-top: 1px solid var(--line); padding-top: .4rem; }
.post-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.draft-box { display: grid; gap: .4rem; margin-bottom: 1rem; }

/* Dyqani */
.shop-part{border:1px solid var(--line, rgba(127,127,127,.3));border-radius:12px;padding:.6rem .9rem;margin:0 0 .8rem}
.shop-part > summary{cursor:pointer;font-weight:700;padding:.2rem 0}
.shop-part[open] > summary{margin-bottom:.6rem}
.count-badge{display:inline-block;background:var(--accent);color:#fff;border-radius:999px;font-size:.75rem;padding:.1rem .5rem;margin-left:.3rem}
.order-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}
.order details{border-bottom:1px solid var(--line, rgba(127,127,127,.25));padding:.3rem 0 .5rem}
.order summary{cursor:pointer;font-size:.92rem}
.order-body{padding:.4rem 0 0 .9rem}
.order-items{margin:.3rem 0;padding-left:1.1rem}
.order-status{font-weight:600}
.st-e-re{color:#F4B740}
.st-anuluar{opacity:.6;text-decoration:line-through}
.status-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.8rem}
.check{display:flex!important;gap:.5rem;align-items:center;flex-direction:row!important}
.check input{width:auto}
fieldset.checks{border:0;padding:0;margin:0;display:grid;gap:.3rem}
fieldset.checks legend{font-weight:600;margin-bottom:.3rem}

/* Ekipi */
.team-list li{align-items:flex-start}
.invite-link{width:min(100%,26rem);font-family:var(--mono, monospace);font-size:.78rem;margin-top:.35rem;padding:.3rem .45rem}
.section-h{margin:2.5rem 0 1rem}

/* Gjuhët */
.lang-list{list-style:none;padding:0;margin:0 0 1rem;display:grid;gap:.8rem}
.lang-list > li{border:1px solid var(--line, rgba(127,127,127,.3));border-radius:12px;padding:.7rem .9rem}
.lang-head{display:flex;gap:.5rem;align-items:baseline;flex-wrap:wrap}
.lang-pages{margin:.4rem 0;padding-left:1.1rem}
.lang-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.ok{color:#16a34a}
.warn{color:#b45309}

/* Ndërruesi i gjuhës së panelit (SQ · EN · MK) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line, rgba(0,0,0,.14)); border-radius: 999px; padding: 2px; margin-left: 6px; }
.lang-switch button { background: transparent; border: 0; border-radius: 999px; padding: 3px 7px; font: 600 11px/1.2 inherit; color: inherit; cursor: pointer; opacity: .72; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-current="true"] { background: var(--ink, #111); color: var(--bg, #fff); opacity: 1; }

/* AI Studio: të dhënat */
.data-table table{font-size:.85rem}
.data-table td{max-width:14rem;overflow-wrap:anywhere;vertical-align:top}

.rec-cancelled td{opacity:.55}
.data-table .status-form{display:grid;gap:.25rem;min-width:9rem}

.edit-record{margin:.8rem 0;border:2px solid var(--accent)}

.review-form{margin:.8rem 0 1rem}

.pay-settings{border-left:3px solid var(--accent);padding-left:.8rem;margin:.6rem 0 1rem}

/* Butoni Google OAuth dhe ndarësi në /hyr dhe /regjistrohu */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: #111; border: 1px solid var(--line, #d1d5db); margin-bottom: 14px; }
.btn-google:hover { background: #f8fafc; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted, #64748b); font-size: .85rem; margin: 14px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line, #e2e8f0); }

/* ================= Mjegulla-style SaaS App Shell ================= */
.app-shell { display: flex; min-height: 100vh; background: var(--bg); }
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; transition: width .18s ease; z-index: 30;
}
.sidebar.collapsed { width: 66px; }
.sidebar.collapsed .sb-text, .sidebar.collapsed .sb-group, .sidebar.collapsed .sb-footer-detail { display: none; }
.sb-head { height: 58px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sb-body { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.sb-cta { width: 100%; border-radius: 10px; padding: .55rem .9rem; margin-bottom: 8px; background: var(--ink); color: var(--bg); }
.sb-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 10px 4px; }
.sb-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 550; }
.sb-link:hover { background: var(--surface-hover); color: var(--ink); }
.sb-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.sb-ic { width: 18px; text-align: center; flex-shrink: 0; }
.sb-footer { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sb-credits { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.sb-credits-top { display: flex; justify-content: space-between; align-items: center; font-weight: 650; }
.theme-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.theme-pills button { border: 0; background: transparent; color: var(--muted); padding: 4px 2px; border-radius: 6px; font: 600 11px/1.2 inherit; cursor: pointer; }
.theme-pills button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  height: 58px; background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: sticky; top: 0; z-index: 25;
}
.app-topbar-left, .app-topbar-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; font: inherit; }
.icon-btn:hover { background: var(--surface-hover); color: var(--ink); }
.cmd-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-width: 240px; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg); color: var(--muted); cursor: pointer; font: 500 13.5px/1.2 inherit;
}
.cmd-btn:hover { border-color: var(--accent); color: var(--ink); }
.kbd { padding: 2px 6px; border-radius: 5px; font: 600 11px/1.1 ui-monospace, monospace; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.dd-wrap { position: relative; }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 250px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.25); padding: 6px; z-index: 60;
}
.dd-item { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 13.5px; }
.dd-item:hover { background: var(--surface-hover); }
.dd-item small { color: var(--muted); font-size: 12px; }
.avatar-btn { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent); font: 700 12.5px/1 inherit; cursor: pointer; }

/* Command Palette Modal */
.cmd-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); display: grid; place-items: start center; padding: 84px 16px 24px; z-index: 100; }
.cmd-modal { width: 100%; max-width: 540px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.45); overflow: hidden; }
.cmd-modal input { width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 15px/1.4 inherit; outline: none; }
.cmd-list { max-height: 340px; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.cmd-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14px; }
.cmd-list a:hover { background: var(--surface-hover); color: var(--accent); }

.mobile-only { display: none; }
@media (max-width: 900px) {
  .mobile-only { display: grid; }
  .cmd-btn { min-width: auto; }
  .cmd-btn .cmd-label { display: none; }
  .sidebar { position: fixed; left: -270px; transition: left .18s ease; }
  .sidebar.mobile-open { left: 0; }
}

/* Tablet preview & SEO audit box */
.frame-wrap.tablet iframe { width: 768px; max-width: 100%; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow); }
.seo-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 14px 0; background: var(--bg); }
.seo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.google-preview { background: #fff; color: #202124; border: 1px solid #dadce0; border-radius: 8px; padding: 10px 12px; margin: 8px 0; font-size: 13px; }
.google-preview .g-url { font-size: 11px; color: #3c4043; }
.google-preview .g-title { font-size: 15px; color: #1a0dab; font-weight: 600; margin: 2px 0; }
.google-preview .g-desc { font-size: 12.5px; color: #4d5156; }
.seo-checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 12.5px; }

/* Mjegulla-style Dashboard KPIs, Miniature Project Previews & Search */
.kpi-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.kpi-big { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 24px; }
.empty-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 20px; margin-bottom: 4px; }
.proj-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.proj-search { max-width: 280px; width: 100%; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; }
.proj-thumb { position: relative; height: 150px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); margin-bottom: 12px; display: grid; place-items: center; }
.proj-thumb iframe { position: absolute; top: 0; left: 0; width: 1200px; height: 800px; border: 0; transform: scale(.26); transform-origin: top left; pointer-events: none; background: #fff; }
.thumb-badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.proj-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.proj-open { color: var(--accent); font-weight: 600; white-space: nowrap; }
.proj-new-card { border-style: dashed; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 250px; color: var(--ink); text-decoration: none; }
.proj-new-card:hover { border-color: var(--accent); }
.proj-plus { width: 38px; height: 38px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 600; }
@media (max-width: 900px) { .kpi-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kpi-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kpi-grid-4 { grid-template-columns: 1fr; } }

/* Project Manage Hub & Help Center Hero */
.pm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pm-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.pm-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.pm-tab:hover { color: var(--ink); }
.pm-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.pm-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
.pm-preview { position: relative; height: 280px; padding: 0; overflow: hidden; background: var(--bg); }
.pm-preview iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform: scale(.54); transform-origin: top left; pointer-events: none; background: #fff; }
.pm-tools { padding: 18px; }
.pm-tool-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; border-radius: 6px; }
.pm-tool-row:hover { background: var(--surface-hover); }
.pm-quick { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.pm-quick:hover { border-color: var(--accent); }
.pm-danger { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.pm-chart-svg { width: 100%; height: 170px; display: block; }
.badge-soft { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.pill-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill-link { padding: 6px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.pill-link.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; width: 100%; overflow: hidden; }
.activity-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.activity-row .avatar-btn { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; line-height: 1; font-size: 11px; }
.card .domain-box { border-top: 0; padding-top: 0; margin-top: 0; }

.help-hero { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #7c3aed 100%); color: #fff; border-radius: 18px; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.help-hero h1 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.help-hero p { margin: 0; max-width: 560px; color: rgba(255,255,255,.88); }
.help-pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.help-search-wrap { width: 100%; max-width: 520px; margin-top: 6px; }
.help-search { width: 100%; padding: 12px 16px; border-radius: 12px; border: 0; background: #fff; color: #111827; font: inherit; font-size: 14.5px; box-shadow: 0 10px 25px -10px rgba(0,0,0,.35); }
.help-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.help-chip { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; padding: 5px 12px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer; }
.help-chip:hover { background: rgba(255,255,255,.25); }
@media (max-width: 860px) { .pm-grid { grid-template-columns: 1fr; } .pm-preview { height: 210px; } .pm-preview iframe { transform: scale(.38); } }

/* Public landing page */
.topbar { backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.mj-prompt { background: var(--surface); border-radius: 20px; padding: 14px; border: 1.5px solid var(--line); box-shadow: 0 20px 50px -24px rgba(79, 70, 229, .28), var(--shadow); text-align: left; transition: border-color .15s, box-shadow .15s; }
.mj-prompt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 50px -24px rgba(79, 70, 229, .35); }
.mj-prompt textarea { border: 0; background: transparent; resize: vertical; padding: 6px; font-size: 1.02rem; }
.mj-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 1.15rem; }
.mj-chip { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .84rem; cursor: pointer; transition: border-color .15s, color .15s; }
.mj-chip:hover { border-color: var(--accent); color: var(--accent); }
.mj-sec { max-width: 1120px; margin: 0 auto; padding: 4rem clamp(1rem, 4vw, 2.5rem); }
.mj-sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.mj-sec-head h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: -.025em; margin: .25rem 0 .6rem; }
.mj-sec-head p { margin: 0; }
.mj-show-card { display: flex; flex-direction: column; padding: 14px; gap: 12px; }
.mj-browser { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; background: var(--bg); }
.mj-browser-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: var(--surface-hover); }
.mj-browser-bar span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.mj-browser-bar small { margin-left: 6px; font-size: 11px; color: var(--muted); }
.mj-browser-view { position: relative; height: 175px; overflow: hidden; background: #fff; }
.mj-browser-view iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 820px; border: 0; transform: scale(.255); transform-origin: top left; pointer-events: none; }
.mj-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mj-bento .card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); box-shadow: none; }
.mj-bento-wide { grid-column: span 2; }
.mj-bento h3 { margin: 4px 0 2px; font-size: 1.08rem; }
.mj-bill-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 1.2rem; }
.mj-bill-toggle button { border: 0; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mj-bill-toggle button.active { background: var(--ink); color: var(--surface); }
.mj-cta-box h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.mj-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 2rem; }
.mj-footer-grid { max-width: 1120px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.mj-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.mj-footer-col a { color: var(--muted); text-decoration: none; }
.mj-footer-col a:hover { color: var(--ink); }
.mj-footer-bottom { max-width: 1120px; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2.5rem) 2rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .mj-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mj-bento-wide { grid-column: span 2; } .mj-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mj-bento { grid-template-columns: 1fr; } .mj-bento-wide { grid-column: span 1; } .mj-footer-grid { grid-template-columns: 1fr; } }

/* Mjegulla-style Sidebar Active Pill, Settings 2-col & Pricing Polish */
.sb-link { position: relative; }
.sb-link .sb-ic { display: grid; place-items: center; }
.sb-link.active { background: var(--accent-soft); color: var(--ink); font-weight: 600; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); }
.sb-link.active .sb-ic { color: var(--accent); }
.sb-link.active::before { content: ""; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 3.5px; border-radius: 99px; background: var(--accent); }
.set-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; }
.set-nav { display: flex; flex-direction: column; gap: 4px; }
.set-link { position: relative; display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.set-link:hover { background: var(--surface-hover); color: var(--ink); }
.set-link.active { background: var(--surface); color: var(--ink); font-weight: 600; border: 1px solid var(--line); box-shadow: var(--shadow); }
.set-link.active::before { content: ""; position: absolute; left: -2px; top: 8px; bottom: 8px; width: 3px; border-radius: 99px; background: var(--accent); }
.lang-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
.lang-tile { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; }
.lang-tile input { width: auto; margin: 0; }
.lang-tile:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.mj-bill-toggle button.active .badge-soft { background: #10b981; color: #fff; }
.plan { position: relative; }
.plan-badge { position: absolute; top: -12px; left: 18px; margin: 0; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; width: auto; }
.plan ul { list-style: none; padding-left: 0; display: grid; gap: 6px; }
.plan ul li { position: relative; padding-left: 20px; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
@media (max-width: 760px) { .set-layout { grid-template-columns: 1fr; } .set-nav { flex-direction: row; overflow-x: auto; } }

/* Auth promo + Password meter + Wizard palettes + Editor AI chips */
.auth-promo { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: .88rem; font-weight: 600; margin-bottom: 1.1rem; }
.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap input { padding-right: 42px; }
.pw-eye { position: absolute; right: 8px; background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--muted); padding: 4px 6px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 4px; }
.pw-meter span { height: 4px; border-radius: 99px; background: var(--line); transition: background .15s; }
.pw-meter span.on { background: var(--ok); }
.palette-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.palette-dot { width: 16px; height: 16px; border-radius: 999px; flex: none; border: 1px solid rgba(0,0,0,.12); }
.ed-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 1.1rem 8px; border-top: 1px solid var(--line); background: var(--bg); }
.ed-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.ed-chip:hover { border-color: var(--accent); color: var(--accent); }
.progress:not([hidden]) { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mode-toggle { border: 1px solid var(--line); border-radius: 999px; padding: 2px; display: inline-flex; gap: 2px; margin: 0; background: var(--bg); }
.mode-toggle label { display: inline-flex; cursor: pointer; font-weight: 600; }
.mode-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.mode-toggle span { padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); }
.mode-toggle input:checked + span { background: var(--ink); color: var(--surface); }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Mjegulla AI Studio Workspace (Editor) */
body.wide > .topbar { display: none; }
.studio-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.studio-bar-left, .studio-bar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.studio-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font-weight: 800; display: grid; place-items: center; text-decoration: none; font-size: 14px; flex: none; }
.studio-sep { color: var(--line); font-weight: 300; }
.studio-title { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.studio-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-hover); color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); }
.studio-pill:hover { color: var(--ink); border-color: var(--accent); }
.studio-credits { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--surface-hover); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.studio-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.studio-pub { background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff; border-radius: 9px; padding: 6px 14px; }
.studio-ws { display: grid; grid-template-columns: 54px minmax(340px, 400px) 1fr; height: calc(100dvh - 52px); }
.studio-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; flex-wrap: nowrap; }
.studio-rail .rail-btn { position: relative; width: 38px; height: 38px; padding: 0; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.studio-rail .rail-btn:hover { background: var(--surface-hover); color: var(--ink); }
.studio-rail .rail-btn[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); border-bottom-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.rail-badge { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.studio-ws .chat { background: var(--bg); }
.studio-ws .msg-user { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.studio-ws .msg-assistant { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.studio-composer { background: var(--surface); margin: 0 12px 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.studio-composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.studio-composer textarea { border: 0; padding: 4px; background: transparent; }
.composer-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }
.studio-send { border-radius: 9px; padding: 6px 12px; }
.studio-ws .preview { background: color-mix(in srgb, var(--bg) 70%, var(--line)); }
.studio-ws .preview-bar { background: var(--surface); padding: 8px 14px; gap: 10px; }
.studio-ws .seg { background: var(--surface-hover); border: 1px solid var(--line); }
.url-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); max-width: 280px; }
.url-pill-text { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url-pill-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 2px 6px; border-radius: 999px; font-size: 13px; }
.url-pill-btn:hover { background: var(--surface-hover); color: var(--ink); }
/* Mjegulla 1:1 Manage Hub Polish */
.pm-proj-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.pm-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.pm-preview { aspect-ratio: 16 / 10; height: auto; border-radius: 16px; }
.pm-preview iframe { width: 1280px; height: 800px; transform-origin: top left; }
.pm-tools, .pm-side-card { padding: 0; overflow: hidden; }
.pm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pm-card-head h3 { margin: 0; font-size: .95rem; }
.pm-card-body { padding: 16px 18px; }
.pm-tools .pm-tool-row { padding: 14px 18px; border-radius: 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.pm-tools .pm-card-head + .pm-tool-row { border-top: 0; }
.pm-row-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-hover); border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.pm-row-ic-accent { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); color: var(--accent); }
.pm-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pm-quick { flex-direction: row; align-items: center; gap: 12px; padding: 16px; }
.pm-quick-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.pm-upgrade-btn { border-radius: 10px; background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff; padding: 7px 14px; }
.pm-act-btn { border-radius: 10px; }
.btn-soft-full { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 9px 14px; border-radius: 10px; background: var(--surface-hover); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.btn-soft-full:hover { border-color: var(--accent); color: var(--accent); }
.pm-danger { border-color: #fecaca; }
.btn-danger-soft { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; align-self: flex-start; }
.btn-danger-soft:hover { background: #fee2e2; }
@media (max-width: 860px) { .studio-ws { grid-template-columns: 1fr; height: auto; } .studio-rail { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; padding: 6px 10px; } .url-pill { display: none; } }
@media (max-width: 640px) { .pm-quick-grid { grid-template-columns: 1fr; } }

/* Cloudflare Architectural App & Panel Polish */
.mj-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mj-cmp-dark { background: #0f172a; color: #f8fafc; border-radius: 16px; padding: 26px 24px; border: 1px solid #1e293b; }
.mj-cmp-krijo { background: linear-gradient(135deg, #d95d0a 0%, #f6821f 55%, #fbad41 100%); color: #fff; border-radius: 16px; padding: 26px 24px; box-shadow: 0 18px 42px -18px rgba(246, 130, 31, .36); }
.mj-cmp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); margin-bottom: 10px; }
.mj-cmp-dark h3, .mj-cmp-krijo h3 { margin: 0 0 14px; font-size: 1.25rem; color: #fff; }
.mj-cmp-dark ul, .mj-cmp-krijo ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.mj-cmp-dark li { padding-left: 22px; position: relative; color: #cbd5e1; }
.mj-cmp-dark li::before { content: "✕"; position: absolute; left: 0; color: #f87171; font-weight: 700; }
.mj-cmp-krijo li { padding-left: 22px; position: relative; color: rgba(255,255,255,.96); }
.mj-cmp-krijo li::before { content: "✓"; position: absolute; left: 0; color: #fff; font-weight: 800; }
@media (max-width: 760px) { .mj-compare { grid-template-columns: 1fr; } }

.btn { border-radius: 8px; font-weight: 650; }
.sidebar { background: #fafafa; border-right: 1px solid var(--line); }
[data-theme="dark"] .sidebar { background: #14171c; }
.sb-link { border-radius: 8px; padding: 9px 12px; }
.sb-link.active { background: var(--accent-soft); color: #b54708; border-color: rgba(246, 130, 31, .28); font-weight: 650; }
[data-theme="dark"] .sb-link.active { color: #ffb36b; }
.sb-link.active::before { display: none; }
.sb-cta { border-radius: 8px; background: var(--accent); color: #fff; border: 0; box-shadow: none; }
.sb-cta:hover { background: #e06d0b; filter: none; }
.app-topbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.cmd-btn { border-radius: 8px; background: var(--surface-hover); border: 1px solid var(--line); }
.studio-bar { background: var(--bg); }
.studio-logo { background: linear-gradient(135deg, #f6821f, #fbad41); border-radius: 8px; }
.studio-pub, .pm-upgrade-btn { background: var(--accent); color: #fff; border-radius: 8px; }
.studio-rail { background: #fafafa; }
[data-theme="dark"] .studio-rail { background: #14171c; }
.studio-rail .rail-btn { border-radius: 8px; }
.studio-rail .rail-btn[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.studio-ws .chat { background: var(--surface); }
.studio-composer { background: var(--surface-hover); border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; box-shadow: none; }
.studio-composer:focus-within { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.studio-send { border-radius: 8px; padding: 6px 14px; }
.mj-grad { background: linear-gradient(110deg, #f6821f 0%, #fbad41 55%, #e0530a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.help-hero { background: linear-gradient(135deg, #d95d0a 0%, #f6821f 55%, #fbad41 100%); }
.auth-promo { background: linear-gradient(135deg, #e06d0b, #f6821f); border-radius: 8px; }

/* Faqja Kredite */
.credit-kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 1rem 0 2rem; }
.credit-kpis .kpi-v { font-size: 1.8rem; font-weight: 800; }
.credit-packs { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.credit-pack .price { font-size: 2rem; font-weight: 800; margin: .2rem 0; }
.credit-pack form { margin-top: auto; }
.credit-pack .btn { width: 100%; }
.credit-pack input[type=range] { width: 100%; accent-color: var(--accent); }
.cc-scale { display: flex; justify-content: space-between; margin: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.credit-info .table { width: 100%; border-collapse: collapse; }
.credit-info .table td { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.credit-info .right { text-align: right; font-weight: 600; }
.credit-info details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.credit-info summary { cursor: pointer; font-weight: 600; }
