
:root {
  --bg: #f8f8f6;
  --text: #111111;
  --muted: #6f6f6f;
  --line: #e8e8e5;
  --card: #ffffff;
  --black: #050505;
  --soft: #f1f1ee;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; justify-content: space-between; align-items: center;
  padding: 0 56px; backdrop-filter: blur(20px);
  background: rgba(248,248,246,.78); border-bottom: 1px solid rgba(0,0,0,.06);
}
.logo { font-size: 17px; font-weight: 800; letter-spacing: .35em; }
.nav-links { display: flex; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nav-cta { background: var(--black); color: white; padding: 14px 22px; border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero {
  min-height: 100vh; padding: 150px 72px 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  background: radial-gradient(circle at 80% 40%, rgba(0,0,0,.10), transparent 34%),
              linear-gradient(120deg, #ffffff 0%, #f7f7f4 45%, #e7e4df 100%);
}
.page-hero {
  padding: 150px 72px 72px;
  text-align: center;
  background: linear-gradient(120deg, #ffffff 0%, #f7f7f4 55%, #ece9e3 100%);
}
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #555; margin-bottom: 18px; }
h1 { font-size: clamp(48px, 7vw, 104px); line-height: .92; margin: 0; letter-spacing: -0.075em; }
.page-hero h1 { max-width: 1000px; margin: auto; }
.page-hero p, .hero p { font-size: 20px; line-height: 1.55; color: #333; max-width: 720px; margin: 28px auto 0; letter-spacing: -0.025em; }
.hero p { margin-left: 0; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.page-hero .buttons { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  border: 1px solid var(--line); background: #fff; transition: .25s ease;
}
.btn.primary { background: var(--black); color: white; border-color: var(--black); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.portrait-card {
  min-height: 650px; border-radius: 42px; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%),
              url("https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&w=1100&q=80");
  background-size: cover; background-position: center; box-shadow: var(--shadow); position: relative;
}
.hero-stats { position: absolute; right: 28px; bottom: 28px; display: grid; gap: 12px; width: 210px; }
.stat-mini { background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.45); border-radius: 22px; padding: 18px; }
.stat-mini strong { font-size: 32px; display: block; letter-spacing: -0.05em; }
.stat-mini span { color: #555; font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.35; }
section { padding: 96px 72px; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(36px, 5vw, 68px); margin: 0 0 16px; letter-spacing: -0.06em; line-height: .96; }
.section-head p { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.55; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; max-width: 1200px; margin: auto; }
.about-photo {
  min-height: 420px; border-radius: 32px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)),
              url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80");
  background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.about-copy, .contact-info, .form-card, .panel { background: white; padding: 56px; border-radius: 32px; box-shadow: var(--shadow); }
.about-copy h2, .contact-info h2 { font-size: 48px; line-height: 1; letter-spacing: -0.06em; margin: 0 0 20px; }
.about-copy p, .contact-info p, .panel p { color: #4b4b4b; font-size: 18px; line-height: 1.65; }
.traits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 30px; }
.trait { background: var(--soft); border-radius: 18px; padding: 18px 12px; text-align: center; font-size: 13px; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  min-height: 240px; box-shadow: 0 8px 30px rgba(0,0,0,.04); transition: .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon { font-size: 34px; margin-bottom: 22px; }
.card h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.04em; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-project-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.project {
  min-height: 320px; border-radius: 26px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  color: white; background-size: cover; background-position: center; position: relative; box-shadow: var(--shadow);
}
.project:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); }
.project * { position: relative; }
.project h3 { margin: 0 0 4px; font-size: 24px; }
.project p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; letter-spacing: 0; }
.stats-band { background: var(--black); color: white; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; padding: 0; }
.stat { padding: 44px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat strong { display: block; font-size: 42px; letter-spacing: -0.05em; margin-bottom: 8px; }
.stat span { color: rgba(255,255,255,.64); font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article { background: white; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.04); }
.article-img { height: 220px; background-size: cover; background-position: center; }
.article-body { padding: 26px; }
.article small { color: var(--muted); text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.article h3 { font-size: 24px; letter-spacing: -0.04em; margin: 10px 0; }
.article p { color: var(--muted); line-height: 1.55; }
.academy { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1240px; margin: auto; background: var(--black); color: white; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.academy-img { min-height: 430px; background: url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1100&q=80"); background-size: cover; background-position: center; }
.academy-copy { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.academy-copy h2 { font-size: 54px; line-height: 1; letter-spacing: -0.06em; margin: 0 0 20px; }
.academy-copy p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.6; }
.testimonials, .team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1100px; margin: auto; }
.quote { background: white; border-radius: 30px; padding: 38px; border: 1px solid var(--line); }
.quote p { font-size: 22px; line-height: 1.45; margin: 0 0 24px; letter-spacing: -0.04em; }
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.social-card { min-height: 240px; background: white; border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 30px rgba(0,0,0,.04); }
.social-card strong { font-size: 24px; }
.social-card span { color: var(--muted); line-height: 1.45; }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; max-width: 1240px; margin: auto; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fbfbfa; border-radius: 16px; padding: 17px 16px; font: inherit; outline: none; }
textarea { grid-column: 1 / -1; min-height: 130px; resize: vertical; }
.submit { grid-column: 1 / -1; border: 0; border-radius: 999px; background: var(--black); color: white; padding: 18px 28px; font-weight: 800; cursor: pointer; }
.map-placeholder { margin-top: 22px; border-radius: 24px; min-height: 220px; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1100&q=80"); background-size: cover; background-position: center; border: 1px solid var(--line); }
footer { background: var(--black); color: white; padding: 52px 72px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer p { color: rgba(255,255,255,.6); max-width: 400px; line-height: 1.55; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: 14px; }
.whatsapp { position: fixed; right: 26px; bottom: 26px; width: 64px; height: 64px; border-radius: 50%; background: #25D366; color: white; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 16px 40px rgba(0,0,0,.22); z-index: 120; }
.chat-bubble { position: fixed; right: 104px; bottom: 34px; background: white; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); font-size: 13px; color: #333; z-index: 119; }
@media (max-width: 1100px) {
  .nav { padding: 0 24px; } .nav-links { display: none; }
  .hero, .about-grid, .academy, .contact-wrap { grid-template-columns: 1fr; }
  .cards, .project-grid, .home-project-grid, .social-grid, .stats-band, .insights, .testimonials, .team-grid { grid-template-columns: repeat(2, 1fr); }
  section, .hero, .page-hero, footer { padding-left: 24px; padding-right: 24px; }
  .portrait-card { min-height: 560px; }
}
@media (max-width: 640px) {
  .logo { font-size: 14px; } .nav-cta { display: none; }
  .hero, .page-hero { padding-top: 120px; }
  .cards, .project-grid, .home-project-grid, .social-grid, .stats-band, .insights, .testimonials, .team-grid { grid-template-columns: 1fr; }
  .traits { grid-template-columns: repeat(2, 1fr); }
  .about-copy, .academy-copy, .contact-info, .form-card, .panel { padding: 30px; }
  form { grid-template-columns: 1fr; }
  .chat-bubble { display: none; }
}

.builder-hero {
  background: radial-gradient(circle at 15% 10%, rgba(242,112,36,.18), transparent 36%),
              linear-gradient(120deg, #ffffff 0%, #f7f7f4 55%, #ece9e3 100%);
}
.builder-shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.builder-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.builder-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.builder-panel h3 {
  margin: 8px 0 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.builder-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.builder-field textarea {
  min-height: 110px;
}
.builder-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.preset-grid {
  display: grid;
  gap: 10px;
}
.preset-btn {
  justify-content: flex-start;
  font-size: 12px;
  text-transform: uppercase;
}
.builder-preview {
  min-height: 100%;
}
.preview-card {
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
  font-size: 14px;
}
.preview-topbar strong {
  letter-spacing: .15em;
  font-size: 13px;
}
.preview-body {
  border: 2px solid #1a1c1d;
  margin: 20px;
  border-radius: 22px;
  overflow: hidden;
}
.preview-hero {
  padding: 46px;
}
.preview-hero small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #666;
  margin-bottom: 14px;
}
.preview-hero h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: -0.06em;
  line-height: .95;
}
.preview-hero p {
  margin: 18px 0 26px;
  line-height: 1.55;
  color: #353535;
  max-width: 820px;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1a1c1d;
}
.preview-stats div {
  color: #fff;
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.preview-stats strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.05em;
}
.preview-stats span {
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.blog-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.blog-editor h3,
.blog-list-panel h3 {
  font-size: 34px;
  margin: 0 0 16px;
  letter-spacing: -0.05em;
}
.blog-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.blog-form textarea {
  min-height: 120px;
}
.blog-form textarea#blogContent {
  min-height: 180px;
}
.blog-list {
  display: grid;
  gap: 14px;
}
.blog-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: #fff;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .06em;
}
.blog-item h4 {
  margin: 12px 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.blog-item p {
  margin: 0;
  color: #4f4f4f;
  line-height: 1.6;
}
.blog-status-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
}
.status-pill.published {
  background: #dcfce7;
  color: #166534;
}
.status-pill.draft {
  background: #f3f4f6;
  color: #4b5563;
}
.blog-actions {
  display: flex;
  gap: 8px;
}
.blog-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.empty-note {
  color: #6b7280;
  margin: 0;
}
@media (max-width: 1180px) {
  .builder-shell,
  .blog-shell {
    grid-template-columns: 1fr;
  }
  .builder-sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .preview-hero {
    padding: 28px;
  }
  .preview-stats {
    grid-template-columns: 1fr;
  }
  .blog-status-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


.sitemap-link-hidden {
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.sitemap-link-hidden:hover {
  color: #ffffff;
}

.dashboard-hero {
  background: radial-gradient(circle at 85% 20%, rgba(242,112,36,.2), transparent 35%), linear-gradient(120deg, #ffffff 0%, #f7f7f4 55%, #ece9e3 100%);
}
.dashboard-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dashboard-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.dashboard-stat span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}
.dashboard-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 42px;
  letter-spacing: -.05em;
}
.multi-editor {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: #fbfbfa;
}
.multi-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.multi-editor-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.03em;
}
.editor-block {
  border: 1px solid #e8e8e5;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.editor-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.editor-block-head strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7280;
}
.editor-block .btn {
  min-height: 34px;
  padding: 0 14px;
}
.editor-block .block-input {
  min-height: 130px;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.modular-head p {
  color: #616161;
  margin-top: 6px;
}
.modular-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  margin-top: 16px;
}
.module-library,
.module-canvas {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}
.module-library h3,
.module-canvas h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.module-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.module-chip {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.active-modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.active-module {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.active-module strong {
  display: block;
}
.active-module span {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.module-actions {
  display: flex;
  gap: 6px;
}
.module-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 980px) {
  .modular-grid {
    grid-template-columns: 1fr;
  }
}

.admin-dashboard {
  --portal-bg: #f8f9ff;
  --portal-surface: #ffffff;
  --portal-line: #dfe7f6;
  --portal-text: #0f172a;
  --portal-muted: #526079;
  --portal-accent: #2170e4;
  --portal-accent-2: #0f172a;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(33, 112, 228, 0.14), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(139, 92, 246, 0.12), transparent 24%),
    var(--portal-bg);
  color: var(--portal-text);
}
.admin-dashboard .nav {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--portal-line);
  backdrop-filter: blur(14px);
}
.admin-dashboard .nav .logo,
.admin-dashboard h1,
.admin-dashboard h2,
.admin-dashboard h3,
.admin-dashboard .dashboard-stat strong {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.admin-dashboard .page-hero {
  background: transparent;
  padding-bottom: 32px;
}
.admin-dashboard .page-hero h1 {
  letter-spacing: -0.05em;
}
.admin-dashboard .page-hero p {
  color: var(--portal-muted);
}
.admin-dashboard .dashboard-stat,
.admin-dashboard .panel,
.admin-dashboard .module-library,
.admin-dashboard .module-canvas,
.admin-dashboard .blog-item,
.admin-dashboard .editor-block {
  background: var(--portal-surface);
  border: 1px solid var(--portal-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.admin-dashboard .dashboard-stat {
  border-radius: 18px;
}
.admin-dashboard .dashboard-stat span {
  color: var(--portal-muted);
}
.admin-dashboard .submit,
.admin-dashboard .btn.primary,
.admin-dashboard .nav-cta {
  background: linear-gradient(135deg, var(--portal-accent-2), var(--portal-accent));
  border-color: transparent;
}
.admin-dashboard .btn:not(.primary) {
  border-color: var(--portal-line);
}
.admin-dashboard input,
.admin-dashboard textarea,
.admin-dashboard select {
  background: #f3f7ff;
  border: 1px solid #d8e4fa;
}
.admin-dashboard input:focus,
.admin-dashboard textarea:focus,
.admin-dashboard select:focus {
  border-color: var(--portal-accent);
  box-shadow: 0 0 0 3px rgba(33, 112, 228, 0.16);
}
.admin-dashboard .module-chip {
  background: #eef4ff;
  border-color: #cfddfb;
  color: #0f3f8e;
}
.admin-dashboard .module-chip:hover {
  background: #dbe9ff;
}
.admin-dashboard .active-module {
  border-style: dashed;
}

/* Stitch Portal Visual Clone */
.stitch-portal-body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f8f9ff;
  color: #0b1c30;
}
.stitch-portal-body .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
}
.stitch-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(198,198,205,.5);
  background: rgba(248,249,255,.82);
  backdrop-filter: blur(16px);
}
.stitch-brand { display: flex; align-items: center; gap: 8px; }
.stitch-brand strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; }
.stitch-brand span { color: #0058be; }
.stitch-nav-links { display: flex; gap: 18px; }
.stitch-nav-links a {
  color: #45464d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 6px;
}
.stitch-nav-links a.active { color: #0058be; }
.stitch-top-actions { display: flex; gap: 8px; align-items: center; }
.stitch-main-shell { padding-top: 72px; }
.stitch-notice {
  margin: 0 auto 16px;
  max-width: 1580px;
  background: #e5eeff;
  border: 1px solid #adc6ff;
  border-radius: 10px;
  padding: 10px 12px;
}
.stitch-editor-shell {
  max-width: 1580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  min-height: 760px;
  border: 1px solid rgba(198,198,205,.45);
  border-radius: 16px;
  overflow: hidden;
  background: #eff4ff;
}
.stitch-left-panel,
.stitch-right-panel { background: #fff; padding: 16px; }
.stitch-left-panel { border-right: 1px solid rgba(198,198,205,.4); }
.stitch-right-panel { border-left: 1px solid rgba(198,198,205,.4); }
.stitch-panel-head h3 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans'; }
.stitch-search-wrap input,
.stitch-form-grid input,
.stitch-form-grid textarea {
  width: 100%;
  border: 1px solid #c6c6cd;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
}
.stitch-form-grid textarea { min-height: 110px; }
.stitch-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stitch-chip {
  border: 1px solid #c6c6cd;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8f9ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.stitch-canvas-wrap {
  position: relative;
  padding: 32px;
  background-image: radial-gradient(#c6c6cd 0.5px, transparent 0.5px);
  background-size: 20px 20px;
}
.stitch-canvas-toolbar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid #c6c6cd;
  border-radius: 999px;
  padding: 6px 10px;
}
.stitch-canvas-toolbar button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  padding: 6px 10px;
  cursor: pointer;
}
.stitch-canvas-phone {
  width: 390px;
  min-height: 700px;
  margin: 30px auto;
  border-radius: 32px;
  border: 12px solid #0b1c30;
  background: #fff;
  box-shadow: 0 20px 45px rgba(11,28,48,.22);
}
.stitch-phone-content { padding: 24px; }
.stitch-phone-content h2 { margin: 0 0 8px; font-family: 'Plus Jakarta Sans'; }
.stitch-phone-content p { margin: 0 0 18px; color: #45464d; }
.active-modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.active-module {
  border: 1px dashed #adc6ff;
  background: #f8f9ff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.active-module strong { font-size: 14px; font-family: 'Plus Jakarta Sans'; }
.active-module span { display: block; font-size: 10px; color: #76777d; text-transform: uppercase; }
.module-actions { display: flex; gap: 6px; }
.module-actions button {
  border: 1px solid #c6c6cd;
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff;
  font-size: 11px;
}
.stitch-form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stitch-form-grid label { font-size: 12px; font-weight: 700; color: #45464d; }
.stitch-inline { display: flex; align-items: center; gap: 8px; }
.stitch-primary-btn,
.stitch-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.stitch-primary-btn { background: #0058be; color: #fff; border: 1px solid #0058be; }
.stitch-primary-btn.full { width: 100%; }
.stitch-ghost-btn { background: #fff; color: #45464d; border: 1px solid #c6c6cd; }
.stitch-content-section { max-width: 1580px; margin: 18px auto 0; }
.stitch-bento-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 14px; }
.stitch-bento-grid article {
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}
.stitch-bento-grid small { font-size: 11px; color: #45464d; text-transform: uppercase; }
.stitch-bento-grid strong { display: block; margin-top: 8px; font-size: 32px; font-family: 'Plus Jakarta Sans'; }
.stitch-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stitch-card {
  background: #fff;
  border: 1px solid #d3e4fe;
  border-radius: 14px;
  padding: 16px;
}
.stitch-card h3 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans'; }
.stitch-post-list { display: grid; gap: 10px; max-height: 560px; overflow: auto; }
.stitch-post-item {
  border: 1px solid #d3e4fe;
  border-radius: 12px;
  padding: 12px;
  background: #f8f9ff;
}
.stitch-post-item small { font-size: 11px; color: #0058be; text-transform: uppercase; }
.stitch-post-item h4 { margin: 8px 0 6px; font-family: 'Plus Jakarta Sans'; }
.stitch-post-item p { margin: 0; color: #45464d; font-size: 14px; }
.stitch-post-actions { margin-top: 10px; display: flex; gap: 8px; }
.stitch-post-actions form { margin: 0; }
.stitch-media-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin-top: 12px; }
.stitch-media-grid div {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #d8e2ff, #eff4ff);
  border: 1px solid #c6c6cd;
}
@media (max-width: 1280px) {
  .stitch-editor-shell { grid-template-columns: 1fr; }
  .stitch-right-panel { border-left: 0; border-top: 1px solid rgba(198,198,205,.4); }
  .stitch-left-panel { border-right: 0; border-bottom: 1px solid rgba(198,198,205,.4); }
}
@media (max-width: 900px) {
  .stitch-nav-links { display: none; }
  .stitch-two-col { grid-template-columns: 1fr; }
  .stitch-bento-grid { grid-template-columns: 1fr; }
  .stitch-media-grid { grid-template-columns: repeat(3,1fr); }
  .stitch-canvas-phone { width: 100%; max-width: 390px; }
}
