:root {
  --bg: #f5f7f7;
  --surface: #ffffff;
  --surface-2: #eff3f2;
  --text: #1c2524;
  --muted: #5f6b6a;
  --border: #e0e6e5;
  --primary: #0f766e;
  --primary-ink: #ffffff;
  --primary-soft: #e2f4f1;
  --danger: #c93a3a;
  --danger-soft: #fdecec;
  --success: #1f8a52;
  --success-soft: #e5f6ec;
  --warning: #a86500;
  --warning-soft: #fdf2df;
  --sidebar: #151c1b;
  --sidebar-text: #c4cfcd;
  --side-bg: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 30, 28, .06), 0 1px 3px rgba(16, 30, 28, .08);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1212;
    --surface: #161c1b;
    --surface-2: #1d2524;
    --text: #e4ecea;
    --muted: #93a3a0;
    --border: #283331;
    --primary: #2dd4bf;
    --primary-ink: #0e1212;
    --primary-soft: #123532;
    --danger: #f07171;
    --danger-soft: #3a1e22;
    --success: #4cc788;
    --success-soft: #16301f;
    --warning: #e8a948;
    --warning-soft: #33270f;
    --sidebar: #0a0e0e;
    --side-bg: #161c1b;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h3 { font-size: 1rem; }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; }
.strong { font-weight: 600; }
.center { text-align: center; }
.right { text-align: right; }
.inline { display: inline; margin: 0; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.stack { display: flex; flex-direction: column; gap: .25rem; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .55rem 1rem; border-radius: 8px; border: 1px solid transparent;
  background: var(--primary); color: var(--primary-ink); font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-sm { padding: .35rem .7rem; font-size: .85rem; }
.btn-block { width: 100%; margin-top: .5rem; }


.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field-check label { font-weight: 500; display: flex; align-items: center; gap: .4rem; cursor: pointer; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: .55rem .75rem; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit;
}
input:disabled { background: var(--surface-2); color: var(--muted); }
textarea { resize: vertical; }
.hint { color: var(--muted); font-size: .82rem; margin: -.4rem 0 .6rem; display: block; }


.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge-published { background: var(--success-soft); color: var(--success); }
.badge-pending { background: var(--warning-soft); color: var(--warning); }
.badge-draft { background: var(--surface-2); color: var(--muted); }
.role-admin { background: var(--danger-soft); color: var(--danger); }
.role-editor { background: var(--primary-soft); color: var(--primary); }
.role-user { background: var(--surface-2); color: var(--muted); }
.flash { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid transparent; }
.flash ul { margin: 0; padding-left: 1.1rem; }
.flash-success { background: var(--success-soft); color: var(--success); }
.flash-error { background: var(--danger-soft); color: var(--danger); }
.flash-info { background: var(--primary-soft); color: var(--primary); }
.empty { padding: 2rem 1rem; text-align: center; color: var(--muted); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0; }


.container { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.search { flex: 1; min-width: 160px; }
.cat-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.cat-bar .container { display: flex; gap: 1.1rem; overflow-x: auto; padding-top: .5rem; padding-bottom: .5rem; font-size: .9rem; }
.cat-bar a { color: var(--muted); white-space: nowrap; }
.main { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }
.hero { margin-bottom: 1.75rem; }
.hero h1 { font-size: 2rem; letter-spacing: -.02em; }
.eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; color: var(--primary); font-weight: 700; margin: 0 0 .25rem; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 0; }
.post-list { display: grid; gap: 1rem; }
.post-card h2 { font-size: 1.3rem; margin: .35rem 0; }
.post-card h2 a { color: var(--text); }
.excerpt { color: var(--muted); margin: 0 0 .5rem; }
.read-more { font-weight: 600; font-size: .9rem; }
.post-meta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .85rem; }
.tag { background: var(--primary-soft); color: var(--primary); padding: .05rem .55rem; border-radius: 999px; font-weight: 600; font-size: .78rem; }
.post-full h1 { font-size: 2.2rem; letter-spacing: -.02em; margin-top: .5rem; }
.prose { font-size: 1.05rem; line-height: 1.75; overflow-wrap: break-word; }
.prose h2 { margin-top: 1.8em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose pre { background: var(--surface-2); border: 1px solid var(--border); padding: 1rem; border-radius: 8px; overflow-x: auto; font-size: .9rem; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.2em 0; padding: .2em 1.1em; border-left: 3px solid var(--primary); color: var(--muted); }
.prose table { border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border); padding: .4rem .7rem; }
.back { margin-top: 2.5rem; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; padding: 1.25rem 0; }


.auth { min-height: 100vh; display: flex; }
.auth-wrap { margin: auto; width: 100%; max-width: 420px; padding: 2rem 16px; }
.auth-brand { display: block; text-align: center; margin-bottom: 1rem; font-size: 1.4rem; }
.auth-card { padding: 1.75rem; }
.auth-card h1 { font-size: 1.5rem; }


.side-nav a i { width: 1.15rem; text-align: center; font-size: .95rem; opacity: .85; }
.side-nav a.active i { opacity: 1; }
.sidebar-foot a i { font-size: .8rem; margin-right: .2rem; }
.btn i { margin-right: .35rem; }
.admin-shell {
  display: grid;
  grid-template-columns: 262px 1fr;
  min-height: 100vh;
  background-color: var(--side-bg);
  background-image:
    radial-gradient(ellipse 60% 45% at 100% 0%, var(--primary-soft), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M14 10v8M10 14h8' stroke='%230f766e' stroke-opacity='.10' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='42' cy='42' r='1.4' fill='%230f766e' fill-opacity='.12'/%3E%3C/svg%3E");
  background-size: auto, 56px 56px;
  background-repeat: no-repeat, repeat;
  background-attachment: fixed, fixed;
}
.sidebar {
  position: sticky;
  top: 16px;
  z-index: 5;
  height: calc(100vh - 32px);
  margin: 16px 0 16px 16px;
  padding: 1.35rem .9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  color: var(--text);
  background-color: var(--side-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(16, 30, 28, .08), 0 2px 6px rgba(16, 30, 28, .05);
}
.sidebar .brand { color: var(--text); padding: 0 .6rem; display: flex; align-items: center; gap: .55rem; }
.sidebar .brand::before { content: ""; width: 9px; height: 9px; border-radius: 3px; flex: none; background: var(--primary); }
.side-nav { display: flex; flex-direction: column; gap: .2rem; }
.side-nav a { display: flex; align-items: center; gap: .7rem; position: relative; color: var(--muted); padding: .55rem .75rem; border-radius: 10px; font-weight: 500; transition: background .15s, color .15s; }
.side-nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.side-nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side-nav a.active::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 3px; border-radius: 3px; background: var(--primary); }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; }
.sidebar-foot form { margin: 0; }

.side-box {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .55rem .6rem; border-radius: 10px;
  background: var(--side-bg); border: 1px solid var(--border);
  color: var(--primary); font: inherit; font-size: .88rem; text-align: left;
}
a.side-box, button.side-box { cursor: pointer; transition: background .15s, border-color .15s; }
a.side-box:hover, button.side-box:hover { background: var(--primary-soft); border-color: transparent; text-decoration: none; }
.side-box i { width: 1rem; text-align: center; font-size: .8rem; }
.sidebar-foot .user-chip { color: var(--text); }
.sidebar-foot .avatar { width: 30px; height: 30px; flex: none; font-size: .85rem; }
.sidebar-foot .user-meta { min-width: 0; }
.sidebar-foot .user-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot .user-meta .badge { align-self: flex-start; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.user-chip { display: flex; align-items: center; gap: .65rem; }
.user-meta { display: flex; flex-direction: column; line-height: 1.25; font-size: .88rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.content { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.welcome h2 { font-size: 1.3rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.stat { display: flex; flex-direction: column; gap: .2rem; color: var(--text); }
.stat:hover { text-decoration: none; border-color: var(--primary); }
.stat-label { color: var(--muted); font-size: .85rem; }
.stat-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; align-items: start; }
.grid-side { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; align-items: start; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.toolbar p { margin: 0; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; }
.filters input { max-width: 300px; }
.filters select { width: auto; }
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.table th, .table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.right { text-align: right; }
.actions { white-space: nowrap; }
.actions > * { margin-left: .3rem; }
.narrow { max-width: 620px; }


.editor-layout { display: grid; grid-template-columns: 1fr 290px; gap: 1.25rem; align-items: start; }
.editor-main { min-width: 0; display: flex; flex-direction: column; gap: .75rem; }
.editor-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1rem; }
.title-input { font-size: 1.6rem !important; font-weight: 700; padding: .6rem .8rem !important; }
.slug-row { display: flex; align-items: center; gap: .3rem; }
.slug-row input { padding: .35rem .6rem; font-size: .85rem; }
.editor { padding: 0; overflow: hidden; }
.editor-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem .5rem; border-bottom: 1px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }
.tabs { display: flex; gap: .2rem; }
.tab { background: none; border: 0; padding: .35rem .8rem; border-radius: 6px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.md-tools { display: flex; gap: .1rem; flex-wrap: wrap; }
.tool { background: none; border: 0; min-width: 32px; height: 30px; border-radius: 6px; cursor: pointer; color: var(--text); font: inherit; font-weight: 700; font-size: .85rem; }
.tool:hover { background: var(--surface); }
.md-input { border: 0 !important; border-radius: 0 !important; font-family: var(--mono) !important; font-size: .92rem !important; line-height: 1.65; min-height: 420px; padding: 1rem !important; }
.md-input:focus-visible { outline: none; }
.preview { padding: 1rem 1.25rem; min-height: 420px; }
.editor-foot { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .9rem; border-top: 1px solid var(--border); font-size: .8rem; flex-wrap: wrap; }
.meta-card dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .75rem; margin: 0 0 .75rem; font-size: .88rem; }
.meta-card dt { color: var(--muted); }
.meta-card dd { margin: 0; }

@media (max-width: 960px) {
  .editor-layout, .grid-side { grid-template-columns: 1fr; }
  .editor-side { position: static; }
}
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: auto; height: auto; margin: 12px; padding: .75rem 16px; gap: .6rem; border-radius: 20px; }
  .side-nav { flex-direction: row; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
  .sidebar-foot { flex-direction: row; flex-wrap: wrap; }
  .sidebar-foot > * { flex: 1 1 auto; width: auto; }
  .content { padding-left: 16px; padding-right: 16px; }
  .hero h1, .post-full h1 { font-size: 1.6rem; }
  .user-meta { display: none; }
}


.wrap { width: 100%; margin: 0 auto; padding: 0 20px; }
.site .header-inner { gap: 1.5rem; flex-wrap: nowrap; }
.site .brand { display: inline-flex; align-items: center; gap: .5rem; }
.site .brand::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }
.site-menu { display: flex; gap: .2rem; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.site-menu a { color: var(--muted); font-weight: 700; padding: .45rem .85rem; border-radius: 999px; white-space: nowrap; font-size: .95rem; }
.site-menu a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-menu a.active { color: var(--primary); background: var(--primary-soft); }
.site-actions { display: flex; gap: .5rem; flex: none; }
.site-main { min-height: 60vh; }
.flash-wrap { padding-top: 1rem; }
.site .site-footer { padding: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.footer-inner p { margin: .4rem 0 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-menu a { color: var(--muted); font-weight: 600; }
.footer-bottom { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.footer-inner .footer-bottom p { margin: 0; }
.footer-made { white-space: nowrap; }
.footer-made a { color: inherit; font-weight: 700; }
.footer-love { display: inline-block; margin-left: .1em; animation: love-beat 1.8s ease-in-out infinite; }
@keyframes love-beat { 0%, 50%, 100% { transform: scale(1); } 12%, 32% { transform: scale(1.22); } }
@media (max-width: 600px) { .footer-bottom { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .footer-love { animation: none; } }

.pb { position: relative; padding: 72px 0; }
.pb h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .45em; }
.pb h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.015em; line-height: 1.2; margin: 0 0 .5em; }
.pb h3 { font-size: 1.12rem; margin: 0 0 .35em; }
.ml { white-space: pre-line; }
.pb .lead { font-size: 1.15rem; max-width: 640px; }
.pb-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.pb-actions:empty, .pb-center:empty { display: none; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; border-radius: 10px; }
.btn-light { background: #fff; color: #0f766e; }
.pb-heading { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.pb-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.pb-center { text-align: center; margin-top: 2rem; }

.pb-hero { padding: 112px 0 100px; overflow: hidden;
  background: radial-gradient(ellipse 60% 80% at 90% 0%, var(--primary-soft), transparent 70%),
              radial-gradient(ellipse 45% 60% at 0% 100%, var(--primary-soft), transparent 70%);
}
.hero-inner { max-width: 780px; }
.pb-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.pb-head { padding: 84px 0 56px; text-align: center; background: linear-gradient(180deg, var(--primary-soft), transparent); }
.pb-head .lead { margin: 0 auto; }
.pb-narrow { max-width: 760px; margin: 0 auto; }
.pb-body { font-size: 1.05rem; line-height: 1.8; }

.pb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.pb-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pb-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 30, 28, .08); }
.pb-card p { margin: 0; color: var(--muted); }
.pb-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.15rem; margin-bottom: 1rem; flex: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 50px rgba(16, 30, 28, .12); }

.pb-stats { padding: 40px 0; }
.pb-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow); }
.pb-stat { position: relative; text-align: center; padding: .75rem; }
.pb-stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1.1; }
.pb-stat span { color: var(--muted); font-weight: 600; }

.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem; border-radius: 24px; color: #fff;
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(135deg, #0f766e, #115e59);
  box-shadow: 0 20px 50px rgba(15, 118, 110, .25);
}
.cta-box h2 { color: #fff; margin-bottom: .25em; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }

.post-tile .post-meta { margin-bottom: .5rem; }
.post-tile h3 a { color: var(--text); }
.post-tile p { margin: .25rem 0 .75rem; }

.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.contact-body .btn { margin-top: 1rem; }
.contact-list { display: grid; gap: .85rem; }
.info-card { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.info-card .pb-ico { margin: 0; }
.info-card small { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.info-value { font-weight: 600; }

.pb-figure { margin: 0; }
.pb-img { display: block; width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(16, 30, 28, .12); }
.pb-figure figcaption { text-align: center; color: var(--muted); margin-top: .75rem; font-size: .92rem; }

.blog-list { padding-top: 8px; }

.blog-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; }
.blog-side { position: sticky; top: 96px; display: grid; gap: 1rem; }
.blog-side .search input {
  width: 100%; padding: .8rem 1rem; border: 0; border-radius: 14px; font: inherit; color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: 0 10px 30px rgba(16, 30, 28, .07);
}
.blog-side .search input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--primary), 0 10px 30px rgba(16, 30, 28, .07); }
.blog-side .pt-tabs { position: relative; top: auto; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.post-tile.blog-in { animation: blog-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes blog-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-side { position: static; }
}
@media (prefers-reduced-motion: reduce) { .post-tile.blog-in { animation: none; } }

.pb-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(15, 118, 110, .35); }
.pb-fab:hover { text-decoration: none; filter: brightness(1.08); }

@media (max-width: 860px) {
  .split, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .pb { padding: 52px 0; }
  .pb-hero { padding: 72px 0; }
  .cta-box { padding: 2rem; }
  .site .header-inner { flex-wrap: wrap; }
  .site-menu { order: 3; width: 100%; margin: 0; }
  .site-actions { margin-left: auto; }
}


.pb-editing { padding-top: 58px; padding-left: 272px; }
.pb-editing .site .site-header, .pb-editing .site-header { position: relative; top: 0; }
.pb-bar { position: fixed; top: 0; left: 0; right: 0; height: 58px; z-index: 200; display: flex; align-items: center; gap: 1rem; padding: 0 16px; }
.pb-bar-title { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.pb-status { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-bar-actions { display: flex; gap: .5rem; flex: none; }
.pb-bar #pb-save:disabled { opacity: .6; cursor: progress; }

.pb-palette { position: fixed; top: 58px; left: 0; bottom: 0; width: 272px; z-index: 150; overflow-y: auto; padding: 1.25rem 1rem; background: var(--surface); border-right: 1px solid var(--border); }
.pb-palette h2 { font-size: 1rem; margin: 0 0 .25rem; }
.pb-palette > p { font-size: .85rem; margin: 0 0 1rem; }
.pb-palette-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pb-pal { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .85rem .5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: grab; text-align: center; line-height: 1.2; }
.pb-pal i { font-size: 1.1rem; color: var(--primary); }
.pb-pal:hover { border-color: var(--primary); background: var(--primary-soft); }
.pb-help { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); }
.pb-help p { margin: 0 0 .55rem; display: flex; gap: .5rem; }
.pb-help i { color: var(--primary); width: 1rem; text-align: center; margin-top: .25rem; flex: none; }

#pb-canvas.is-empty { min-height: 320px; display: grid; place-items: center; margin: 24px; border: 2px dashed var(--border); border-radius: 20px; }
#pb-canvas.is-empty::before { content: "Halaman kosong — seret blok dari panel kiri ke sini."; color: var(--muted); }

.pb-editing [data-block] { outline: 2px dashed transparent; outline-offset: -6px; transition: outline-color .15s; }
.pb-editing [data-block]:hover, .pb-editing [data-block]:focus-within { outline-color: rgba(15, 118, 110, .45); }
.pb-tools { position: absolute; top: 12px; right: 12px; z-index: 30; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 10px; background: #13201e; color: #e4ecea; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s; pointer-events: none; }
[data-block]:hover > .pb-tools, [data-block]:focus-within > .pb-tools { opacity: 1; transform: none; pointer-events: auto; }
.pb-tname { font-weight: 800; padding: 0 .5rem 0 .2rem; text-transform: uppercase; letter-spacing: .05em; color: #9fb3af; white-space: nowrap; }
.pb-handle, .pb-ihandle { cursor: grab; padding: .35rem .45rem; color: #9fb3af; }
.pb-tbtn { border: 0; background: transparent; color: inherit; width: 30px; height: 30px; border-radius: 7px; cursor: pointer; }
.pb-tbtn:hover { background: rgba(255, 255, 255, .14); }
.pb-tbtn[data-act="del"]:hover, .pb-tbtn[data-act="idel"]:hover { background: #c93a3a; color: #fff; }

.pb-editing [data-f] { outline: 1px dashed transparent; outline-offset: 3px; border-radius: 4px; cursor: text; min-width: 2ch; transition: outline-color .15s; }
.pb-editing [data-f]:hover { outline-color: rgba(15, 118, 110, .6); }
.pb-editing [data-f]:focus { outline: 2px solid var(--primary); }
.pb-editing [data-f]:empty::before { content: attr(data-ph); color: var(--muted); opacity: .65; font-style: italic; font-weight: 500; }
.pb-editing .cta-box [data-f]:empty::before { color: #fff; }
.pb-editing a.btn[data-f]:empty { min-width: 120px; }
.pb-editing [data-fa] { cursor: pointer; }
.pb-editing img[data-fa]:hover, .pb-editing .pb-ico[data-fa]:hover { outline: 2px dashed var(--primary); outline-offset: 3px; }

.pb-editing [data-item] { position: relative; }
.pb-itools { position: absolute; top: 8px; right: 8px; z-index: 20; display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: #13201e; color: #e4ecea; opacity: 0; transition: opacity .15s; }
[data-item]:hover > .pb-itools, [data-item]:focus-within > .pb-itools { opacity: 1; }
.pb-itools .pb-tbtn { width: 26px; height: 26px; }
.pb-ihandle { padding: .25rem .4rem; }
.pb-add-item { border: 2px dashed var(--border); border-radius: 16px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; min-height: 90px; padding: 1rem; }
.pb-add-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.pb-stats-grid .pb-add-item { min-height: 0; }

.pb-marker { position: relative; z-index: 40; height: 6px; margin: -3px 24px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 4px rgba(15, 118, 110, .18); }
.pb-dragging { opacity: .35; }
.pb-flash { animation: pbflash .9s ease; }
@keyframes pbflash { from { box-shadow: inset 0 0 0 3px var(--primary); } to { box-shadow: inset 0 0 0 3px transparent; } }

.pb-pop { position: absolute; z-index: 300; width: 320px; max-width: calc(100vw - 16px); display: grid; gap: .75rem; padding: 1rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 48px rgba(16, 30, 28, .18); }
.pb-pop[hidden] { display: none; }
.pb-pop label { display: grid; gap: .3rem; font-weight: 700; }
.pb-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.pb-icons button { aspect-ratio: 1; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--primary); cursor: pointer; }
.pb-icons button:hover { background: var(--primary-soft); }
.pb-more { font-size: .8rem; }
.pb-pop .btn { justify-self: end; }
.pb-chip { display: table; margin: -1rem auto 1.5rem; padding: .35rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; cursor: pointer; }
.pb-locked-note { display: inline-flex; gap: .4rem; align-items: center; color: var(--muted); background: var(--surface-2); padding: .35rem .85rem; border-radius: 999px; }
.pages-intro h2 { font-size: 1.1rem; margin-bottom: .25rem; }
.pages-intro p { margin: 0; }

@media (max-width: 900px) {
  .pb-editing { padding-left: 0; padding-bottom: 130px; }
  .pb-palette { top: auto; right: 0; height: 122px; width: auto; border-right: 0; border-top: 1px solid var(--border); padding: .75rem; }
  .pb-palette h2, .pb-palette > p, .pb-help { display: none; }
  .pb-palette-list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 96px; overflow-x: auto; }
  .pb-bar-title span, .pb-status, .pb-bar-actions .btn-ghost:first-child { display: none; }
  .pb-tools, .pb-itools { opacity: 1; transform: none; pointer-events: auto; }
}
body.site { min-height: 100vh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; width: 100%; }
.pb-stat > .pb-itools { top: -16px; right: 50%; transform: translateX(50%); }


:root {
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-shine: rgba(255, 255, 255, .95);
  --glass-edge: rgba(16, 30, 28, .07);
  --glass-top: rgba(255, 255, 255, .6);
  --glass-bottom: rgba(255, 255, 255, .22);
  --glass-hover: rgba(255, 255, 255, .5);
  --glass-pill: rgba(255, 255, 255, .9);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(29, 37, 36, .58);
    --glass-border: rgba(255, 255, 255, .12);
    --glass-shine: rgba(255, 255, 255, .16);
    --glass-edge: rgba(0, 0, 0, .35);
    --glass-top: rgba(255, 255, 255, .10);
    --glass-bottom: rgba(255, 255, 255, .03);
    --glass-hover: rgba(255, 255, 255, .08);
    --glass-pill: rgba(255, 255, 255, .16);
  }
}


.site .site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; background: transparent; border-bottom: 0; backdrop-filter: none; pointer-events: none; }
.site .header-inner {
  pointer-events: auto; margin: 0 auto;
  padding: .55rem .6rem .55rem 1.25rem;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 32px rgba(16, 30, 28, .10), 0 1px 3px rgba(16, 30, 28, .06), inset 0 1px 0 var(--glass-shine);
}


.site .site-menu {
  padding: 4px; border-radius: 999px;
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 1px var(--glass-shine), inset 0 -1px 1px var(--glass-edge), 0 6px 18px rgba(16, 30, 28, .08);
}
.site .site-menu a { padding: .42rem 1rem; border-radius: 999px; opacity: .78; transition: background .2s, box-shadow .2s, opacity .2s, color .2s; }
.site .site-menu a:hover { background: var(--glass-hover); opacity: 1; }
.site .site-menu a.active {
  opacity: 1;
  background: var(--glass-pill);
  box-shadow: 0 2px 8px rgba(16, 30, 28, .12), inset 0 1px 0 var(--glass-shine), inset 0 0 0 .5px var(--glass-edge);
}


.pb-bar { background: linear-gradient(90deg, #0d9488, #14b8a6 55%, #2dd4bf); color: #fff; box-shadow: 0 4px 18px rgba(13, 148, 136, .35); }
.pb-bar-title i { color: #fff; }
.pb-status { color: rgba(255, 255, 255, .88); }
.pb-status.is-dirty { color: #fff; font-weight: 700; background: rgba(0, 0, 0, .16); padding: .2rem .7rem; border-radius: 999px; }
.pb-bar .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.pb-bar .btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.pb-bar #pb-save { background: #fff; color: #0f766e; }


.tabbar {
  position: fixed; left: 50%; z-index: 70;
  display: flex; width: max-content; max-width: calc(100% - 24px); border-radius: 30px;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(16, 30, 28, .18), 0 2px 6px rgba(16, 30, 28, .08), inset 0 1px 0 var(--glass-shine);
  opacity: 0; transform: translate(-50%, 150%);
  transition: transform .45s cubic-bezier(.2, .9, .25, 1.15), opacity .3s ease;
}
.nav-docked .tabbar { opacity: 1; transform: translate(-50%, 0); }
.tabbar a {
  flex: 1 1 0; min-width: 68px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: .5rem .75rem .42rem; border-radius: 24px; opacity: .72; font-size: .7rem; font-weight: 700; line-height: 1.1; white-space: nowrap;
  transition: background .2s, opacity .2s, color .2s, box-shadow .2s;
}
.tabbar a:hover { opacity: 1; background: var(--glass-hover); text-decoration: none; }
.tabbar a.active {
  opacity: 1; background: var(--glass-pill);
  box-shadow: 0 2px 8px rgba(16, 30, 28, .12), inset 0 1px 0 var(--glass-shine), inset 0 0 0 .5px var(--glass-edge);
}
.site .site-header { transition: transform .35s ease, opacity .3s ease; }
.nav-docked .site-header { transform: translateY(-130%); opacity: 0; }
.pb-fab { transition: bottom .35s ease; }
.nav-docked .pb-fab { bottom: calc(100px + env(safe-area-inset-bottom)); }
.site .site-footer { padding-bottom: 90px; }
.pb-editing .tabbar { display: none; }
.pb-editing .site-footer { padding-bottom: 0; }
@media (max-width: 520px) {
  .tabbar { left: 10px; right: 10px; width: auto; max-width: none; transform: translateY(150%); }
  .nav-docked .tabbar { transform: none; }
  .tabbar a { min-width: 0; padding: .5rem .15rem .4rem; font-size: .6rem; }
  .tabbar a i { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tabbar, .site .site-header, .pb-fab { transition: none; }
}
.site .site-menu a { font-size: calc(.95rem - 1px); }


.side-group { display: flex; flex-direction: column; gap: .15rem; }
.side-caret { margin-left: auto; font-size: .7rem !important; width: auto !important; transition: transform .2s; }
.side-group.open > .side-parent { color: var(--text); font-weight: 600; }
.side-group.open .side-caret { transform: rotate(180deg); }
.side-sub { display: flex; flex-direction: column; gap: .1rem; margin: 0 0 .25rem 1.3rem; padding-left: .55rem; border-left: 1.5px solid var(--border); }
.side-group:not(.open) .side-sub { display: none; }
.side-nav .side-sub a { padding: .42rem .65rem; font-size: .9rem; }
.side-nav .side-sub a i { font-size: .82rem; }
@media (max-width: 760px) {
  .side-group, .side-group.open .side-sub { display: contents; }
  .side-caret { display: none; }
}


.avatar { overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-xl { width: 96px; height: 96px; font-size: 2.2rem; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border); }
.avatar-card { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.avatar-body { flex: 1; min-width: 240px; }
.avatar-body h3 { margin-bottom: .2rem; }
.avatar-body p { margin: 0 0 .75rem; font-size: .9rem; }
.avatar-form { margin-bottom: .5rem; }
.file-btn { position: relative; cursor: pointer; max-width: 100%; overflow: hidden; }
.file-btn span { overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.user-cell { display: flex; align-items: center; gap: .75rem; }


.pb-upload { display: flex; gap: .5rem; align-items: center; }
.pb-upload .btn { flex: none; }
.pb-upload small { color: var(--muted); }
[hidden] { display: none !important; }


.pb-slider { padding: 40px 0; }
.slider { position: relative; border-radius: 28px; overflow: hidden; background: #115e59; box-shadow: 0 24px 60px rgba(16, 30, 28, .18); }
.slides { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(380px, 52vw, 560px); display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, #0f766e, #115e59); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 20, 19, .78), rgba(8, 20, 19, .4) 60%, rgba(8, 20, 19, .12)); }
.slide-body { position: relative; z-index: 1; max-width: 680px; padding: 3rem clamp(1.5rem, 7vw, 5rem); }
.slide-body .eyebrow { color: #5eead4; }
.slide-body h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; }
.slide-body p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin: 0; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.slider-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s; }
.slider-nav:hover { background: rgba(255, 255, 255, .3); }
.slider-nav.prev { left: 16px; }
.slider-nav.next { right: 16px; }
.slider-dots { position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(0, 0, 0, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.slider-dots button.active { width: 24px; background: #fff; }
.slider.is-single .slider-nav, .slider.is-single .slider-dots { display: none; }
@media (max-width: 640px) {
  .slider-nav { display: none; }
  .slide-body { padding: 2.5rem 1.5rem 3.5rem; }
}

.pb-editing .slide-body [data-f]:empty::before { color: rgba(255, 255, 255, .75); }
.pb-editing .slide-body .eyebrow[data-f]:empty::before { color: #5eead4; }
.slide-chip { position: absolute; left: 16px; top: 16px; z-index: 4; margin: 0; background: rgba(255, 255, 255, .92); }
.slider-interval { position: absolute; right: 16px; bottom: 16px; z-index: 4; margin: 0; background: rgba(255, 255, 255, .92); }
.pb-editing .slides > .pb-add-item { flex: 0 0 200px; margin: 1.25rem; min-height: 0; scroll-snap-align: start; border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .08); }
.pb-editing .slides > .pb-add-item:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.slide > .pb-itools { top: 16px; right: auto; left: 50%; transform: translateX(-50%); }


.dash-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 1.25rem; align-items: start; }
.dash-row.no-status { grid-template-columns: minmax(0, 1fr); }
.cal-head, .status-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.cal-head h3, .status-head h3 { margin: 0; font-size: 1.05rem; }
.cal-head h3 i, .status-head h3 i { color: var(--primary); }
.cal-nav { display: flex; gap: .35rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: .25rem 0 .4rem; }
.cal-day { position: relative; min-height: 58px; display: flex; flex-direction: column; justify-content: space-between; padding: .4rem .5rem; border-radius: 12px; border: 1px solid transparent; color: var(--text); background: var(--surface-2); transition: background .15s, border-color .15s; }
.cal-day:hover { text-decoration: none; border-color: var(--primary); }
.cal-day.is-empty { background: transparent; }
.cal-num { font-weight: 700; font-size: .9rem; }
.cal-day.has-posts { background: var(--primary-soft); }
.cal-day.is-today .cal-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; }
.cal-day.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
.cal-marks { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.cal-marks small { font-size: .68rem; font-weight: 800; color: var(--primary); }
.cal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.cal-list { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.cal-list h4 { margin: 0 0 .35rem; font-size: .92rem; }
.cal-list p { margin: .25rem 0; }
.cal-legend { display: flex; align-items: center; gap: .35rem; font-size: .8rem; margin: .75rem 0 0; }
.cal-today-mark { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); margin-left: .35rem; }

.status-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.status-pill.ok { background: var(--success-soft); color: var(--success); }
.status-pill.warn { background: var(--warning-soft); color: var(--warning); }
.status-pill.down { background: var(--danger-soft); color: var(--danger); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.ok .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
.status-list { margin: 0; display: grid; gap: 2px; }
.status-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: 0; }
.status-row dt { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.status-row dt i { width: 1.1rem; text-align: center; color: var(--primary); }
.status-row dd { margin: 0; text-align: right; font-weight: 700; font-size: .9rem; display: flex; flex-direction: column; align-items: flex-end; }
.status-row dd small { font-weight: 500; font-size: .75rem; }
.status-foot { font-size: .78rem; margin: .75rem 0 0; }
@media (max-width: 1100px) { .dash-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cal-day { min-height: 44px; padding: .3rem; } .cal-num { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .status-pill.ok .pulse::after { animation: none; } }


.dash-toolbar { display: flex; justify-content: flex-end; margin-bottom: -.5rem; }
.dash-config { position: relative; }
.dash-config > summary { list-style: none; cursor: pointer; }
.dash-config > summary::-webkit-details-marker { display: none; }
.dash-config[open] > summary { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.dash-config-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 280px; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 48px rgba(16, 30, 28, .16); }
.dash-config-panel h4 { margin: 0 0 .4rem; font-size: .88rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; font-weight: 600; font-size: .92rem; cursor: pointer; border-bottom: 1px solid var(--border); }
.switch-row:last-of-type { border-bottom: 0; }
.switch-row input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 23px; margin: 0; border-radius: 999px; background: var(--border); cursor: pointer; transition: background .2s; }
.switch-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch-row input:checked { background: var(--primary); }
.switch-row input:checked::after { transform: translateX(17px); }
.widget { position: relative; }
.widget-hide { position: absolute; top: -10px; right: -10px; z-index: 6; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); box-shadow: 0 4px 12px rgba(16, 30, 28, .12); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, border-color .15s; }
.widget:hover > .widget-hide, .widget-hide:focus-visible { opacity: 1; }
.widget-hide:hover { color: var(--danger); border-color: var(--danger); }
@media (hover: none) { .widget-hide { opacity: 1; } }
.dash-row:has(> .widget[hidden]) { grid-template-columns: minmax(0, 1fr); }

.dash-row:has(> .widget):not(:has(> .widget:not([hidden]))), .grid-2:has(> .widget):not(:has(> .widget:not([hidden]))) { display: none; }
.widgets-empty p { margin: 0; }


.site .site-header { padding-top: var(--nt-offset, 12px); }
.site .header-inner { background: var(--nt-bg, var(--glass-bg)); padding-top: var(--nt-pad, .55rem); padding-bottom: var(--nt-pad, .55rem); }
.site .header-inner .brand { color: var(--nt-text, var(--text)); }
.site .site-menu { gap: var(--nt-gap, 2px); }
.site .site-menu a { color: var(--nt-text, var(--text)); }
.site .site-actions .btn-ghost { color: var(--nt-text, var(--text)); }
.site .site-menu a.active { color: var(--nt-active, var(--primary)); }
.tabbar { bottom: calc(var(--nb-offset, 14px) + env(safe-area-inset-bottom)); padding: var(--nb-pad, 5px); gap: var(--nb-gap, 2px); background: var(--nb-bg, color-mix(in srgb, var(--surface) 80%, transparent)); }
.tabbar a { color: var(--nb-text, var(--text)); }
.tabbar a i { font-size: var(--nb-icon, 1.15rem); }
@media (max-width: 520px) { .tabbar a i { font-size: var(--nb-icon, 1.05rem); } }

.site:not(:has(.tabbar)) .site-footer { padding-bottom: 1.25rem; }
.tabbar a.active { color: var(--nb-active, var(--primary)); }


.pb-nav-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.pb-nav-section h2 { font-size: 1rem; margin: 0 0 .25rem; }
.pb-nav-section > p { font-size: .85rem; margin: 0 0 1rem; }
.pb-nav { border: 1px solid var(--border); border-radius: 12px; margin-bottom: .5rem; background: var(--surface); }
.pb-nav > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .65rem .75rem; font-weight: 700; }
.pb-nav > summary::-webkit-details-marker { display: none; }
.pb-nav > summary i:first-child { color: var(--primary); width: 1rem; text-align: center; }
.pb-nav-caret { margin-left: auto; font-size: .7rem; color: var(--muted); transition: transform .2s; }
.pb-nav[open] > summary { border-bottom: 1px solid var(--border); }
.pb-nav[open] .pb-nav-caret { transform: rotate(180deg); }
.pb-nav-body { display: grid; gap: .7rem; padding: .75rem; }
.pb-nav-body > .btn { justify-self: start; }
.pb-nav-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .25rem .5rem; }
.pb-nav-row label { grid-column: 1 / -1; font-weight: 700; color: var(--muted); }
.pb-nav-row input[type=range] { width: 100%; padding: 0; accent-color: var(--primary); }
.pb-nav-row input[type=color] { width: 100%; height: 30px; padding: 2px; cursor: pointer; }
.pb-nav-val { font-weight: 700; min-width: 3.4rem; text-align: right; font-variant-numeric: tabular-nums; }
.pb-nav-row[data-unset] .pb-nav-val { color: var(--muted); font-weight: 500; font-style: italic; }
.pb-nav-row[data-unset] input[type=color] { opacity: .45; }
.pb-nav-row[data-unset] .pb-nav-clear { visibility: hidden; }
.pb-nav-clear { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.pb-nav-clear:hover { background: var(--danger-soft); color: var(--danger); }


.pb-editing.pb-preview-bot .tabbar { display: flex; opacity: 1; transform: translate(-50%, 0); left: calc(50% + 136px); z-index: 160; }
@media (max-width: 900px) {
  .pb-editing.pb-preview-bot .tabbar { left: 50%; bottom: calc(var(--nb-offset, 14px) + 130px); }
}
@media (max-width: 520px) {
  .pb-editing.pb-preview-bot .tabbar { left: 10px; transform: none; }
}
@media (max-width: 900px) {
  .pb-nav-section h2, .pb-nav-section > p { display: none; }
}
.pb-nav-switch { padding: .1rem 0 .4rem; border-bottom: 1px solid var(--border); }
.pb-editing.pb-bot-off .tabbar { display: none !important; }
.pb-bot-off [data-nav-group="bot"] .pb-nav-row { opacity: .45; }


.pb-code-frame { display: block; width: 100%; height: 150px; border: 0; background: transparent; }
.pb-editing .pb-code .pb-chip { margin: 0 auto 1rem; }
.pb-pop.pb-pop-code { width: 600px; }
.pb-code-input { font-family: var(--mono); font-size: 12px; line-height: 1.5; resize: vertical; tab-size: 2; white-space: pre; overflow-wrap: normal; overflow-x: auto; min-height: 90px; }


.pb-bar-title { font-size: calc(.95rem - 2px); }
.pb-status { font-size: calc(.85rem - 2px); }
.pb-bar .btn-sm { font-size: calc(.85rem - 2px); }
.pb-palette h2, .pb-nav-section h2 { font-size: calc(1rem - 2px); }
.pb-palette > p, .pb-nav-section > p { font-size: calc(.85rem - 2px); }
.pb-pal { font-size: calc(.8rem - 2px); }
.pb-help { font-size: calc(.8rem - 2px); }
.pb-tname { font-size: calc(.72rem - 2px); }
.pb-tbtn { font-size: calc(.85rem - 2px); }
.pb-itools .pb-tbtn { font-size: calc(.78rem - 2px); }
.pb-add-item { font-size: calc(15px - 2px); }
.pb-pop { font-size: calc(15px - 2px); }
.pb-pop label { font-size: calc(.82rem - 2px); }
.pb-pop input, .pb-pop .btn-sm, .pb-upload .btn-sm { font-size: calc(15px - 2px); }
.pb-upload small, .pb-more { font-size: calc(.8rem - 2px); }
.pb-chip { font-size: calc(.82rem - 2px); }
.pb-locked-note { font-size: calc(.85rem - 2px); }
.pb-editing #pb-canvas.is-empty::before { font-size: calc(15px - 2px); }
.pb-nav > summary { font-size: calc(.88rem - 2px); }
.pb-nav-row label { font-size: calc(.78rem - 2px); }
.pb-nav-val { font-size: calc(.75rem - 2px); }
.pb-nav-switch { font-size: calc(.85rem - 2px); }
.pb-nav-body .btn-sm { font-size: calc(.85rem - 2px); }


.pb-hero { position: relative; }
.hero-media { display: none; }
.pb-hero.has-img .hero-media { display: block; }
.hero-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(16, 30, 28, .16); }

.pb-hero.has-img:not(.hero-bg) .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.pb-hero.has-img.hero-left .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pb-hero.has-img.hero-left .hero-media { order: -1; }
.pb-hero.has-img:not(.hero-bg) h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }

.pb-hero.has-img.hero-bg { color: #fff; background: #0f2a27; }
.pb-hero.has-img.hero-bg .hero-media { position: absolute; inset: 0; z-index: 0; }
.pb-hero.has-img.hero-bg .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 19, .8), rgba(8, 20, 19, .45) 60%, rgba(8, 20, 19, .2)); }
.pb-hero.has-img.hero-bg .hero-img { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }

.pb-hero.has-img.hero-bg .hero-inner { position: relative; z-index: 1; }
.pb-editing .pb-hero.has-img.hero-bg .hero-chip { z-index: 6; }
.pb-hero.has-img.hero-bg h1 { color: #fff; }
.pb-hero.has-img.hero-bg .lead { color: rgba(255, 255, 255, .88); }
.pb-hero.has-img.hero-bg .eyebrow { color: #5eead4; }
.pb-hero.has-img.hero-bg .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.pb-hero.has-img.hero-bg .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.pb-editing .pb-hero.has-img.hero-bg [data-f]:empty::before { color: rgba(255, 255, 255, .75); }
@media (max-width: 860px) {
  .pb-hero.has-img:not(.hero-bg) .hero-grid, .pb-hero.has-img.hero-left .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .pb-hero.has-img.hero-left .hero-media { order: 0; }
}

.hero-badge { display: none; }
.pb-hero.has-img.hero-cutout { padding: 64px 0 0; }
.pb-hero.has-img.hero-cutout .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.pb-hero.hero-cutout .hero-inner { padding-bottom: 64px; }
.pb-hero.hero-cutout .hero-media { position: relative; isolation: isolate; align-self: end; justify-self: center; width: min(100%, 360px); }
.pb-hero.hero-cutout .hero-media::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 47%; width: 108%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--primary) 30%, #fff), color-mix(in srgb, var(--primary) 75%, #8b5cf6));
  box-shadow: 0 30px 70px color-mix(in srgb, var(--primary) 30%, transparent);
}
.pb-hero.hero-cutout .hero-media::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 47%; width: 128%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  border: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent);
}
.pb-hero.hero-cutout .hero-img {
  aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 18px 24px rgba(16, 30, 28, .18));
}
.pb-hero.hero-cutout .hero-badge {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 12px 28px rgba(16, 30, 28, .14);
  color: var(--text); font-size: .9rem; font-weight: 700; white-space: nowrap;
  animation: badge-float 5s ease-in-out infinite alternate;
}
.pb-hero.hero-cutout .hero-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.pb-hero.hero-cutout .hero-badge-1 { top: 34%; left: -22%; }
.pb-hero.hero-cutout .hero-badge-2 { top: 62%; right: -20%; animation-delay: -2.5s; }
.pb-hero.hero-cutout .hero-badge-2::before { background: #8b5cf6; box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
@keyframes badge-float { to { transform: translateY(-10px); } }
@media (max-width: 1180px) {
  .pb-hero.hero-cutout .hero-badge-1 { left: -6%; }
  .pb-hero.hero-cutout .hero-badge-2 { right: -2%; }
}
@media (max-width: 860px) {
  .pb-hero.has-img.hero-cutout .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pb-hero.has-img.hero-cutout { padding-top: 48px; }
  .pb-hero.hero-cutout .hero-inner { padding-bottom: 0; }
  .pb-hero.hero-cutout .hero-media { width: min(78%, 320px); }
  .pb-hero.hero-cutout .hero-badge { font-size: .8rem; padding: .5rem .8rem; }
  .pb-hero.hero-cutout .hero-badge-1 { left: -10%; }
  .pb-hero.hero-cutout .hero-badge-2 { right: -10%; }
}
@media (prefers-reduced-motion: reduce) { .pb-hero.hero-cutout .hero-badge { animation: none; } }

.pb-editing .hero-chip { position: absolute; left: 16px; top: 16px; z-index: 5; margin: 0; }
.pb-pop select { font-size: calc(15px - 2px); }


.site .header-inner {
  width: var(--nt-width, calc(100% - 32px));
  border-radius: var(--nt-radius, 22px);
  padding-left: var(--nt-side, 1.25rem); padding-right: var(--nt-side, .6rem);
}


.wrap { max-width: var(--site-w, 1140px); padding-left: var(--site-pad, 20px); padding-right: var(--site-pad, 20px); }
.site .header-inner { max-width: var(--nt-maxw, var(--site-w, 1140px)); }


img.lb-zoomable { cursor: zoom-in; }
img.lb-zoomable:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 56px 16px 40px; background: rgba(8, 14, 13, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: lbIn .2s ease; }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .75rem; min-height: 0; max-height: 100%; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); cursor: default; animation: lbZoom .22s ease; }
@keyframes lbZoom { from { transform: scale(.96); } to { transform: none; } }
.lb-cap { color: rgba(255, 255, 255, .85); font-size: .92rem; text-align: center; max-width: 720px; }
.lb-cap:empty { display: none; }
.lb-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .15s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-single .lb-prev, .lb-single .lb-next { visibility: hidden; }
.lb-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: .85rem; font-weight: 700; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 60px 10px 90px; }
  .lb-figure { grid-column: 1; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { left: calc(50% + 12px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lb-img { animation: none; } }




.pb-features.fc-2 .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-features.fc-3 .pb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-features.fc-4 .pb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .pb-features.fc-3 .pb-grid, .pb-features.fc-4 .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pb-features[class*="fc-"] .pb-grid { grid-template-columns: minmax(0, 1fr); } }


.pb-features.sh-sharp .pb-card { border-radius: 0; }
.pb-features.sh-soft .pb-card { border-radius: 28px; }


.pb-features.fs-outline .pb-card { background: transparent; box-shadow: none; border: 1.5px solid var(--border); }
.pb-features.fs-outline .pb-card:hover { transform: none; box-shadow: none; border-color: var(--primary); }


.pb-features.fs-lift .pb-card { border: 0; box-shadow: 0 18px 45px rgba(16, 30, 28, .10); }
.pb-features.fs-lift .pb-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(16, 30, 28, .16); }


.pb-features.fs-left .pb-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-content: start; }
.pb-features.fs-left .pb-card > .pb-ico { grid-row: 1 / span 2; margin: 0; }
.pb-features.fs-left .pb-card > :not(.pb-ico):not(.pb-itools) { grid-column: 2; }


.pb-features.fs-center .pb-card { text-align: center; padding: 2rem 1.5rem; }
.pb-features.fs-center .pb-ico { width: 68px; height: 68px; font-size: 1.6rem; margin: 0 auto 1.1rem; display: grid; }


.pb-features.fs-minimal .pb-card { background: transparent; border: 0; border-top: 2px solid var(--border); border-radius: 0; box-shadow: none; padding: 1.5rem 0 0; }
.pb-features.fs-minimal .pb-card:hover { transform: none; box-shadow: none; border-top-color: var(--primary); }


.pb-features.fs-accent .pb-card { overflow: hidden; border-top: 0; padding-top: calc(1.5rem + 4px); }
.pb-features.fs-accent .pb-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), #38bdf8); }


.pb-features.fs-side .pb-card { border-left: 4px solid var(--primary); }


.pb-features.fs-number .pb-grid { counter-reset: fcard; }
.pb-features.fs-number .pb-card { counter-increment: fcard; }
.pb-features.fs-number .pb-card::before { content: counter(fcard, decimal-leading-zero); display: block; margin-bottom: .75rem; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--primary); }
.pb-features.fs-number .pb-ico { display: none; }


.pb-features.fs-solid .pb-ico { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 18px rgba(15, 118, 110, .28); }


.pb-features.fs-gradient .pb-card { border: 0; color: #fff; background: linear-gradient(135deg, #0d9488, #14b8a6); box-shadow: 0 16px 36px rgba(16, 30, 28, .16); }
.pb-features.fs-gradient .pb-card:nth-child(4n+2) { background: linear-gradient(135deg, #4f46e5, #8b5cf6); }
.pb-features.fs-gradient .pb-card:nth-child(4n+3) { background: linear-gradient(135deg, #ea580c, #f43f5e); }
.pb-features.fs-gradient .pb-card:nth-child(4n+4) { background: linear-gradient(135deg, #0284c7, #22d3ee); }
.pb-features.fs-gradient .pb-card h3 { color: #fff; }
.pb-features.fs-gradient .pb-card p { color: rgba(255, 255, 255, .88); }
.pb-features.fs-gradient .pb-ico { background: rgba(255, 255, 255, .2); color: #fff; }


.pb-features.fs-glass { background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, #38bdf8 16%, var(--bg)) 55%, color-mix(in srgb, #f472b6 14%, var(--bg))); }
.pb-features.fs-glass .pb-card { background: color-mix(in srgb, var(--surface) 58%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 32px rgba(16, 30, 28, .08); }


.pb-features.fs-dark { background: #0f1f1d; color: #e4ecea; }
.pb-features.fs-dark h2, .pb-features.fs-dark h3 { color: #fff; }
.pb-features.fs-dark .eyebrow { color: #5eead4; }
.pb-features.fs-dark .pb-sub { color: rgba(255, 255, 255, .7); }
.pb-features.fs-dark .pb-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }
.pb-features.fs-dark .pb-card:hover { background: rgba(255, 255, 255, .08); }
.pb-features.fs-dark .pb-card p { color: rgba(255, 255, 255, .72); }
.pb-features.fs-dark .pb-ico { background: rgba(45, 212, 191, .15); color: #2dd4bf; }
.pb-editing .pb-features.fs-dark [data-f]:empty::before, .pb-editing .pb-features.fs-gradient .pb-card [data-f]:empty::before { color: rgba(255, 255, 255, .7); }
.pb-editing .pb-features.fs-dark .pb-add-item { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .75); }


.pb-features.is-circle .pb-ico { border-radius: 50%; }
.pb-features.is-plain .pb-ico { width: auto; height: auto; background: none; box-shadow: none; font-size: 1.7rem; place-items: start; }
.pb-features.is-plain.fs-center .pb-ico { place-items: center; font-size: 2.1rem; }
.pb-features.is-plain.fs-gradient .pb-ico { color: #fff; }
.pb-features.is-plain.fs-solid .pb-ico, .pb-features.is-plain:not(.fs-gradient):not(.fs-dark) .pb-ico { color: var(--primary); }




.settings-sub { margin: 1.25rem 0 .1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.settings-sub i { color: var(--primary); }


.pb-nav-select { display: grid; gap: .3rem; font-size: calc(.78rem - 2px); font-weight: 700; color: var(--muted); }
.pb-nav-select select { font-size: calc(15px - 2px); padding: .4rem .5rem; }


.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text); background: var(--surface); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); text-decoration: none; transform: translateY(-2px); }


.fab-stack { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 65; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: bottom .35s ease; }
.fab { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.35rem; box-shadow: 0 10px 28px rgba(16, 30, 28, .22); transition: transform .2s, box-shadow .2s; }
.fab:hover { transform: translateY(-3px) scale(1.04); text-decoration: none; }
.fab[hidden] { display: none; }
.wa-fab { background: #25d366; color: #fff; font-size: 1.7rem; }
.wa-fab::after { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: waPulse 2.4s infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.totop { width: 44px; height: 44px; font-size: 1rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.nav-docked .fab-stack { bottom: calc(100px + env(safe-area-inset-bottom)); }
.site:has(.fab-stack) .pb-fab { right: auto; left: 20px; }
.pb-editing .fab-stack { display: none; }
@media (prefers-reduced-motion: reduce) { .wa-fab::after { animation: none; } }


.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.rv-in { opacity: 1; transform: none; }


.testi { display: flex; flex-direction: column; gap: 1rem; }
.stars { display: flex; gap: 3px; color: #f59e0b; font-size: .95rem; }
.testi-quote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.7; color: var(--text); position: relative; }
.testi-quote::before { content: "\201C"; position: absolute; top: -1.6rem; right: -.2rem; font-size: 4.5rem; line-height: 1; font-family: Georgia, serif; color: var(--primary); opacity: .15; }
.testi-person { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testi-person strong { display: block; line-height: 1.3; }
.testi-person span.muted { font-size: .88rem; }
.testi-avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; }
.testi-initial { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 1.1rem; }
.stars-chip { margin: 0 0 .25rem; display: inline-block; align-self: flex-start; }


.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: 0 10px 28px rgba(16, 30, 28, .06); }
.faq-q { margin: 0; padding: 1.1rem 1.25rem; font-size: 1.02rem; font-weight: 700; }
summary.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
summary.faq-q::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: .85rem; transition: transform .25s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--muted); line-height: 1.75; }
.faq-edit .faq-q { padding-bottom: .4rem; }


.price-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.75rem; }
.price-name { font-size: 1.05rem !important; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.price-amount { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price-amount strong { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price-desc { margin: 0 0 .5rem !important; }
.price-features { list-style: none; margin: .25rem 0 1.25rem; padding: 1rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .6rem; align-content: start; flex: 1; }
.price-features li { display: flex; gap: .6rem; align-items: baseline; }
.price-features li i { color: var(--primary); font-size: .85rem; }
div.price-features { color: var(--muted); line-height: 1.9; }
.price-btn { justify-content: center; width: 100%; }
.price-flag { display: none; }
.price-card:has([data-featured="1"]) { border: 2px solid var(--primary); box-shadow: 0 24px 60px color-mix(in srgb, var(--primary) 22%, transparent); }
.price-card:has([data-featured="1"])::before { content: "Paling populer"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: .25rem .9rem; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: .75rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
@media (min-width: 900px) {
  .price-card:has([data-featured="1"]) { transform: scale(1.03); }
  .price-card:has([data-featured="1"]):hover { transform: scale(1.03) translateY(-2px); }
}
.price-chip { margin: 0 0 .5rem; display: inline-block; align-self: flex-start; }


.team-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.team-card { text-align: center; }
.team-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; margin-bottom: 1rem; box-shadow: 0 14px 34px rgba(16, 30, 28, .1); transition: transform .3s; }
.team-card:hover .team-photo { transform: translateY(-4px); }
.team-card h3 { margin-bottom: .1rem !important; }
.team-role { margin: 0; color: var(--primary); font-weight: 700; font-size: .92rem; }
.team-bio { margin: .5rem 0 0; font-size: .92rem; }


.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; }
.gallery-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); pointer-events: none; }
.pb-editing .gallery-cap { position: static; display: block; padding: .5rem .25rem; color: var(--text); background: none; pointer-events: auto; }


.pb-logos { padding: 48px 0; }
.logos-title { text-align: center; margin: 0 0 1.5rem; color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; }
.logo-item { flex: 0 1 140px; display: grid; place-items: center; }
.logo-img { display: block; max-width: 140px; max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.logo-item:hover .logo-img { filter: none; opacity: 1; }


.video-box { max-width: 960px; margin: 0 auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0b1514; box-shadow: 0 24px 60px rgba(16, 30, 28, .2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; color: rgba(255, 255, 255, .7); text-align: center; padding: 1rem; }
.video-empty i { font-size: 3rem; color: #ff0033; }
.video-chip { margin: 0 auto 1rem; }


:root {
  
  --series-1: #2a78d6; 
  --series-2: #eb6834; 
  --st-good: #0ca30c;
  --st-warn: #fab219;
  --st-bad: #d03b3b;
}
@media (prefers-color-scheme: dark) {
  :root { --series-1: #3987e5; --series-2: #d95926; }
}


.seo-panel { margin-top: 1.25rem; display: grid; gap: .9rem; }
.seo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.seo-head h3 { margin: 0; }
.seo-head h3 i { color: var(--primary); }
.seo-head .muted { font-size: .85rem; }
.serp { padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-family: Arial, system-ui, sans-serif; }
.serp-site { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.serp-site > div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.serp-fav { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: .75rem; font-weight: 700; }
.serp-name { font-size: .85rem; color: var(--text); }
.serp-url { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-title { color: #1a0dab; font-size: 1.25rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.serp-desc { color: #4d5156; font-size: .88rem; line-height: 1.55; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-color-scheme: dark) { .serp-title { color: #99c3ff; } .serp-desc { color: #bdc1c6; } }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1rem; }
.seo-count { display: flex; justify-content: space-between; gap: 1rem; margin-top: .3rem; font-size: .8rem; }
.seo-count span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; flex: none; }
.seo-count span.over { color: var(--st-bad); }


.seo-score { margin-bottom: 1rem; }
.seo-score-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .75rem; }
.seo-score-head h3 { margin: 0 0 .2rem; }
.score-ring { position: relative; flex: none; width: 64px; height: 64px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 3.2; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke-linecap: round; transition: stroke-dasharray .4s ease; }
.score-ring.lv-good .ring-fg { stroke: var(--st-good); }
.score-ring.lv-warn .ring-fg { stroke: var(--st-warn); }
.score-ring.lv-bad .ring-fg { stroke: var(--st-bad); }
.score-num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: var(--text); font-variant-numeric: tabular-nums; }
.ring-sm { width: 40px; height: 40px; } .ring-sm .score-num { font-size: .8rem; }
.ring-md { width: 56px; height: 56px; } .ring-md .score-num { font-size: 1rem; }
.seo-level { display: inline-flex; align-items: center; padding: .1rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--text); border: 1px solid transparent; }
.seo-level.lv-good { background: color-mix(in srgb, var(--st-good) 16%, transparent); border-color: color-mix(in srgb, var(--st-good) 40%, transparent); }
.seo-level.lv-warn { background: color-mix(in srgb, var(--st-warn) 22%, transparent); border-color: color-mix(in srgb, var(--st-warn) 55%, transparent); }
.seo-level.lv-bad { background: color-mix(in srgb, var(--st-bad) 14%, transparent); border-color: color-mix(in srgb, var(--st-bad) 40%, transparent); }
.seo-checks, .issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .86rem; }
.seo-checks li, .issue-list li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4; color: var(--text); }
.seo-checks li i, .issue-list li i, .issue-ok i { margin-top: .15rem; flex: none; }
li.lv-good > i, .issue-ok i, .sw-level.lv-good i { color: var(--st-good); }
li.lv-warn > i, .sw-level.lv-warn i { color: #d99400; }
li.lv-bad > i, .sw-level.lv-bad i { color: var(--st-bad); }
@media (prefers-color-scheme: dark) { li.lv-warn > i, .sw-level.lv-warn i { color: var(--st-warn); } }


.seo-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.kpi { display: flex; align-items: center; gap: .9rem; }
.kpi > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; align-items: flex-start; }
.kpi-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.05rem; }
.kpi-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.kpi-value { font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.kpi small { font-size: .78rem; }
.seo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; align-items: start; margin-bottom: 1.25rem; }
.seo-cols > .card h3 { margin-bottom: .1rem; }
.seo-cols > .card > p.muted { margin: 0 0 1rem; font-size: .85rem; }
.viz-card { margin-bottom: 1.25rem; }
.viz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.viz-head h3 { margin: 0; }
.viz-head p { margin: .1rem 0 0; font-size: .85rem; }
.table-wrap > h3 { margin-bottom: .1rem; }
.table-wrap > p.muted { margin: 0 0 .75rem; font-size: .85rem; }
.viz-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-weight: 600; }
.viz-legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.dot.s1 { background: var(--series-1); } .dot.s2 { background: var(--series-2); }
.viz-table { margin-top: .75rem; font-size: .88rem; }
.viz-table summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.viz-table table { margin-top: .5rem; }


.vchart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; height: 220px; padding-bottom: 1.4rem; }
.vchart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: .72rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; transform: translateY(-.45em); height: 100%; }
.vchart-plot { position: relative; height: 100%; }
.vchart-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.vchart-grid span { border-top: 1px solid var(--border); }
.vchart-grid span:last-child { border-top-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.vchart-cols { position: absolute; inset: 0; display: flex; align-items: stretch; gap: 3px; }
.vcol { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; border-radius: 4px; outline: none; cursor: default; }
.vcol:hover, .vcol:focus-visible { background: color-mix(in srgb, var(--muted) 10%, transparent); }
.vcol:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.vseg { width: 100%; max-width: 22px; margin: 0 auto; min-height: 2px; }
.vseg.s1 { background: var(--series-1); }
.vseg.s2 { background: var(--series-2); }
.vcol > .vseg:first-child { border-radius: 4px 4px 0 0; }
.vx { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: .35rem; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.seo-widget .vchart { height: 120px; margin: .75rem 0 .25rem; }
.chart-tip { position: fixed; z-index: 500; pointer-events: none; white-space: pre-line; padding: .5rem .7rem; border-radius: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(16, 30, 28, .18); font-size: .8rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.chart-tip::first-line { font-weight: 800; }


.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.hbars li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: .75rem; font-size: .88rem; }
.hb-label { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { height: 12px; }
.hb-bar { display: block; height: 100%; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--series-1); }
.hb-val { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .82rem; }


.seg-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg-tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 9px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.seg-tabs a:hover { color: var(--text); text-decoration: none; }
.seg-tabs a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg-n { font-size: .72rem; padding: 0 .45rem; border-radius: 999px; background: var(--border); color: var(--text); }
.seo-audit td { vertical-align: top; }
.audit-meta { display: flex; gap: .35rem; margin-top: .3rem; }
.audit-score { display: flex; align-items: center; gap: .5rem; }
.issue-list { font-size: .82rem; gap: .3rem; }
.issue-ok { font-size: .85rem; font-weight: 600; color: var(--text); }
#audit, #integrasi { margin-bottom: 1.25rem; scroll-margin-top: 1rem; }
#integrasi h3 i { color: var(--primary); }
.seo-status h4 { margin: 0 0 .6rem; font-size: .9rem; }
.seo-status h4:not(:first-child) { margin-top: 1.25rem; }
.file-row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; }
.file-row > div { display: flex; flex-direction: column; min-width: 0; font-size: .88rem; }
.file-row a { overflow-wrap: anywhere; }


.seo-widget { margin-bottom: 1.25rem; }
.seo-widget h3 i { color: var(--primary); }
.sw-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sw-hero { display: flex; flex-direction: column; gap: .15rem; }
.sw-hero small { font-size: .8rem; }
.sw-score { display: flex; align-items: center; gap: .75rem; }
.sw-score > div { display: flex; flex-direction: column; gap: .25rem; align-items: flex-start; }
.sw-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
.sw-level { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: .82rem; }
.sw-level strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sw-level span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-level:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 560px) { .hbars li { grid-template-columns: 84px minmax(0, 1fr) auto; } .sw-levels { grid-template-columns: 1fr; } }

.table-wrap > h3, .table-wrap > .viz-head { padding: 1.25rem 1.25rem 0; }
.table-wrap > p.muted { padding: 0 1.25rem; }
.table-wrap > .empty { margin: 0 1.25rem 1.25rem; }
.seo-level { white-space: nowrap; }
.seo-count small { font-size: inherit; }


.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-logo { width: 30px; height: 30px; object-fit: contain; border-radius: 7px; flex: none; }
.brand.has-logo::before { display: none; }
.sidebar .brand-logo { width: 28px; height: 28px; }
.auth-brand.has-logo, .auth-brand { justify-content: center; display: flex; }
.auth-brand .brand-logo { width: 38px; height: 38px; }
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.logo-card { margin-bottom: 1.25rem; }
.logo-preview { width: 84px; height: 84px; border-radius: 18px; background: var(--surface-2); color: var(--muted); font-size: 1.8rem; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--border); }
.logo-preview img { object-fit: contain; padding: 8px; }
.logo-sample { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: 0 0 .9rem; padding: .6rem .8rem; border-radius: 12px; background: var(--surface-2); }
.logo-sample-brand { pointer-events: none; }
.logo-sample-brand::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }


.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1rem; }
.btn-icon { flex: none; width: 34px; padding-left: 0; padding-right: 0; justify-content: center; }


.api-docs .pb-heading { margin-bottom: 2rem; }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.doc-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .15rem; padding: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.doc-nav a { padding: .45rem .7rem; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.doc-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.doc-nav .doc-spec { margin-top: .4rem; border-top: 1px solid var(--border); border-radius: 0 0 9px 9px; padding-top: .7rem; }
.doc-body { display: grid; gap: 1rem; min-width: 0; }
.doc-section { scroll-margin-top: 100px; }
.doc-section h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.doc-section h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.doc-section code, .api-eps code, .copy-value { font-family: var(--mono); font-size: .86em; background: var(--surface-2); padding: .1em .4em; border-radius: 5px; }
.doc-code { margin: .5rem 0 1rem; padding: 1rem 1.1rem; overflow-x: auto; border-radius: 12px; background: #0f1a19; color: #d9f2ee; font-size: .82rem; line-height: 1.6; }
.doc-code code { background: none; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
.doc-api-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.doc-api-head h2 { margin: 0; }
.doc-api-head h2 i { color: var(--primary); }
.doc-endpoint { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.doc-endpoint code { font-size: .95rem; font-weight: 700; }
.doc-method { display: inline-block; padding: .12rem .45rem; border-radius: 6px; background: var(--success-soft); color: var(--success); font-size: .7rem; font-weight: 800; letter-spacing: .04em; font-family: var(--mono); }
.doc-table { margin: .4rem 0 .6rem; font-size: .86rem; }
.doc-table td, .doc-table th { padding: .5rem .75rem; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; } }


.api-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.api-base h3 { margin: 0 0 .4rem; }
.copy-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.copy-value { display: inline-block; padding: .45rem .7rem; font-size: .9rem; word-break: break-all; user-select: all; }
.new-key { margin-bottom: 1.25rem; border: 2px solid var(--success); background: color-mix(in srgb, var(--success-soft) 70%, var(--surface)); }
.new-key h3 { margin: 0 0 .3rem; color: var(--success); }
.new-key .copy-value { font-size: 1rem; font-weight: 700; background: var(--surface); }
.api-catalog { margin-bottom: 1.25rem; }
.api-desc { font-size: .82rem; max-width: 320px; margin-top: .2rem; }
.api-eps { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .82rem; }
.api-eps li { display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.api-switch { border: 0; padding: 0; justify-content: flex-start; }
.api-catalog select { width: auto; min-width: 170px; }
.api-cors { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.key-form { padding: 0 1.25rem 1.25rem; border-bottom: 1px solid var(--border); margin-bottom: .25rem; }
.key-scopes { border: 1px solid var(--border); border-radius: 10px; padding: .6rem .9rem; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.key-scopes legend { font-size: .85rem; font-weight: 700; padding: 0 .3rem; }
.key-scopes label { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; cursor: pointer; }
.table tr.is-off td { opacity: .55; }


.log-card { margin-bottom: 1.25rem; }
.lv-info { background: var(--primary-soft); color: var(--primary); }
.lv-warn { background: var(--warning-soft); color: var(--warning); }
.lv-danger { background: var(--danger-soft); color: var(--danger); }
.nowrap { white-space: nowrap; }
.log-table td { vertical-align: top; }
.log-sub { display: block; margin-top: .15rem; font-size: .78rem; }
.log-clip { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.site-menu a i { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  
  .site .site-header { padding-top: var(--nt-offset, 10px); }
  .site .header-inner {
    width: calc(100% - 20px); flex-wrap: wrap; align-items: center; gap: 0 .5rem;
    padding: .45rem .45rem .45rem 1rem; border-radius: var(--nt-radius, 20px);
  }
  .site .header-inner .brand { flex: 1 1 auto; min-width: 0; font-size: 1.05rem; }
  .site .header-inner .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site .site-actions { order: 2; margin-left: 0; gap: .4rem; align-items: center; }
  .site-cta { height: 40px; padding: 0 .85rem; border-radius: 12px; }
  .nav-toggle {
    display: inline-grid; place-items: center; flex: none; width: 42px; height: 40px; padding: 0; cursor: pointer;
    border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--nt-text, var(--text));
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .nav-toggle-bars { position: relative; display: block; width: 18px; height: 12px; }
  .nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 5px; }
  .nav-toggle-bars span:nth-child(3) { top: 10px; }
  .site-header.is-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .site-header.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

  .site .site-menu {
    order: 3; flex: 1 1 100%; width: 100%; margin: 0; display: none; flex-direction: column; gap: 2px;
    padding: .5rem 0 .3rem; overflow: visible; border-radius: 0; border: 0; border-top: 1px solid var(--border);
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-header.is-open .site-menu { display: flex; margin-top: .45rem; animation: menuIn .22s ease; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .site .site-menu a {
    display: flex; align-items: center; gap: .85rem; width: 100%; padding: .78rem .85rem; margin: 0;
    border-radius: 12px; font-size: 1rem; font-weight: 700; opacity: 1; box-shadow: none;
  }
  .site .site-menu a i { display: inline-block; width: 22px; text-align: center; font-size: 1rem; color: var(--nt-active, var(--primary)); opacity: .9; }
  .site .site-menu a:hover { background: var(--surface-2); }
  .site .site-menu a.active { background: var(--primary-soft); color: var(--nt-active, var(--primary)); box-shadow: none; }
  .site .site-menu a.active::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .site-header.is-open .header-inner { box-shadow: 0 18px 44px rgba(16, 30, 28, .16), inset 0 1px 0 var(--glass-shine); }
}
@media (max-width: 380px) {
  .site-cta .site-cta-label { display: none; }
  .site-cta { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .site-header.is-open .site-menu { animation: none; } .nav-toggle-bars span { transition: none; } }


@media (max-width: 640px) {
  .tabbar {
    left: 10px; right: 10px; width: auto; max-width: none;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--nb-gap, 0px);
    padding: var(--nb-pad, 6px) 4px calc(var(--nb-pad, 6px) + 1px); border-radius: 22px;
    bottom: calc(var(--nb-offset, 10px) + env(safe-area-inset-bottom));
    transform: translateY(140%);
  }
  .nav-docked .tabbar { transform: none; }
  .tabbar a {
    min-width: 0; gap: 3px; padding: .2rem 0 .1rem; border-radius: 14px;
    font-size: .66rem; font-weight: 700; letter-spacing: -.01em; opacity: .8;
    background: none; box-shadow: none;
  }
  .tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .tabbar a i {
    display: grid; place-items: center; width: 46px; height: 28px; border-radius: 999px;
    font-size: var(--nb-icon, 1.05rem); transition: background .2s, color .2s;
  }
  .tabbar a:hover { background: none; opacity: 1; }
  .tabbar a.active { opacity: 1; background: none; box-shadow: none; color: var(--nb-active, var(--primary)); }
  .tabbar a.active i { background: color-mix(in srgb, var(--nb-active, var(--primary)) 16%, transparent); }
  .site .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .nav-docked .fab-stack { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .fab-stack { right: 14px; }
}


.pages-intro.toolbar { align-items: center; }
.pages-stats { margin: 1rem 0; }
.pages-stats .stat.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.pages-filters { margin-bottom: 1rem; align-items: center; }
.pages-table td { vertical-align: middle; }
.pages-order-col { width: 1%; }
.pages-order { white-space: nowrap; }
.pages-order form + form { margin-left: .15rem; }
.btn-icon { padding: .3rem .5rem; }
.btn-icon i { margin-right: 0; }
.btn:disabled { opacity: .35; cursor: not-allowed; filter: none; }
.page-name { display: flex; align-items: center; gap: .5rem; }
.page-name i { color: var(--primary); width: 1.1rem; text-align: center; }
.page-badges { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.pages-note { margin-top: .75rem; }
.page-form-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page-form-head h2 { margin: 0; font-size: 1.25rem; }
#page-form .editor-main { display: flex; flex-direction: column; gap: 1rem; }
#page-form .editor-main > .hint { margin: -.75rem 0 0; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; margin: .75rem 0 1rem; transition: opacity .2s; }
.tpl-grid.tpl-off { opacity: .4; pointer-events: none; }
.tpl-card { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); position: relative; }
.tpl-card:hover { border-color: var(--primary); }
.tpl-card input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); }
.tpl-card:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.tpl-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.tpl-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tpl-body small { line-height: 1.35; }
.tpl-blocks { color: var(--primary); font-size: .72rem; font-weight: 600; }
.icon-pick-row { display: flex; gap: .5rem; align-items: center; }
.icon-pick-row input { flex: 1; min-width: 0; }
.icon-preview { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-size: 1.1rem; }
.icon-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: .3rem; margin: .7rem 0; }
.icon-pick { height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); cursor: pointer; }
.icon-pick:hover, .icon-pick.active { border-color: var(--primary); color: var(--primary); }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.pb-bar-title .badge { margin-left: .4rem; }
.page-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: .3rem; white-space: nowrap; }
@media (max-width: 1200px) { .page-actions .lbl { display: none; } .page-actions .btn-ghost i { margin-right: 0; } }
.row-menu { position: relative; }
.row-menu > summary { list-style: none; }
.row-menu > summary::-webkit-details-marker { display: none; }
.row-menu-panel { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 180px; padding: .35rem; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); text-align: left; }
.row-menu-panel form { display: block; }
.row-menu-item { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .5rem .65rem; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; text-align: left; }
.row-menu-item:hover { background: var(--surface-2); }
.row-menu-item i { width: 1rem; text-align: center; color: var(--muted); }
.row-menu-item.danger, .row-menu-item.danger i { color: var(--danger); }
@media (min-width: 901px) { .pages-wrap { overflow: visible; } }
@media (max-width: 900px) { .row-menu-panel { position: static; margin-top: .3rem; box-shadow: none; } .page-actions { flex-wrap: wrap; } }


.site .brand-logo { width: auto; height: var(--logo-h, 30px); max-width: min(240px, 50vw); border-radius: 0; }
.site-footer .brand-logo { width: auto; height: var(--logo-h, 30px); }
.site .site-footer { background: var(--ft-bg, var(--surface)); color: var(--ft-text, var(--muted)); }
.site .site-footer .muted { color: var(--ft-text, var(--muted)); }
.site .site-footer .brand { color: var(--ft-link, var(--ft-text, var(--text))); }
.site .footer-menu a { color: var(--ft-link, var(--ft-text, var(--muted))); }
.site .footer-social a { color: var(--ft-link, var(--ft-text, var(--text))); }
.site .footer-bottom { border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.footer-about { max-width: 420px; }
.footer-text { white-space: pre-line; }
.ft-no-brand .footer-brand, .ft-no-menu .footer-menu, .ft-no-social .footer-social { display: none; }
.ft-center .footer-inner { flex-direction: column; align-items: center; text-align: center; }
.ft-center .footer-about { margin: 0 auto; }
.ft-center .footer-menu, .ft-center .footer-social, .ft-center .footer-bottom { justify-content: center; }
.pb-nav-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin: .4rem 0 -.2rem; padding-top: .6rem; border-top: 1px dashed var(--border); }
.pb-nav-body > .pb-nav-sub:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.pb-nav-text, .pb-nav-image { display: grid; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.pb-nav-text input, .pb-nav-text textarea, .pb-nav-image input { font-size: .85rem; font-weight: 500; color: var(--text); }
.pb-nav-text textarea { resize: vertical; min-height: 64px; }
.pb-nav-image small { font-weight: 500; font-size: .75rem; }
.pb-logo-box { display: grid; place-items: center; min-height: 72px; padding: .6rem; border: 1px dashed var(--border); border-radius: 10px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 14px 14px; }
.pb-logo-box img { max-height: 56px; max-width: 100%; object-fit: contain; }
.pb-nav-image .pb-upload { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }


body.site[data-page-box] > main.site-main {
  --bg: var(--page-bg);
  width: calc(100% - 2 * clamp(0px, (100vw - var(--site-w, 1140px)) / 2, 24px));
  max-width: calc(var(--site-w, 1140px) + 2 * var(--site-pad, 20px));
  margin: 18px auto 32px;
  background: var(--page-bg);
  border-radius: var(--page-radius, 0px);
  box-shadow: 0 10px 40px rgba(16, 30, 28, .07);
  overflow: clip;
}
@media (max-width: 720px) { body.site[data-page-box] > main.site-main { width: 100%; margin: 10px 0 24px; border-radius: min(var(--page-radius, 0px), 14px); } }

@media (min-width: 861px) {
  .site .site-header {
    display: grid; justify-content: center;
    grid-template-columns: var(--nt-track, minmax(min(var(--nt-maxw, var(--site-w, 1140px)), 100% - 32px), max-content));
  }
  .site .header-inner { width: 100%; max-width: none; min-width: 0; }
}


.site .footer-inner { padding-top: var(--ft-pad, 2.5rem); padding-bottom: calc(var(--ft-pad, 40px) * .6); }
.site .site-footer { border-radius: var(--ft-radius, 0px) var(--ft-radius, 0px) 0 0; }
.site .site-footer.ft-float {
  width: calc(100% - 2 * var(--ft-offset, 16px));
  max-width: var(--ft-w, calc(var(--site-w, 1140px) + 2 * var(--site-pad, 20px)));
  margin: var(--ft-offset, 16px) auto calc(var(--ft-offset, 16px) + 76px);
  padding-bottom: 0;
  border: 1px solid var(--border);
  border-radius: var(--ft-radius, 24px);
  box-shadow: 0 12px 40px rgba(16, 30, 28, .08);
  overflow: clip;
}

.site:not(:has(.tabbar)) .site-footer.ft-float, .pb-editing .site-footer.ft-float { margin-bottom: var(--ft-offset, 16px); }
@media (max-width: 860px) {
  .site .site-footer.ft-float { padding-bottom: 0; margin-bottom: calc(var(--ft-offset, 16px) + 82px + env(safe-area-inset-bottom)); }
}


.img-popup { border: 0; padding: 0; background: transparent; width: min(92vw, 540px); max-width: none; max-height: none; overflow: visible; color: var(--text); }
.img-popup::backdrop { background: rgba(8, 14, 13, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.img-popup[open] { animation: imgPopIn .28s ease; }
@keyframes imgPopIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .img-popup[open] { animation: none; } }
html:has(dialog.img-popup[open]) { overflow: hidden; }
.img-popup-box { position: relative; display: grid; gap: 10px; padding: 10px; background: var(--surface); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.img-popup-box > a { display: block; }
.img-popup-img { display: block; width: 100%; max-height: calc(88vh - 80px); object-fit: contain; border-radius: 12px; background: var(--surface-2); }
.img-popup-box .img-popup-btn { display: flex; justify-content: center; text-align: center; width: 100%; margin: 0; }
.img-popup-close { position: absolute; top: -14px; right: -14px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 1.1rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer; }
.img-popup-close:hover { background: var(--primary); color: var(--primary-ink); }
@media (max-width: 560px) { .img-popup-close { top: 16px; right: 16px; } }
.pb-popup { padding: 32px 0; }
.popup-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 1.25rem 2rem; align-items: center; padding: 1.25rem; border: 2px dashed color-mix(in srgb, var(--primary) 45%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.popup-edit-head { display: flex; gap: .9rem; align-items: flex-start; }
.popup-edit-head .pb-ico { margin: 0; }
.popup-edit-head p { margin: .25rem 0 0; font-size: .9rem; }
.popup-edit-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.popup-edit-chips .pb-chip { margin: 0; }
.popup-edit-preview { box-shadow: var(--shadow); }
@media (max-width: 760px) { .popup-edit { grid-template-columns: 1fr; } }


.pb-hero:not(.hero-bg) { isolation: isolate; }

.pb-hero:not(.hero-bg)::before, .pb-hero:not(.hero-bg)::after {
  content: ""; position: absolute; z-index: -1; width: 60vmax; aspect-ratio: 1; border-radius: 50%;
  opacity: .45; pointer-events: none; will-change: transform;
  animation: aurora 20s ease-in-out infinite alternate;
}
.pb-hero:not(.hero-bg)::before { top: -30vmax; right: -20vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 55%, transparent), transparent); }
.pb-hero:not(.hero-bg)::after { bottom: -34vmax; left: -22vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 50%, #8b5cf6), transparent); animation-duration: 26s; animation-direction: alternate-reverse; }
@keyframes aurora { to { transform: translate3d(-7vmax, 5vmax, 0) scale(1.15); } }
@media (prefers-color-scheme: dark) { .pb-hero:not(.hero-bg)::before, .pb-hero:not(.hero-bg)::after { opacity: .3; } }

.hl { font-style: normal; color: var(--primary);
  background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #8b5cf6));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-bg .hl, .cta-box .hl { background: linear-gradient(100deg, #fff, color-mix(in srgb, var(--primary) 35%, #fff)); -webkit-background-clip: text; background-clip: text; }


.hx-w { display: inline-block; white-space: nowrap; }
.hx-ch { display: inline-block; transform-origin: 50% 100%; }
.hx-split .hl { background: none; -webkit-text-fill-color: currentColor; }
.hx-split .hl .hx-ch { color: var(--primary); color: color-mix(in oklab, var(--primary), color-mix(in srgb, var(--primary) 45%, #8b5cf6) calc(var(--p, 0) * 1%)); }
.hero-bg .hx-split .hl .hx-ch { color: color-mix(in oklab, #fff, color-mix(in srgb, var(--primary) 35%, #fff) calc(var(--p, 0) * 1%)); }
.hx-drop .hx-ch { animation: hx-drop 1s cubic-bezier(.2, 1.5, .35, 1) calc(var(--d, 0ms) + .15s) both; }
.hx-wave .hx-ch { animation: hx-jump .75s cubic-bezier(.3, 1.7, .5, 1) calc(var(--d, 0ms) * .8) both; }
@keyframes hx-drop { from { opacity: 0; transform: translateY(-130%) rotate(-35deg) scale(.5); } }
@keyframes hx-jump { 40% { transform: translateY(-.34em) rotate(-9deg) scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .hx-ch { animation: none !important; } }

@media (hover: hover) {
  body.site:not(.pb-editing) .pb-card { isolation: isolate; }
  body.site:not(.pb-editing) .pb-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%);
  }
  body.site:not(.pb-editing) .pb-card:hover::after { opacity: 1; }
}

.pb-stat strong { font-variant-numeric: tabular-nums; }

@supports (animation-timeline: scroll()) {
  body.site:not(.pb-editing)::before {
    content: ""; position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6); transform: scaleX(0);
    animation: scroll-progress linear both; animation-timeline: scroll(root);
  }
  @keyframes scroll-progress { to { transform: scaleX(1); } }
}

@media (prefers-reduced-motion: reduce) {
  .pb-hero:not(.hero-bg)::before, .pb-hero:not(.hero-bg)::after { animation: none; }
  body.site::before { display: none; }
}


body.site::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%),
    radial-gradient(34vmax 34vmax at 0% 35%, color-mix(in srgb, #38bdf8 10%, transparent), transparent 70%),
    radial-gradient(45vmax 45vmax at 10% 100%, color-mix(in srgb, #8b5cf6 11%, transparent), transparent 70%);
}
body.site .pb:not(.fs-minimal, .fs-solid, .fs-gradient, .fs-dark) .pb-card,
body.site .pb-stats-grid, body.site .info-card, body.site .faq-item {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(16, 30, 28, .07);
}
body.site .pb:not(.fs-minimal, .fs-solid, .fs-gradient, .fs-dark) .pb-card:hover { box-shadow: 0 16px 40px rgba(16, 30, 28, .11); }
body.site .faq-item[open] { box-shadow: 0 14px 36px rgba(16, 30, 28, .1); }
body.site .testi-person, body.site .price-features { border-top: 0; }
@media (prefers-color-scheme: dark) {
  body.site .pb:not(.fs-minimal, .fs-solid, .fs-gradient, .fs-dark) .pb-card,
  body.site .pb-stats-grid, body.site .info-card, body.site .faq-item { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
}


.pt { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.pt:not(.pt-js) { display: block; }
.pt:not(.pt-js) .pt-tabs { display: none; }
.pt:not(.pt-js) .pt-panel + .pt-panel { margin-top: 1.5rem; }
.pt-tabs {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: .35rem; padding: .5rem; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: 0 10px 30px rgba(16, 30, 28, .07);
}
.pt-tab {
  position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border: 0; border-radius: 14px;
  background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: color .35s;
}
.pt-tab:hover:not(.is-active) { background: color-mix(in srgb, var(--primary) 7%, transparent); }
a.pt-tab, a.pt-tab:hover { text-decoration: none; }
.pt-tabs:not(.has-glider) .pt-tab.is-active { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #8b5cf6)); }
.pt-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pt-tab .pb-ico { margin: 0; flex: none; transition: background .35s, color .35s, transform .35s; }
.pt-tab-text { display: grid; line-height: 1.3; }
.pt-tab-text small { color: var(--muted); font-weight: 600; transition: color .35s; }
.pt-tab.is-active { color: #fff; }
.pt-tab.is-active .pb-ico { background: rgba(255, 255, 255, .2); color: #fff; transform: rotate(-8deg) scale(1.08); }
.pt-tab.is-active small { color: rgba(255, 255, 255, .82); }
.pt-glider {
  position: absolute; top: 0; left: 0; z-index: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #8b5cf6));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
  transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), width .35s, height .35s;
}
.pt-prog { position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .7); transform: scaleX(0); transform-origin: 0 50%; }
.pt-auto .pt-tab.is-active .pt-prog { animation: pt-prog 7s linear forwards; }
.pt-paused .pt-prog { animation-play-state: paused !important; }
@keyframes pt-prog { to { transform: scaleX(1); } }

.pt-panel { padding: 2rem; }
.pt-panel[hidden] { display: none; }
.pt-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.pt-title { margin: 0 0 .35rem; font-size: 1.35rem; }
.pt-info .pb-actions { margin-top: 1rem; }
.pt-main .price-features { padding-top: 0; margin: 0; }
.pt-demos { margin-top: 2rem; }
.pt-demos-label { margin: 0 0 .85rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pt-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pt-demo h4 { margin: .9rem 0 .2rem; font-size: 1rem; }
.pt-demo p { margin: 0; font-size: .92rem; }
.pt-item-tab { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-size: 1.1rem; }
.pt-item-tab .pb-ico { margin: 0; }
.pt-edit { display: grid; gap: 1.5rem; }
.pt-edit .pt-item { padding: 2rem; }

.pt-js .pt-panel.is-active .pt-info,
.pt-js .pt-panel.is-active .price-features,
.pt-js .pt-panel.is-active .pt-demo { animation: pt-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.pt-js .pt-panel.is-active .price-features { animation-delay: .08s; }
.pt-js .pt-panel.is-active .pt-demo:nth-child(1) { animation-delay: .16s; }
.pt-js .pt-panel.is-active .pt-demo:nth-child(2) { animation-delay: .26s; }
@keyframes pt-in { from { opacity: 0; transform: translateY(14px); } }



.mock {
  --a: var(--primary); container-type: inline-size; display: flex; flex-direction: column; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px;
  background: var(--surface); box-shadow: 0 16px 36px rgba(16, 30, 28, .13);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.pt-demo:nth-child(2) .mock { --a: #8b5cf6; }
@media (hover: hover) { .pt-demo:hover .mock { transform: translateY(-6px); } }
.mock-bar { display: flex; align-items: center; gap: 1.2cqw; padding: 2cqw 2.4cqw; background: color-mix(in srgb, var(--a) 10%, var(--surface-2)); }
.mock-bar i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: color-mix(in srgb, var(--a) 40%, #cbd5d3); }
.mock-bar span { flex: 1; margin-left: 1.5cqw; padding: .4cqw 2.5cqw; overflow: hidden; border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 3cqw; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { flex: 1; display: grid; align-content: start; gap: 4.5cqw; padding: 4.5cqw 6cqw; }
.mock b {
  display: block; border-radius: 1.2cqw;
  background: color-mix(in srgb, var(--a) 14%, var(--surface-2));
}
.mock-nav { display: flex; gap: 2.5cqw; justify-content: flex-end; }
.mock-nav b { width: 8cqw; height: 1.8cqw; }
.mock-nav b:first-child { width: 14cqw; margin-right: auto; background: var(--a); }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; grid-auto-rows: min-content; gap: 2.2cqw 5cqw; }
.mock-hero b:nth-child(1) { height: 4.2cqw; width: 90%; }
.mock-hero b:nth-child(2) { height: 2.2cqw; width: 100%; }
.mock-hero b:nth-child(3) { grid-column: 2; grid-row: 1 / 4; height: 20cqw; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 40%, #38bdf8)); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.mock-cards b { height: 10cqw; }


:is(.pt-panel, .pt-item):nth-child(4n+2) .mock-hero { grid-template-columns: 1fr; justify-items: center; }
:is(.pt-panel, .pt-item):nth-child(4n+2) .mock-hero b:nth-child(3) { order: -1; grid-column: auto; grid-row: auto; width: 15cqw; height: 15cqw; border-radius: 50%; }
:is(.pt-panel, .pt-item):nth-child(4n+2) .mock-hero b:nth-child(1) { width: 50%; }
:is(.pt-panel, .pt-item):nth-child(4n+2) .mock-hero b:nth-child(2) { width: 70%; }

:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-hero { grid-template-columns: 1fr; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-hero b:nth-child(3) { order: -1; grid-column: auto; grid-row: auto; height: 15cqw; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-hero b:nth-child(1) { width: 75%; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-cards { grid-template-columns: 1fr; gap: 1.8cqw; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-cards b { height: 3.4cqw; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-cards b:nth-child(2) { width: 85%; }
:is(.pt-panel, .pt-item):nth-child(4n+3) .mock-cards b:nth-child(3) { width: 65%; }

:is(.pt-panel, .pt-item):nth-child(4n) .mock-body { background: color-mix(in srgb, var(--a) 6%, var(--surface)); }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-hero b:nth-child(3) { height: 9cqw; grid-row: 1 / 3; border-radius: 2cqw; }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-cards { align-items: end; height: 17cqw; }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-cards b { background: var(--a); transform-origin: 50% 100%; }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-cards b:nth-child(1) { height: 45%; opacity: .55; }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-cards b:nth-child(2) { height: 100%; }
:is(.pt-panel, .pt-item):nth-child(4n) .mock-cards b:nth-child(3) { height: 70%; opacity: .75; }
.pt-js .pt-panel.is-active:nth-child(4n) .mock-cards b { animation: mock-grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.pt-js .pt-panel.is-active:nth-child(4n) .mock-cards b:nth-child(2) { animation-delay: .12s; }
.pt-js .pt-panel.is-active:nth-child(4n) .mock-cards b:nth-child(3) { animation-delay: .24s; }
@keyframes mock-grow { from { transform: scaleY(0); } }

@media (max-width: 860px) {
  .pt { grid-template-columns: 1fr; }
  .pt-tabs { position: relative; top: auto; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .pt-tabs::-webkit-scrollbar { display: none; }
  .pt-tab { flex: none; }
  .pt-main { grid-template-columns: 1fr; gap: 1.25rem; }
  .pt-panel, .pt-edit .pt-item { padding: 1.4rem; }
}
@media (max-width: 520px) { .pt-demo-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pt-glider, .pt-tab .pb-ico { transition: none; }
  .mock { transition: none; }
  .pt-js .pt-panel.is-active :is(.pt-info, .price-features, .pt-demo, .mock-cards b) { animation: none !important; }
}


.mock-shot { display: block; flex: 1; width: 100%; min-height: 0; object-fit: cover; object-position: top center; background: var(--surface-2); }
.pb-editing .mock-shot { cursor: pointer; }


.offer {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; overflow: auto;
  color: var(--text); background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 80px rgba(8, 20, 19, .35);
}
.offer::backdrop { background: rgba(8, 20, 19, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.offer[open] { animation: offer-in .45s cubic-bezier(.2, .9, .3, 1.2); }
.offer[open]::backdrop { animation: offer-fade .3s ease; }
@keyframes offer-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes offer-fade { from { opacity: 0; } }
.offer-form { position: relative; display: grid; gap: 1rem; padding: 2rem; }
.offer-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); cursor: pointer; transition: transform .25s, background .25s; }
.offer-close:hover { transform: rotate(90deg); background: color-mix(in srgb, var(--text) 12%, transparent); }
.offer-head h2 { margin: .75rem 0 .25rem; font-size: 1.45rem; }
.offer-head p { margin: 0; }
.offer-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 10px 24px rgba(18, 140, 126, .35); }
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.offer-field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; }
.offer-field input, .offer-field textarea {
  width: 100%; padding: .7rem .85rem; border: 0; border-radius: 12px; font: inherit; font-weight: 400; color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); transition: box-shadow .2s;
}
.offer-field input:focus, .offer-field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--primary); }
.offer-field textarea { resize: vertical; min-height: 96px; }
.offer-cats { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.offer-cats legend { margin-bottom: .45rem; padding: 0; font-size: .85rem; font-weight: 700; }
.offer-cat { position: relative; cursor: pointer; }
.offer-cat input { position: absolute; opacity: 0; pointer-events: none; }
.offer-cat span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 9%, transparent);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.offer-cat span i { color: var(--primary); transition: color .25s; }
.offer-cat:hover span { transform: translateY(-2px); }
.offer-cat input:checked + span { color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #8b5cf6)); box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.offer-cat input:checked + span i { color: #fff; }
.offer-cat input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.offer-submit { width: 100%; justify-content: center; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; }
.offer-submit:hover { filter: brightness(1.05); }
.offer-note { margin: 0; text-align: center; font-size: .8rem; }
@media (max-width: 560px) { .offer-form { padding: 1.5rem 1.25rem; } .offer-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .offer[open], .offer[open]::backdrop { animation: none; } }


.post-card, .post-tile { overflow: hidden; }
.post-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface-2); }
.post-card .post-cover { margin: -1.25rem -1.25rem 1rem; }
.post-tile .post-cover { margin: -1.5rem -1.5rem 1rem; }
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.post-card:hover .post-cover img, .post-tile:hover .post-cover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .post-cover img { transition: none; } }


code, pre, kbd { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }


.skill-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.skill { --c1: var(--primary); --c2: color-mix(in srgb, var(--primary) 50%, #38bdf8); display: grid; gap: .85rem; padding: 1.25rem 1.5rem; }
.skill:nth-child(6n+2) { --c1: #8b5cf6; --c2: #c084fc; }
.skill:nth-child(6n+3) { --c1: #ea580c; --c2: #fbbf24; }
.skill:nth-child(6n+4) { --c1: #0284c7; --c2: #38bdf8; }
.skill:nth-child(6n+5) { --c1: #db2777; --c2: #f472b6; }
.skill:nth-child(6n) { --c1: #16a34a; --c2: #4ade80; }
.skill-head { display: flex; align-items: center; gap: .75rem; }
.skill-head .pb-ico { margin: 0; color: var(--c1); background: color-mix(in srgb, var(--c1) 14%, transparent); }
.skill-name { flex: 1; font-size: 1.05rem; }
.skill-level { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c1); }
body:not(.pb-editing) .skill-level::after { content: "%"; }
.skill-bar { height: 10px; overflow: hidden; border-radius: 99px; background: color-mix(in srgb, var(--c1) 12%, transparent); }
.skill-fill {
  display: block; height: 100%; width: calc(var(--lvl) * 1%); border-radius: inherit;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.skill:nth-child(2) .skill-fill { transition-delay: .1s; }
.skill:nth-child(3) .skill-fill { transition-delay: .2s; }
.skill:nth-child(4) .skill-fill { transition-delay: .3s; }
.skill:nth-child(n+5) .skill-fill { transition-delay: .4s; }
.skill-grid.sk-wait .skill-fill { width: 0; }


.split-cutout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-cutout .split-media { position: relative; isolation: isolate; display: grid; place-items: end center; width: min(100%, 420px); justify-self: center; padding: 2.5rem 1.5rem 1rem; }
.split-cutout .split-img {
  position: relative; z-index: 1; width: min(100%, 300px); height: auto; aspect-ratio: auto; object-fit: contain;
  border-radius: 0; box-shadow: none; filter: drop-shadow(0 14px 18px rgba(80, 50, 20, .18));
}
.split-cutout .split-media::after {
  content: ""; position: absolute; z-index: 0; left: 50%; bottom: .6rem; width: 62%; height: 26px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(60, 40, 20, .22), transparent);
}
.split-blob {
  position: absolute; z-index: -1; inset: 10% 2% 8%; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 28%, #fff), color-mix(in srgb, #8b5cf6 26%, #fff));
  will-change: transform; animation: blob-spin 28s linear infinite;
}
.split-blob::after {
  content: ""; position: absolute; inset: -7%; border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%;
  border: 2px dashed color-mix(in srgb, var(--primary) 30%, transparent);
  animation: blob-spin 40s linear infinite reverse;
}
@keyframes blob-spin { to { transform: rotate(360deg); } }
.split-paw { position: absolute; z-index: 2; color: var(--primary); opacity: .45; font-size: 1.35rem; animation: paw-float 5s ease-in-out infinite alternate; }
.split-paw-1 { --r: -22deg; top: 12%; left: 8%; }
.split-paw-2 { --r: 18deg; top: 34%; right: 4%; font-size: 1.05rem; color: #8b5cf6; animation-delay: -1.7s; }
.split-paw-3 { --r: -8deg; bottom: 26%; left: 0; font-size: .95rem; animation-delay: -3.4s; }
@keyframes paw-float {
  from { transform: translateY(0) rotate(var(--r)); }
  to { transform: translateY(-10px) rotate(var(--r)); }
}
@media (max-width: 860px) {
  .split-cutout { grid-template-columns: 1fr; }
  .split-cutout .split-media { width: min(100%, 340px); }
}
@media (prefers-reduced-motion: reduce) { .split-blob, .split-blob::after, .split-paw { animation: none; } }
