:root {
  --ink: #20243b;
  --ink-soft: #343850;
  --muted: #767b90;
  --muted-light: #a3a6b4;
  --line: #e8e5f0;
  --line-strong: #d9d4e7;
  --paper: #fff;
  --canvas: #fbfaff;
  --violet: #6f57e8;
  --violet-dark: #5841ce;
  --violet-soft: #eeeafe;
  --coral: #ff846f;
  --coral-soft: #fff0eb;
  --mint: #47aa84;
  --mint-soft: #e7f8f0;
  --danger: #cf5454;
  --danger-soft: #fff0f0;
  --shadow-sm: 0 8px 26px rgba(40, 32, 78, .07);
  --shadow-md: 0 20px 60px rgba(40, 32, 78, .11);
  --shadow-lg: 0 32px 100px rgba(40, 32, 78, .16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(111, 87, 232, .27);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 10px;
  z-index: 50;
  width: min(var(--shell), calc(100% - 48px));
  margin: 10px auto 0;
}
.nav-shell {
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 20px;
  border: 1px solid rgba(230, 226, 240, .92);
  border-radius: 19px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 38px rgba(47, 38, 82, .09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 5px; font-size: 24px; font-weight: 900; letter-spacing: -1.3px; cursor: pointer; }
.brand-mark { display: inline-block; width: 13px; height: 13px; background: linear-gradient(135deg, var(--coral), #ffb27e); border-radius: 7px 7px 7px 2px; transform: rotate(-18deg); box-shadow: 0 3px 8px rgba(255, 132, 111, .3); flex: 0 0 auto; }
.desktop-nav { display: flex; gap: 5px; margin: 0 auto; }
.nav-link { border: 0; background: transparent; border-radius: 11px; padding: 10px 13px; color: #666b7e; font-size: 14px; font-weight: 720; cursor: pointer; transition: .18s ease; }
.nav-link:hover, .nav-link.active { background: #f3f0fb; color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.language-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; padding: 9px; cursor: pointer; }
.auth-button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dad4f0; background: linear-gradient(135deg, #f5f2ff, #fff8f4); color: #5b49bd; border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 800; box-shadow: 0 4px 14px rgba(111, 87, 232, .1); cursor: pointer; transition: .18s ease; max-width: 210px; }
.auth-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(111, 87, 232, .15); }
.auth-button.logged-in { color: var(--ink-soft); background: #fff; }
.auth-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }
.auth-button.logged-in .auth-dot { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.mobile-menu-button { display: none; width: 40px; height: 40px; border: 0; background: #f4f1fb; border-radius: 11px; padding: 11px; cursor: pointer; }
.mobile-menu-button span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .2s; }
.mobile-menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { display: none; margin-top: 7px; padding: 8px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-md); }
.mobile-nav.open { display: grid; }
.mobile-nav button { border: 0; background: transparent; text-align: left; padding: 13px 14px; border-radius: 11px; font-weight: 750; cursor: pointer; }
.mobile-nav button:hover { background: var(--violet-soft); }

.page { display: none; min-height: calc(100vh - 150px); overflow-x: clip; }
.page.active { display: block; animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } }

.hero { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; padding-top: 90px; padding-bottom: 92px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: #d45c4d; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.eyebrow { background: var(--coral-soft); padding: 8px 12px; border-radius: 999px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { margin: 20px 0 22px; font-size: clamp(48px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -.065em; font-weight: 900; }
.hero h1 em { color: var(--violet); font-style: normal; }
.hero-lead { max-width: 570px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid transparent; border-radius: 13px; padding: 11px 16px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .48; cursor: not-allowed; }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(32, 36, 59, .19); }
.button.primary:hover:not(:disabled) { background: #15182a; box-shadow: 0 14px 30px rgba(32, 36, 59, .24); }
.button.secondary { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 4px 13px rgba(40, 32, 78, .04); }
.button.secondary:hover:not(:disabled) { border-color: #cbc4df; box-shadow: var(--shadow-sm); }
.button.large { min-height: 54px; padding: 14px 20px; border-radius: 15px; font-size: 15px; }
.button.compact { min-height: 40px; padding: 9px 13px; font-size: 13px; }
.button.full { width: 100%; }
.button.quiet-danger { background: var(--danger-soft); color: var(--danger); border-color: #f7dada; box-shadow: none; }
.text-button { border: 0; background: transparent; color: var(--violet); font-weight: 850; padding: 7px 0; cursor: pointer; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #676c7e; font-size: 12px; font-weight: 700; }
.trust-row i { color: var(--mint); font-style: normal; margin-right: 5px; }

.hero-visual { position: relative; min-height: 470px; }
.window-card { position: absolute; inset: 14px 0 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: 25px; padding: 12px; box-shadow: var(--shadow-lg); transform: rotate(1.8deg); }
.window-bar { display: grid; grid-template-columns: 74px 1fr 74px; align-items: center; min-height: 35px; padding: 0 5px; }
.traffic { display: flex; gap: 6px; }
.traffic i { width: 8px; height: 8px; border-radius: 50%; background: #ff9c8f; }
.traffic i:nth-child(2) { background: #ffd17d; }
.traffic i:nth-child(3) { background: #9de2c0; }
.address { justify-self: center; padding: 6px 12px; background: #f6f5f9; color: #85889a; border-radius: 8px; font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lock { color: var(--mint); margin-right: 5px; font-size: 7px; }
.demo-site { position: relative; height: calc(100% - 35px); min-height: 390px; overflow: hidden; border-radius: 17px; padding: 34px; background: radial-gradient(circle at 83% 20%, #fead88 0 10%, transparent 10.5%), linear-gradient(137deg, #171a31 10%, #282444 68%, #4a3c69); color: #fff; }
.demo-site:before { content: ""; position: absolute; width: 260px; height: 260px; left: 42%; top: 43%; background: #7f72ff; border-radius: 45% 55% 58% 42%; filter: blur(.2px); transform: rotate(15deg); opacity: .9; }
.demo-kicker { position: relative; z-index: 2; font-size: 10px; letter-spacing: .2em; }
.demo-site h2 { position: absolute; z-index: 2; bottom: 46px; left: 34px; margin: 0; font-size: clamp(34px, 3.3vw, 47px); line-height: 1.02; letter-spacing: -.045em; }
.demo-art i { position: absolute; display: block; border-radius: 50%; }
.demo-art i:first-child { right: 12%; top: 14%; width: 68px; height: 68px; background: #ffaf89; }
.demo-art i:nth-child(2) { right: 24%; bottom: 26%; width: 24px; height: 24px; background: #d7ff74; }
.demo-art i:nth-child(3) { right: 7%; bottom: 16%; width: 100px; height: 18px; border-radius: 99px; background: rgba(255, 255, 255, .13); transform: rotate(-15deg); }
.live-pill { position: absolute; z-index: 2; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .94); color: var(--ink); padding: 8px 11px; border-radius: 99px; font-size: 10px; font-weight: 850; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(71, 170, 132, .15); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(230, 226, 240, .9); border-radius: 15px; padding: 12px 14px; box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.floating-card > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-weight: 900; }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--muted); font-size: 9px; margin-bottom: 3px; }
.floating-card strong { font-size: 11px; }
.floating-link { left: -23px; bottom: 6px; }
.floating-link > span { background: var(--mint-soft); color: var(--mint); }
.floating-love { right: -15px; top: 52px; }
.floating-love > span { background: var(--coral-soft); color: var(--coral); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; opacity: .6; }
.orb-one { width: 270px; height: 270px; right: -100px; top: 170px; background: #eee9ff; }
.orb-two { width: 180px; height: 180px; left: -80px; top: 450px; background: #fff0e9; }

.outcome-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.outcome-strip > div { display: flex; align-items: center; gap: 16px; padding: 23px 25px; }
.outcome-strip > div + div { border-left: 1px solid var(--line); }
.outcome-strip strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); font-size: 12px; }
.outcome-strip p { margin: 0; }
.outcome-strip b, .outcome-strip span { display: block; }
.outcome-strip b { font-size: 14px; margin-bottom: 4px; }
.outcome-strip span { color: var(--muted); font-size: 11px; }
.section { padding-top: 100px; }
.section-heading { margin-bottom: 30px; }
.section-heading.inline { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-kicker { color: var(--violet); letter-spacing: .12em; }
.section-heading h2 { max-width: 800px; margin: 12px 0 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.17; letter-spacing: -.045em; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.value-card { position: relative; overflow: hidden; min-height: 245px; padding: 29px; border: 1px solid var(--line); border-radius: 23px; background: #fff; }
.value-card:after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 44% 56% 60% 40%; opacity: .65; }
.value-card.coral:after { background: var(--coral-soft); }
.value-card.lavender:after { background: var(--violet-soft); }
.value-card.mint:after { background: var(--mint-soft); }
.value-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #f5f2fb; font-size: 20px; }
.value-card h3 { margin: 36px 0 10px; font-size: 18px; }
.value-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.showcase-grid, .square-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.showcase-card, .square-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: .22s ease; }
.showcase-card:hover, .square-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase-cover { position: relative; height: 240px; padding: 23px; color: #fff; }
.showcase-card.blue .showcase-cover { background: linear-gradient(145deg, #244485, #6598e5); }
.showcase-card.peach .showcase-cover { background: linear-gradient(145deg, #dc745f, #f3bf7b); }
.showcase-card.dark .showcase-cover { background: linear-gradient(145deg, #172c3e, #3e8b75); }
.showcase-cover.blue { background: linear-gradient(145deg, #244485, #6598e5); }
.showcase-cover.peach { background: linear-gradient(145deg, #dc745f, #f3bf7b); }
.showcase-cover.dark { background: linear-gradient(145deg, #172c3e, #3e8b75); }
.showcase-cover span { font-size: 9px; letter-spacing: .16em; }
.showcase-cover strong { position: absolute; left: 23px; bottom: 22px; font-size: 31px; line-height: 1; letter-spacing: -.05em; }
.showcase-cover i { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .17); font-style: normal; }
.showcase-info { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 18px 19px 20px; }
.showcase-info b { font-size: 14px; }
.showcase-info p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.showcase-info > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 99px; background: #f5f3f9; color: var(--muted); font-size: 9px; }
.closing-cta { position: relative; overflow: hidden; margin-top: 100px; margin-bottom: 90px; padding: 70px 30px; text-align: center; background: linear-gradient(135deg, #eeeaff, #fff1eb); border-radius: 30px; }
.closing-cta:before, .closing-cta:after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(2px); opacity: .5; }
.closing-cta:before { left: -100px; top: -90px; background: #d9d1ff; }
.closing-cta:after { right: -80px; bottom: -120px; background: #ffcbbb; }
.closing-cta > * { position: relative; z-index: 1; }
.closing-stars { margin-bottom: 12px; color: var(--coral); letter-spacing: 20px; }
.closing-stars i { color: var(--violet); font-style: normal; }
.closing-cta h2 { margin: 13px auto 25px; font-size: clamp(31px, 4vw, 47px); line-height: 1.15; letter-spacing: -.05em; }

.page-top { padding-top: 70px; padding-bottom: 32px; }
.page-top h1 { margin: 10px 0 8px; font-size: clamp(40px, 5vw, 58px); line-height: 1.06; letter-spacing: -.055em; }
.page-top > p, .project-page-top p { margin: 0; color: var(--muted); line-height: 1.75; }
.back-link { display: block; margin: 0 0 30px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.toolbar, .project-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; }
.filter-pills, .tabs { display: flex; gap: 7px; }
.filter-pills button, .tabs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 9px 13px; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.project-toolbar .tabs button { font-size: 13px; }
.filter-pills button.active, .tabs button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.square-grid { padding-bottom: 90px; }
.square-card .showcase-cover { height: 210px; }
.square-empty, .empty-state { grid-column: 1 / -1; padding: 70px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 24px; background: rgba(255, 255, 255, .65); }
.empty-illustration { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 23px; background: var(--violet-soft); color: var(--violet); font-size: 27px; transform: rotate(-4deg); }
.empty-state h2, .square-empty h2 { margin: 0 0 8px; }
.empty-state p, .square-empty p { max-width: 430px; margin: 0 auto 20px; color: var(--muted); line-height: 1.7; font-size: 13px; }

.publish-top { text-align: center; }
.publish-top .back-link { text-align: left; }
.publish-top > p { max-width: 620px; margin: 0 auto; }
.publish-steps { display: flex; justify-content: center; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.publish-steps li { position: relative; display: flex; align-items: center; gap: 8px; color: var(--muted-light); font-size: 12px; font-weight: 800; }
.publish-steps li:not(:last-child) { margin-right: 72px; }
.publish-steps li:not(:last-child):after { content: ""; position: absolute; left: calc(100% + 15px); width: 42px; height: 1px; background: var(--line-strong); }
.publish-steps span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #eceaf1; color: var(--muted); }
.publish-steps li.active { color: var(--ink); }
.publish-steps li.active span { background: var(--violet); color: #fff; box-shadow: 0 5px 15px rgba(111, 87, 232, .25); }
.publish-steps li.done span { background: var(--mint); color: #fff; }
.publish-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 22px; align-items: start; padding-bottom: 90px; }
.publish-main { display: grid; gap: 16px; }
.surface { background: #fff; border: 1px solid var(--line); border-radius: 23px; padding: 25px; box-shadow: 0 5px 20px rgba(40, 32, 78, .03); }
.surface-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 20px; }
.surface-heading h2 { margin: 5px 0 6px; font-size: 20px; letter-spacing: -.025em; }
.surface-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.mini-step, .mini-label { color: var(--violet); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.limit-badge { flex: 0 0 auto; padding: 6px 9px; border-radius: 99px; background: #f5f3f9; color: var(--muted); font-size: 9px; font-weight: 750; }
.drop-zone { display: grid; justify-items: center; padding: 38px 20px 25px; border: 1.5px dashed #bcb4df; border-radius: 18px; background: linear-gradient(145deg, #fcfbff, #faf8ff); cursor: pointer; transition: .2s ease; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--violet); background: var(--violet-soft); transform: translateY(-1px); }
.upload-orbit { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 22px; background: #fff; color: var(--violet); box-shadow: 0 12px 30px rgba(111, 87, 232, .14); font-size: 25px; }
.drop-zone h3 { margin: 17px 0 6px; font-size: 17px; }
.drop-zone > p { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.format-row { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: var(--muted-light); font-size: 9px; }
.format-row span { padding: 4px 7px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); font-weight: 850; }
.format-row i { font-style: normal; }
.selected-file { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid #cfeadb; border-radius: 16px; background: #f6fcf9; }
.file-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: #fff; color: var(--violet); border: 1px solid var(--line); font-size: 9px; font-weight: 900; }
.file-meta { min-width: 0; flex: 1; }
.file-meta strong, .file-meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta strong { font-size: 13px; }
.file-meta span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.file-ready { color: var(--mint); font-size: 10px; font-weight: 850; }
.icon-button, .modal-close { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-button { font-size: 20px; }
.local-preview { overflow: hidden; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; background: #f7f5fa; }
.local-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #fff; }
.local-preview-head > div { display: flex; align-items: center; gap: 7px; }
.local-preview-head b { font-size: 10px; }
.local-preview-head small { color: var(--muted); font-size: 8px; }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.local-preview iframe { display: block; width: 100%; height: 280px; border: 0; background: #fff; }
.zip-preview { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 180px; padding: 25px; text-align: left; }
.zip-preview > span { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 18px; background: var(--violet-soft); color: var(--violet); font-size: 12px; font-weight: 900; }
.zip-preview b { font-size: 12px; }
.zip-preview p { max-width: 360px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.resource-warning { display: flex; gap: 11px; margin-top: 12px; padding: 13px; border: 1px solid #f1dfb8; border-radius: 14px; background: #fff9e9; }
.resource-warning > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; background: #fff; color: #b57a16; font-weight: 900; }
.resource-warning b { font-size: 11px; }
.resource-warning p { margin: 4px 0 0; color: #876834; font-size: 9px; line-height: 1.5; }
.resource-warning .text-button { padding-bottom: 0; color: #9b6a17; font-size: 9px; }
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.checklist > div { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: 12px; background: #f8f7fa; }
.check-icon { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border-radius: 8px; font-size: 9px; font-weight: 900; }
.check-icon.neutral { background: #eae8ef; color: var(--muted); }
.check-icon.ok { background: var(--mint-soft); color: var(--mint); }
.check-icon.fail { background: var(--danger-soft); color: var(--danger); }
.checklist p { margin: 0; min-width: 0; }
.checklist b, .checklist small { display: block; }
.checklist b { font-size: 10px; }
.checklist small { margin-top: 2px; color: var(--muted); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-field { position: relative; display: block; }
.form-field > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.form-field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); outline: none; transition: .16s; }
.form-field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(111, 87, 232, .09); }
.form-field > small { position: absolute; right: 12px; bottom: 15px; color: var(--muted-light); font-size: 9px; }
.field-hint { margin-top: 7px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.action-inline-buttons { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.quota-card { width: max-content; max-width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f7f5fb; color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.45; }
.quota-card.warning { border-color: #efc9a8; background: #fff6ed; color: #a65d27; }
.details-surface .quota-card { width: 100%; margin-top: 12px; }
.subdomain-clear { margin-top: 14px; }
.privacy-card { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #faf9fc; }
.privacy-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--violet-soft); color: var(--violet); }
.privacy-card > div { flex: 1; }
.privacy-card b { font-size: 11px; }
.privacy-card p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.protect-field { margin-top: 16px; }
.protect-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.protect-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.protect-option { text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #faf9fc; cursor: pointer; transition: .16s ease; }
.protect-option:hover { border-color: color-mix(in srgb, var(--violet) 36%, var(--line)); }
.protect-option.active { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 0 0 3px rgba(111, 87, 232, .12); }
.protect-option b { display: block; font-size: 13px; }
.protect-option p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
#publishPasswordWrap { margin-top: 12px; }
.recommended { padding: 5px 8px; border-radius: 99px; background: var(--mint-soft); color: var(--mint); font-size: 9px; font-weight: 800; }
.publish-error { display: flex; gap: 12px; padding: 15px; border: 1px solid #f0cece; border-radius: 16px; background: var(--danger-soft); }
.publish-error > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 10px; background: #fff; color: var(--danger); font-weight: 900; }
.publish-error b { font-size: 12px; }
.publish-error p { margin: 4px 0 0; color: #934b4b; font-size: 11px; line-height: 1.55; }
.publish-error .text-button { font-size: 10px; }
.publish-button { width: 100%; min-height: 56px; font-size: 15px; }
.publish-assurance { display: flex; justify-content: center; gap: 7px; margin: -2px 0 0; color: var(--muted); font-size: 10px; }
.publish-assurance > span:first-child { color: var(--mint); }
.publish-aside { position: sticky; top: 98px; display: grid; gap: 14px; }
.helper-card { background: linear-gradient(145deg, #282441, #1e2135); color: #fff; }
.helper-card .mini-label { display: block; margin-top: 17px; color: #bdb3ff; }
.helper-card h2 { margin: 7px 0 8px; }
.helper-card > p { margin: 0; color: #c7c4d5; font-size: 11px; line-height: 1.65; }
.helper-illustration { position: relative; display: grid; place-items: center; width: 63px; height: 63px; border-radius: 22px; background: linear-gradient(145deg, #8b78ff, #6956e6); box-shadow: 0 13px 30px rgba(111, 87, 232, .27); }
.helper-illustration span { font-size: 16px; font-weight: 900; }
.helper-illustration i { position: absolute; right: -10px; top: -8px; color: #ffc395; font-style: normal; }
.prompt-preview { max-height: 150px; overflow: hidden; margin: 17px 0 12px; padding: 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: rgba(10, 12, 24, .36); color: #dedbea; font: 9px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; mask-image: linear-gradient(#000 70%, transparent); }
.helper-card .button.secondary { justify-content: space-between; background: #fff; border: 0; }
.support-note { display: flex; gap: 11px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.support-note > span { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; border-radius: 10px; background: var(--coral-soft); color: var(--coral); font-weight: 900; }
.support-note b { font-size: 11px; }
.support-note p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.publish-progress { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(25, 22, 44, .48); backdrop-filter: blur(8px); }
.progress-card { width: min(400px, 100%); padding: 35px; text-align: center; background: #fff; border-radius: 25px; box-shadow: var(--shadow-lg); }
.progress-logo { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto; border-radius: 18px; background: var(--violet-soft); animation: breathe 1.5s ease infinite; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.progress-card h2 { margin: 18px 0 7px; font-size: 20px; }
.progress-card p { margin: 0; color: var(--muted); font-size: 12px; }
.progress-track { height: 7px; margin: 24px 0 8px; overflow: hidden; border-radius: 99px; background: #ebe8f2; }
.progress-track i { display: block; width: 12%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #9d8cff); transition: width .4s ease; }
.progress-card > span { color: var(--violet); font-size: 11px; font-weight: 850; }
.publish-success { padding: 20px 0 90px; text-align: center; }
.success-burst { position: relative; display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 20px; border-radius: 28px; background: var(--mint-soft); color: var(--mint); font-size: 32px; transform: rotate(-4deg); }
.success-burst i { position: absolute; color: var(--coral); font-size: 13px; font-style: normal; }
.success-burst i:nth-child(2) { left: -25px; top: 6px; }
.success-burst i:nth-child(3) { right: -31px; top: 27px; color: var(--violet); }
.success-burst i:nth-child(4) { left: 5px; bottom: -23px; color: #e4a625; }
.publish-success h1 { margin: 12px 0 10px; font-size: clamp(36px, 5vw, 55px); letter-spacing: -.055em; }
.publish-success > p { max-width: 600px; margin: 0 auto; color: var(--muted); line-height: 1.7; }
.success-browser { width: min(760px, 100%); margin: 35px auto 15px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
.success-browser iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 14px; background: #f4f2f8; }
.success-link { width: min(760px, 100%); display: flex; align-items: center; gap: 15px; margin: 0 auto; padding: 14px 14px 14px 19px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.success-link > div { flex: 1; min-width: 0; }
.success-link small, .success-link strong { display: block; }
.success-link small { color: var(--muted); font-size: 9px; margin-bottom: 4px; }
.success-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--violet); font-size: 13px; }
.success-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }

.project-page-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.project-page-top h1 { margin-bottom: 6px; }
.project-toolbar { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs .count-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 4px; border-radius: 99px; background: rgba(255,255,255,.16); }
.project-summary { color: var(--muted); font-size: 12px; }
.project-toolbar-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; min-width: 0; }
.project-toolbar-meta .quota-card { font-size: 11px; }
.danger-text { color: var(--danger); }
.danger-text:hover { color: #a92d2d; }
.trash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 25px; padding-bottom: 90px; }
.project-card { position: relative; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: .18s ease; }
.project-card:hover { box-shadow: var(--shadow-sm); }
.project-card.menu-open { z-index: 20; box-shadow: var(--shadow-sm); }
.project-cover { position: relative; height: 150px; overflow: hidden; padding: 22px; border-radius: 21px 21px 0 0; background: linear-gradient(145deg, color-mix(in srgb, var(--site-theme, #8c7af5) 18%, white), #fff4ef); }
.project-cover:before, .project-cover:after { content: ""; position: absolute; border-radius: 50%; }
.project-cover:before { width: 140px; height: 140px; right: 8%; top: 20%; background: var(--site-theme, #8c7af5); opacity: .88; }
.project-cover:after { width: 70px; height: 70px; right: 4%; top: 8%; background: #ffad89; }
.project-cover .cover-window { position: absolute; left: 24px; right: 24px; bottom: -12px; height: 112px; padding: 12px; border-radius: 16px 16px 0 0; background: rgba(32, 36, 59, .93); color: #fff; box-shadow: 0 12px 35px rgba(32,36,59,.17); }
.cover-window small { position: relative; z-index: 2; font-size: 9px; letter-spacing: .12em; opacity: .7; }
.cover-window b { position: absolute; z-index: 2; left: 12px; bottom: 18px; max-width: 75%; font-size: 20px; line-height: 1.05; letter-spacing: -.035em; }
.project-status { position: absolute; z-index: 3; right: 13px; top: 13px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--mint); font-size: 10px; font-weight: 850; }
.project-status.offline { color: var(--muted); }
.project-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.project-body { position: relative; padding: 18px; border-radius: 0 0 21px 21px; background: #fff; }
.project-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.project-title-row h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.project-identity { flex: 1; min-width: 0; }
.project-menu-button { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; transition: .16s ease; }
.project-menu-button:hover, .project-menu-button[aria-expanded="true"] { border-color: color-mix(in srgb, var(--violet) 36%, var(--line)); background: var(--violet-soft); color: var(--violet); }
.project-url-row { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 6px; }
.project-url { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--violet); font-size: 11px; }
.project-copy-button { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: #f5f3f8; color: var(--muted); font-size: 13px; cursor: pointer; transition: .16s ease; }
.project-copy-button:hover { background: var(--violet-soft); color: var(--violet); }
.project-copy-button:focus-visible, .project-menu-button:focus-visible, .project-menu button:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 28%, transparent); outline-offset: 2px; }
.project-description { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.project-meta span { padding: 5px 8px; border-radius: 99px; background: #f5f3f8; color: var(--muted); font-size: 10px; }
.project-meta .protected { background: var(--coral-soft); color: #ce6553; }
.project-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.project-actions .button { min-height: 39px; padding: 8px 9px; font-size: 11px; }
.project-actions input { display: none; }
.project-menu { display: none; position: absolute; z-index: 30; top: 58px; right: 18px; width: min(360px, calc(100% - 36px)); padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 22px 60px rgba(32, 36, 59, .18); }
.project-card.menu-open .project-menu { display: grid; gap: 12px; }
.project-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-menu-head b { font-size: 16px; }
.project-menu-head button { width: 32px; min-height: 32px; padding: 0; font-size: 20px; }
.project-menu-group > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.project-menu-group > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.project-menu button { min-height: 44px; padding: 10px 8px; border: 0; border-radius: 10px; background: #f6f4f9; color: var(--ink-soft); font-size: 13px; font-weight: 750; cursor: pointer; transition: .16s ease; }
.project-menu button:hover { background: var(--violet-soft); color: var(--violet); }
.project-menu button.danger { color: var(--danger); background: var(--danger-soft); }
.danger-group { padding-top: 10px; border-top: 1px solid var(--line); }
.danger-group > div { grid-template-columns: 1fr; }
.square-state { display: inline-flex; align-items: center; gap: 5px; }
.square-state.pending { color: #a27622; background: #fff6dc; }
.square-state.approved { color: var(--mint); background: var(--mint-soft); }
.square-state.rejected { color: var(--danger); background: var(--danger-soft); }
.trash-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.trash-card .file-icon { background: #f5f3f8; color: var(--muted); }
.trash-card > div:nth-child(2) { flex: 1; min-width: 0; }
.trash-card h2 { margin: 0 0 4px; font-size: 16px; }
.trash-card p { margin: 0; color: var(--muted); font-size: 11px; }

.admin-badge { padding: 8px 11px; border-radius: 99px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 850; }
.admin-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding-bottom: 90px; }
.admin-side { display: grid; align-content: start; gap: 5px; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 17px; height: max-content; }
.admin-side button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; text-align: left; cursor: pointer; }
.admin-side button.active { background: var(--violet-soft); color: var(--violet); }
.admin-side button i { margin-left: auto; min-width: 20px; padding: 3px 5px; border-radius: 99px; background: rgba(111,87,232,.13); font-size: 8px; text-align: center; font-style: normal; }
.admin-content { min-width: 0; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.admin-heading h2 { margin: 0; font-size: 19px; }
.admin-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.admin-list { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(150px, .8fr) auto; align-items: center; gap: 14px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.admin-row-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-thumb { position: relative; overflow: hidden; width: 78px; height: 55px; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(145deg, #5f55d8, #e1a1cd); }
.admin-thumb:after { content: ""; position: absolute; right: 8px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: #ffbe8f; }
.admin-row h3 { margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.admin-row p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }
.admin-row-meta { color: var(--muted); font-size: 9px; line-height: 1.6; }
.admin-row-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.admin-row-actions button, .admin-row-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 10px; border: 0; border-radius: 9px; background: #f4f2f8; color: var(--ink-soft); font-size: 9px; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; }
.admin-row-actions .preview { background: #f4f2f8; color: var(--ink-soft); }
.admin-row-actions .approve { background: var(--mint-soft); color: var(--mint); }
.admin-row-actions .reject { background: var(--danger-soft); color: var(--danger); }
.user-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; background: var(--violet-soft); color: var(--violet); font-weight: 900; }
.admin-row.audit-row { grid-template-columns: 105px minmax(0, 1fr) minmax(140px, .55fr); }
.audit-time b, .audit-time small { display: block; }
.audit-time b { font-size: 10px; }
.audit-time small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.audit-account-group { display: grid; gap: 8px; }
.audit-account-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 4px 0; color: var(--ink); font-size: 11px; }
.audit-account-heading b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audit-account-heading span { flex: 0 0 auto; color: var(--muted); font-size: 9px; }

footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.55); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 120px; color: var(--muted); font-size: 10px; }
.footer-inner > div { display: flex; align-items: center; gap: 8px; }
.footer-inner strong { color: var(--ink); font-size: 16px; }
.footer-inner p { margin: 0 0 0 8px; }
.footer-links button, .terms button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.footer-links button:hover, .terms button:hover { color: var(--ink); }
.legal-page { max-width: 780px; padding-top: 90px; padding-bottom: 100px; }
.legal-page h1 { margin: 12px 0 6px; font-size: clamp(36px, 6vw, 64px); letter-spacing: -.05em; }
.legal-updated { margin: 0 0 42px; color: var(--muted-light); font-size: 11px; }
.legal-page section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-page section h2 { margin: 0 0 10px; font-size: 18px; }
.legal-page section p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.modal-layer { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; padding: 20px; background: rgba(25, 22, 44, .45); backdrop-filter: blur(8px); }
.modal-layer.open { display: grid; animation: fadeIn .18s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; width: min(470px, 100%); max-height: min(90vh, 760px); overflow: auto; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); animation: modalIn .22s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-close { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f5f3f8; font-size: 20px; }
.modal-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 28px; font-size: 18px; font-weight: 900; }
.modal-card h2 { margin: 9px 0 8px; font-size: 25px; letter-spacing: -.035em; }
.modal-lead, .action-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 22px 0 18px; padding: 4px; background: #f4f2f8; border-radius: 12px; }
.auth-tabs button { border: 0; background: transparent; border-radius: 9px; padding: 9px; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 3px 9px rgba(40,32,78,.06); }
.auth-modal-card .form-field { margin-bottom: 13px; }
.auth-modal-card .form-field input { padding-right: 60px; }
.password-toggle { position: absolute; right: 9px; bottom: 8px; height: 32px; border: 0; background: transparent; color: var(--violet); font-size: 10px; font-weight: 800; cursor: pointer; }
.form-error { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 10px; }
.auth-submit { margin-top: 3px; }
.terms { margin: 13px 0 0; text-align: center; color: var(--muted-light); font-size: 9px; }
.account-delete-link { display: block; margin: 14px auto 0; padding: 2px 8px; border: 0; background: none; color: var(--muted-light); font-size: 10px; cursor: pointer; }
.account-delete-link:hover { color: var(--danger); }
.feedback-card { scrollbar-width: none; }
.feedback-card::-webkit-scrollbar { display: none; }
.feedback-form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.feedback-form-heading b { font-size: 12px; }
.feedback-form-heading span { color: var(--muted); font-size: 9px; }
.feedback-card .form-field { margin-top: 14px; }
.feedback-card textarea { width: 100%; min-height: 108px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); outline: none; line-height: 1.6; resize: vertical; transition: .16s; }
.feedback-card textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(111, 87, 232, .09); }
.feedback-card select { width: 100%; height: 45px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; color: var(--ink); }
.feedback-card .form-field small { position: static; display: block; margin-top: 5px; text-align: right; color: var(--muted-light); font-size: 9px; }
.my-feedback { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.my-feedback-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.my-feedback-heading b { font-size: 12px; }
.my-feedback-heading span { color: var(--muted); font-size: 9px; }
.feedback-thread { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: #faf9fc; overflow: hidden; }
.feedback-thread summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px; cursor: pointer; list-style: none; }
.feedback-thread summary::-webkit-details-marker { display: none; }
.feedback-thread summary b, .feedback-thread summary small { display: block; }
.feedback-thread summary b { font-size: 11px; }
.feedback-thread summary small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-thread-body { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.feedback-timeline { display: grid; gap: 8px; padding: 12px 0; }
.feedback-message { max-width: 88%; padding: 9px 10px; border-radius: 11px 11px 11px 3px; background: #f0edf6; }
.feedback-message.admin { margin-left: auto; border-radius: 11px 11px 3px 11px; background: var(--violet-soft); }
.feedback-message span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 800; }
.feedback-message p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.55; white-space: pre-wrap; }
.feedback-reply { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.feedback-reply textarea { min-height: 68px; }
.feedback-reply .button { min-height: 42px; padding: 8px 12px; }
.feedback-closed-note { margin: 0; padding: 9px 10px; border-radius: 10px; background: #f3f1f6; color: var(--muted); font-size: 9px; }
.feedback-status { align-self: start; padding: 4px 7px; border-radius: 99px; background: var(--violet-soft); color: var(--violet); font-size: 8px; font-weight: 850; white-space: nowrap; }
.feedback-status.resolved { background: var(--mint-soft); color: var(--mint); }
.feedback-status.rejected { background: var(--danger-soft); color: var(--danger); }
.account-card { text-align: center; }
.account-avatar { display: grid; place-items: center; width: 66px; height: 66px; margin: 5px auto 18px; border-radius: 22px; background: linear-gradient(145deg, var(--violet), #9786f5); color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 12px 30px rgba(111,87,232,.22); }
.account-email { margin: 15px 0 18px; padding: 11px; border-radius: 12px; background: #f6f4f9; color: var(--muted); font-size: 11px; }
.account-actions { display: grid; gap: 8px; margin-bottom: 14px; text-align: left; }
.account-actions button { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.account-actions button > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: var(--violet-soft); color: var(--violet); }
.account-actions button > div { flex: 1; }
.account-actions b, .account-actions small { display: block; }
.account-actions b { font-size: 11px; }
.account-actions small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.account-actions i { color: var(--muted-light); font-style: normal; }
.action-card { text-align: center; }
.action-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 17px; border-radius: 19px; background: var(--violet-soft); color: var(--violet); font-size: 22px; font-weight: 900; }
.action-icon.danger { background: var(--danger-soft); color: var(--danger); }
.action-form { margin: 18px 0 0; text-align: left; }
.action-form .form-field + .form-field { margin-top: 12px; }
.action-form select { width: 100%; height: 45px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; }
.action-form textarea { width: 100%; min-height: 92px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--ink); line-height: 1.6; resize: vertical; }
.version-list { display: grid; gap: 7px; max-height: 260px; overflow: auto; }
.version-option { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.version-option input { width: auto; height: auto; }
.version-option div { flex: 1; }
.version-option b, .version-option small { display: block; }
.version-option b { font-size: 11px; }
.version-option small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.current-version { padding: 4px 7px; border-radius: 99px; background: var(--mint-soft); color: var(--mint); font-size: 8px; font-weight: 850; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 23px; }
.toast-region { position: fixed; z-index: 150; left: 50%; bottom: 24px; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 240px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(32,36,59,.96); color: #fff; box-shadow: var(--shadow-md); font-size: 11px; animation: toastIn .25s ease both; }
.toast.success:before { content: "✓"; color: #8fe0bd; }
.toast.error:before { content: "!"; color: #ff9d8f; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
.skeleton { position: relative; overflow: hidden; min-height: 320px; border-radius: 22px; background: #efedf3; }
.skeleton:after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

@media (max-width: 960px) {
  .hero { gap: 35px; }
  .hero-visual { min-height: 420px; }
  .floating-love { right: -5px; }
  .value-card { padding: 23px; }
  .publish-layout { grid-template-columns: 1fr; }
  .publish-aside { position: static; grid-template-columns: 1.1fr .9fr; }
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .site-header { top: 0; width: 100%; margin: 0; }
  .nav-shell { height: 62px; padding: 0 12px 0 16px; border-left: 0; border-right: 0; border-top: 0; border-radius: 0; }
  .brand { font-size: 21px; }
  .desktop-nav, .language-button { display: none; }
  .nav-actions { margin-left: auto; }
  .auth-button { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav { margin: 6px 10px 0; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 50px; padding-bottom: 55px; }
  .hero h1 { margin-top: 17px; font-size: clamp(42px, 13.4vw, 58px); letter-spacing: -.06em; }
  .hero-lead { font-size: 16px; line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-visual { min-height: 385px; }
  .window-card { inset: 0; transform: none; }
  .demo-site { min-height: 320px; padding: 25px; }
  .demo-site h2 { left: 24px; bottom: 38px; font-size: 35px; }
  .floating-card { padding: 9px 10px; }
  .floating-link { left: -6px; bottom: -14px; }
  .floating-love { display: none; }
  .outcome-strip { grid-template-columns: 1fr; }
  .outcome-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-top: 68px; }
  .section-heading.inline { display: block; }
  .section-heading.inline .text-button { margin-top: 12px; }
  .value-grid, .showcase-grid, .square-grid { grid-template-columns: 1fr; }
  .closing-cta { margin-top: 70px; margin-bottom: 60px; padding: 50px 20px; border-radius: 24px; }
  .page-top { padding-top: 45px; }
  .page-top h1 { font-size: 43px; }
  .toolbar { align-items: start; }
  .filter-pills { overflow-x: auto; max-width: 68%; padding-bottom: 4px; }
  .filter-pills button { white-space: nowrap; }
  .publish-steps li b { display: none; }
  .publish-steps li:not(:last-child) { margin-right: 60px; }
  .publish-steps li:not(:last-child):after { width: 35px; }
  .publish-layout { width: min(100% - 24px, var(--shell)); }
  .surface { padding: 19px; border-radius: 19px; }
  .surface-heading { display: block; }
  .limit-badge { display: inline-block; margin-top: 10px; }
  .drop-zone { padding: 31px 15px 22px; }
  .checklist { grid-template-columns: 1fr; }
  .protect-options { grid-template-columns: 1fr; }
  .selected-file { flex-wrap: wrap; }
  .file-ready { margin-left: 61px; }
  .publish-aside { grid-template-columns: 1fr; }
  .success-browser iframe { height: 270px; }
  .success-link { display: block; }
  .success-link .button { width: 100%; margin-top: 12px; }
  .project-page-top { display: block; }
  .project-page-top .button { width: 100%; margin-top: 20px; }
  .project-toolbar { align-items: start; }
  .project-summary { display: none; }
  .project-toolbar-meta { margin-left: auto; }
  .project-toolbar-meta .quota-card { width: 100%; text-align: right; }
  .project-cover { height: 135px; }
  .project-actions { grid-template-columns: 1fr 1fr; }
  .project-card.menu-open { z-index: 120; }
  .project-card.menu-open:after { content: ""; position: fixed; z-index: 109; inset: 0; background: rgba(24, 25, 40, .38); backdrop-filter: blur(3px); }
  .project-menu { position: fixed; z-index: 111; top: auto; right: 10px; bottom: 10px; left: 10px; width: auto; max-height: calc(100vh - 20px); overflow-y: auto; padding: 18px; border-radius: 22px; }
  .project-card.menu-open .project-menu { gap: 14px; }
  .project-menu-group > div { grid-template-columns: 1fr 1fr; }
  .feedback-form-heading, .my-feedback-heading { display: block; }
  .feedback-form-heading span, .my-feedback-heading span { display: block; margin-top: 4px; }
  .feedback-reply { grid-template-columns: 1fr; }
  .feedback-reply .button { width: 100%; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; }
  .admin-side button { flex: 0 0 auto; width: auto; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row.audit-row { grid-template-columns: 82px minmax(0, 1fr); }
  .admin-row.audit-row .admin-row-meta { grid-column: 2; }
  .admin-row-actions { justify-content: start; }
  .footer-inner { display: block; padding: 28px 0; }
  .footer-inner > span { display: block; margin-top: 16px; }
  .footer-inner p { display: none; }
  .footer-links { margin-top: 16px; flex-wrap: wrap; }
  .legal-page { padding-top: 52px; padding-bottom: 64px; }
  .modal-layer { align-items: end; padding: 10px; }
  .modal-card { width: 100%; max-height: 92vh; border-radius: 23px 23px 16px 16px; padding: 24px 20px; }
  .toast-region { bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
