/* ========================================================================
   eBotNote.com — SHADCN EDITORIAL SYSTEM + VUE ENHANCEMENT LAYER
   Loaded last. WordPress owns content; this file owns the visual system.
   ======================================================================== */

:root {
  --eb-bg: #ffffff;
  --eb-fg: #09090b;
  --eb-card: #ffffff;
  --eb-card-fg: #09090b;
  --eb-popover: #ffffff;
  --eb-popover-fg: #09090b;
  --eb-primary: #18181b;
  --eb-primary-fg: #fafafa;
  --eb-secondary: #f4f4f5;
  --eb-secondary-fg: #18181b;
  --eb-muted: #f4f4f5;
  --eb-muted-fg: #71717a;
  --eb-accent: #f4f4f5;
  --eb-accent-fg: #18181b;
  --eb-destructive: #ef4444;
  --eb-border: #e4e4e7;
  --eb-border-soft: #f1f1f3;
  --eb-input: #e4e4e7;
  --eb-ring: #a1a1aa;
  --eb-brand: #6d28d9;
  --eb-brand-strong: #5b21b6;
  --eb-brand-soft: #f5f3ff;
  --eb-radius: 8px;
  --eb-radius-sm: 6px;
  --eb-shell: 1120px;
  --eb-feed: 860px;
  --eb-reading: 760px;
  --eb-header-h: 62px;
  --eb-shadow-float: 0 12px 42px rgba(9, 9, 11, .12), 0 2px 8px rgba(9, 9, 11, .06);
}

html {
  background: var(--eb-bg) !important;
  color: var(--eb-fg) !important;
  scroll-behavior: smooth;
}

html.ebot-command-is-open,
html.ebot-command-is-open body {
  overflow: hidden !important;
}

body.ebotnote-ui {
  margin: 0 !important;
  background: var(--eb-bg) !important;
  color: var(--eb-fg) !important;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.ebotnote-ui *,
.ebotnote-ui *::before,
.ebotnote-ui *::after {
  box-sizing: border-box;
}

.ebotnote-ui ::selection {
  background: rgba(109, 40, 217, .14);
}

.ebotnote-ui a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ebotnote-ui img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------------
   HEADER / BRAND
   ------------------------------------------------------------------------ */
.ebotnote-ui .site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--eb-header-h);
  background: rgba(255, 255, 255, .91) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--eb-border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.ebotnote-ui.admin-bar .site-header {
  top: 32px;
}

.ebotnote-ui .inside-header {
  width: min(calc(100% - 32px), var(--eb-shell)) !important;
  max-width: var(--eb-shell) !important;
  min-height: var(--eb-header-h);
  margin: 0 auto !important;
  padding: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: transparent !important;
}

.ebotnote-ui .site-branding-container,
.ebotnote-ui .site-branding,
.ebotnote-ui .site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}

.ebotnote-ui .site-logo img,
.ebotnote-ui .header-image.is-logo-image {
  display: block;
  width: auto !important;
  height: 32px !important;
  max-width: 210px !important;
  object-fit: contain;
}

.ebotnote-ui .main-title {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
}

.ebotnote-ui .main-title a {
  color: var(--eb-fg) !important;
  text-decoration: none !important;
}

.ebotnote-ui .site-description {
  display: none !important;
}

/* ------------------------------------------------------------------------
   NAVIGATION — compact app bar
   ------------------------------------------------------------------------ */
.ebotnote-ui .main-navigation {
  margin-left: auto !important;
  background: transparent !important;
  color: var(--eb-fg) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui .main-navigation .inside-navigation {
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  background: transparent !important;
}

.ebotnote-ui .main-navigation .main-nav > ul {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.ebotnote-ui .main-navigation .main-nav ul li {
  float: none !important;
}

.ebotnote-ui .main-navigation .main-nav > ul > li > a,
.ebotnote-ui .main-navigation .menu-bar-items a {
  min-height: 34px !important;
  padding: 0 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #3f3f46 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: var(--eb-radius-sm) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}

.ebotnote-ui .main-navigation .main-nav > ul > li > a:hover,
.ebotnote-ui .main-navigation .main-nav > ul > li > a:focus-visible,
.ebotnote-ui .main-navigation .main-nav > ul > li.current-menu-item > a,
.ebotnote-ui .main-navigation .main-nav > ul > li.current_page_item > a {
  color: var(--eb-fg) !important;
  background: var(--eb-accent) !important;
  border-color: var(--eb-border) !important;
}

.ebotnote-ui .main-navigation ul ul {
  min-width: 190px !important;
  padding: 5px !important;
  background: var(--eb-popover) !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  box-shadow: var(--eb-shadow-float) !important;
  overflow: hidden;
}

.ebotnote-ui .main-navigation ul ul li a {
  min-height: 32px !important;
  padding: 7px 9px !important;
  color: var(--eb-popover-fg) !important;
  background: transparent !important;
  border-radius: 5px !important;
  font-size: 12px !important;
}

.ebotnote-ui .main-navigation ul ul li a:hover {
  background: var(--eb-accent) !important;
}

/* Search/command trigger */
.ebotnote-ui .ebot-nav-tools {
  margin-left: 4px;
  display: flex;
  align-items: center;
}

.ebotnote-ui .ebot-command-trigger {
  height: 34px;
  min-width: 214px;
  padding: 0 7px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--eb-muted-fg);
  background: #fff;
  border: 1px solid var(--eb-input);
  border-radius: var(--eb-radius-sm);
  box-shadow: 0 1px 1px rgba(9, 9, 11, .02);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .14s ease, box-shadow .14s ease, color .14s ease;
}

.ebotnote-ui .ebot-command-trigger:hover {
  color: var(--eb-fg);
  border-color: #d4d4d8;
}

.ebotnote-ui .ebot-command-trigger:focus-visible {
  outline: none;
  border-color: var(--eb-ring);
  box-shadow: 0 0 0 3px rgba(24, 24, 27, .07);
}

.ebotnote-ui .ebot-command-trigger svg,
.ebotnote-ui .ebot-command-head svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  flex: 0 0 auto;
}

.ebotnote-ui .ebot-command-trigger span {
  flex: 1;
  text-align: left;
}

.ebotnote-ui kbd {
  min-width: 30px;
  height: 21px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  background: var(--eb-secondary);
  border: 1px solid var(--eb-border);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  line-height: 1;
}

/* ------------------------------------------------------------------------
   WHOLE SITE SHELL
   ------------------------------------------------------------------------ */
.ebotnote-ui #page,
.ebotnote-ui .site,
.ebotnote-ui .site.grid-container,
.ebotnote-ui .container.grid-container,
.ebotnote-ui .site-content,
.ebotnote-ui .content-area,
.ebotnote-ui #primary,
.ebotnote-ui main.site-main {
  background: transparent !important;
  box-shadow: none !important;
}

.ebotnote-ui #page,
.ebotnote-ui .site.grid-container,
.ebotnote-ui .container.grid-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ebotnote-ui .site-content {
  width: min(calc(100% - 32px), var(--eb-shell)) !important;
  max-width: var(--eb-shell) !important;
  margin: 0 auto !important;
  padding: 28px 0 64px !important;
  display: block !important;
}

.ebotnote-ui .content-area,
.ebotnote-ui #primary,
.ebotnote-ui main.site-main {
  float: none !important;
  width: 100% !important;
  max-width: var(--eb-feed) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Sidebars/widgets are intentionally removed from the reading experience. */
.ebotnote-ui #right-sidebar,
.ebotnote-ui #left-sidebar,
.ebotnote-ui .widget-area.sidebar,
.ebotnote-ui aside.sidebar {
  display: none !important;
}

/* ------------------------------------------------------------------------
   BLOG / ARCHIVE FEED
   ------------------------------------------------------------------------ */
.ebotnote-ui:not(.single):not(.page) .site-main article,
.ebotnote-ui.blog .site-main article,
.ebotnote-ui.archive .site-main article,
.ebotnote-ui.search .site-main article,
.ebotnote-ui.home .site-main article {
  margin: 0 !important;
  padding: 22px 0 24px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--eb-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui .site-main article:first-of-type {
  border-top: 1px solid var(--eb-border) !important;
}

.ebotnote-ui article .inside-article {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui .page-header {
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--eb-border) !important;
  box-shadow: none !important;
}

.ebotnote-ui .page-header h1,
.ebotnote-ui .page-title {
  margin: 0 !important;
  color: var(--eb-fg) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  line-height: 1.12 !important;
  font-weight: 720 !important;
  letter-spacing: -.035em !important;
}

.ebotnote-ui .entry-header {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.ebotnote-ui .entry-title {
  margin: 0 !important;
  color: var(--eb-fg) !important;
  font-size: clamp(20px, 2.2vw, 27px) !important;
  line-height: 1.18 !important;
  font-weight: 690 !important;
  letter-spacing: -.032em !important;
}

.ebotnote-ui .entry-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.ebotnote-ui .entry-title a:hover {
  color: var(--eb-brand) !important;
}

.ebotnote-ui .entry-meta {
  margin: 7px 0 0 !important;
  color: var(--eb-muted-fg) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.ebotnote-ui .entry-meta a {
  color: inherit !important;
  text-decoration: none !important;
}

.ebotnote-ui .entry-summary {
  margin-top: 11px !important;
  color: #3f3f46 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

.ebotnote-ui .entry-summary p:last-child {
  margin-bottom: 0 !important;
}

.ebotnote-ui .post-image,
.ebotnote-ui .featured-image {
  margin: 14px 0 0 !important;
}

.ebotnote-ui .post-image img,
.ebotnote-ui .featured-image img {
  width: 100% !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  box-shadow: none !important;
}

/* ------------------------------------------------------------------------
   SINGLE ARTICLE — evidence-first reading view
   ------------------------------------------------------------------------ */
.ebotnote-ui.single-post .content-area,
.ebotnote-ui.single-post #primary,
.ebotnote-ui.single-post main.site-main,
.ebotnote-ui.page .content-area,
.ebotnote-ui.page #primary,
.ebotnote-ui.page main.site-main {
  max-width: var(--eb-reading) !important;
}

.ebotnote-ui.single-post .site-main article,
.ebotnote-ui.page .site-main article {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui.single-post .entry-title {
  font-size: clamp(31px, 5vw, 48px) !important;
  line-height: 1.045 !important;
  font-weight: 760 !important;
  letter-spacing: -.048em !important;
  text-wrap: balance;
}

.ebotnote-ui.single-post .entry-meta {
  margin-top: 13px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--eb-border) !important;
  font-size: 12px !important;
}

.ebotnote-ui .entry-content {
  margin-top: 24px !important;
  color: #27272a !important;
  font-size: 16px !important;
  line-height: 1.78 !important;
}

.ebotnote-ui .entry-content > * {
  max-width: 100%;
}

.ebotnote-ui .entry-content p,
.ebotnote-ui .entry-content ul,
.ebotnote-ui .entry-content ol,
.ebotnote-ui .entry-content blockquote {
  margin-bottom: 1.15em;
}

.ebotnote-ui .entry-content h1,
.ebotnote-ui .entry-content h2,
.ebotnote-ui .entry-content h3,
.ebotnote-ui .entry-content h4,
.ebotnote-ui .entry-content h5,
.ebotnote-ui .entry-content h6 {
  margin: 1.75em 0 .65em !important;
  color: var(--eb-fg) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
}

.ebotnote-ui .entry-content h2 { font-size: 25px !important; }
.ebotnote-ui .entry-content h3 { font-size: 20px !important; }
.ebotnote-ui .entry-content h4 { font-size: 17px !important; }

.ebotnote-ui .entry-content a {
  color: var(--eb-brand-strong) !important;
  text-decoration-line: underline;
  text-decoration-color: rgba(109, 40, 217, .3);
}

.ebotnote-ui .entry-content a:hover {
  text-decoration-color: currentColor;
}

.ebotnote-ui .entry-content blockquote {
  padding: 1px 0 1px 16px !important;
  color: #3f3f46 !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid var(--eb-border) !important;
  font-size: 15px !important;
}

.ebotnote-ui .entry-content hr {
  margin: 32px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--eb-border) !important;
}

.ebotnote-ui .entry-content code {
  padding: .16em .34em;
  color: #27272a;
  background: #f4f4f5;
  border: 1px solid var(--eb-border);
  border-radius: 4px;
  font-size: .88em;
}

.ebotnote-ui .entry-content pre {
  margin: 20px 0 !important;
  padding: 15px !important;
  overflow: auto;
  color: #f4f4f5 !important;
  background: #18181b !important;
  border: 1px solid #27272a !important;
  border-radius: var(--eb-radius) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.ebotnote-ui .entry-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

/* ------------------------------------------------------------------------
   SHADCN FORMS / BUTTONS / TABLES
   ------------------------------------------------------------------------ */
.ebotnote-ui button,
.ebotnote-ui input,
.ebotnote-ui select,
.ebotnote-ui textarea {
  font: inherit;
}

.ebotnote-ui input[type="text"],
.ebotnote-ui input[type="email"],
.ebotnote-ui input[type="password"],
.ebotnote-ui input[type="url"],
.ebotnote-ui input[type="tel"],
.ebotnote-ui input[type="number"],
.ebotnote-ui input[type="search"],
.ebotnote-ui textarea,
.ebotnote-ui select {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--eb-fg) !important;
  background: #fff !important;
  border: 1px solid var(--eb-input) !important;
  border-radius: var(--eb-radius-sm) !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 13px !important;
  transition: border-color .14s ease, box-shadow .14s ease;
}

.ebotnote-ui textarea {
  min-height: 110px;
  resize: vertical;
}

.ebotnote-ui input:focus,
.ebotnote-ui textarea:focus,
.ebotnote-ui select:focus {
  border-color: var(--eb-ring) !important;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, .07) !important;
}

.ebotnote-ui button:not(.menu-toggle):not(.ebot-command-trigger):not(.ebot-command-close):not(.ebot-float-top),
.ebotnote-ui input[type="submit"],
.ebotnote-ui input[type="button"],
.ebotnote-ui .button,
.ebotnote-ui .wp-element-button {
  min-height: 36px;
  padding: 7px 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--eb-primary-fg) !important;
  background: var(--eb-primary) !important;
  border: 1px solid var(--eb-primary) !important;
  border-radius: var(--eb-radius-sm) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.ebotnote-ui button:not(.menu-toggle):hover,
.ebotnote-ui input[type="submit"]:hover,
.ebotnote-ui .button:hover,
.ebotnote-ui .wp-element-button:hover {
  background: #27272a !important;
  border-color: #27272a !important;
}

.ebotnote-ui table {
  width: 100% !important;
  margin: 20px 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  font-size: 12px !important;
}

.ebotnote-ui th,
.ebotnote-ui td {
  padding: 9px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--eb-border) !important;
  text-align: left;
}

.ebotnote-ui th {
  color: #3f3f46;
  background: #fafafa !important;
  font-weight: 600;
}

.ebotnote-ui tr:last-child td {
  border-bottom: 0 !important;
}

/* ------------------------------------------------------------------------
   SEARCH RESULTS / PAGINATION
   ------------------------------------------------------------------------ */
.ebotnote-ui .paging-navigation,
.ebotnote-ui .post-navigation,
.ebotnote-ui .comments-area {
  margin-top: 26px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--eb-border) !important;
}

.ebotnote-ui .nav-links,
.ebotnote-ui .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.ebotnote-ui .page-numbers,
.ebotnote-ui .nav-links a {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3f3f46 !important;
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius-sm) !important;
  font-size: 12px;
  text-decoration: none !important;
}

.ebotnote-ui .page-numbers.current,
.ebotnote-ui .page-numbers:hover,
.ebotnote-ui .nav-links a:hover {
  color: var(--eb-fg) !important;
  background: var(--eb-accent) !important;
}

/* ------------------------------------------------------------------------
   EBOTNOTE / SPIDER COMPONENTS
   ------------------------------------------------------------------------ */
.ebotnote-ui .ebot-inline-spider,
.ebotnote-ui .ebot-article-storyline,
.ebotnote-ui .ebot-card-developing-storyline,
.ebotnote-ui .ebot-footer-related,
.ebotnote-ui .ebotsearch {
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 12px 0 0 !important;
  color: var(--eb-fg) !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--eb-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

.ebotnote-ui .ebot-inline-spider__label,
.ebotnote-ui .ebot-article-storyline__label,
.ebotnote-ui .ebot-card-developing-storyline__label {
  color: var(--eb-muted-fg) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ebotnote-ui .ebot-inline-spider__result,
.ebotnote-ui .ebot-article-storyline__link,
.ebotnote-ui .ebot-card-developing-storyline__link {
  padding: 8px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--eb-border-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui .ebot-inline-spider__title,
.ebotnote-ui .ebot-article-storyline__link,
.ebotnote-ui .ebot-card-developing-storyline__link,
.ebotnote-ui .ebot-footer-related__more {
  color: #3f3f46 !important;
  text-decoration: none !important;
}

.ebotnote-ui .ebot-inline-spider__title:hover,
.ebotnote-ui .ebot-article-storyline__link:hover,
.ebotnote-ui .ebot-card-developing-storyline__link:hover,
.ebotnote-ui .ebot-footer-related__more:hover {
  color: var(--eb-brand) !important;
}

/* ------------------------------------------------------------------------
   LOGIN / REGISTER / ACCOUNT PLUGIN SURFACES
   ------------------------------------------------------------------------ */
.ebotnote-ui .ebot-account,
.ebotnote-ui .ebot-account-card,
.ebotnote-ui .ebot-auth-card,
.ebotnote-ui .ebotnote-account,
.ebotnote-ui .woocommerce-MyAccount-content,
.ebotnote-ui .woocommerce-form {
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  box-shadow: none !important;
}

.ebotnote-ui .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
}

.ebotnote-ui .woocommerce-MyAccount-navigation a {
  min-height: 34px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  color: #3f3f46;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
}

.ebotnote-ui .woocommerce-MyAccount-navigation a:hover,
.ebotnote-ui .woocommerce-MyAccount-navigation .is-active a {
  color: var(--eb-fg);
  background: var(--eb-accent);
}

/* ------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------ */
.ebotnote-ui .site-footer,
.ebotnote-ui .site-info {
  background: #fff !important;
  color: var(--eb-muted-fg) !important;
  border-top: 1px solid var(--eb-border) !important;
  box-shadow: none !important;
}

.ebotnote-ui .inside-site-info {
  width: min(calc(100% - 32px), var(--eb-shell)) !important;
  max-width: var(--eb-shell) !important;
  min-height: 62px;
  margin: 0 auto !important;
  padding: 12px 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  font-size: 11px !important;
}

.ebotnote-ui .ebot-footer-brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.ebotnote-ui .ebot-footer-brand > * + *::before {
  content: "·";
  margin-right: 7px;
  color: #d4d4d8;
}

.ebotnote-ui .ebot-footer-brand strong {
  color: #3f3f46;
}

/* ------------------------------------------------------------------------
   VUE COMMAND PALETTE / PROGRESS / FLOAT BUTTON
   ------------------------------------------------------------------------ */
[v-cloak] {
  display: none !important;
}

.ebot-vue-root {
  position: relative;
  z-index: 2147480000;
}

.ebot-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147480001;
  height: 2px;
  pointer-events: none;
}

.admin-bar .ebot-reading-progress {
  top: 32px;
}

.ebot-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--eb-brand);
  transition: width .05s linear;
}

.ebot-command-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147481000;
  padding: min(14vh, 110px) 16px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(9, 9, 11, .34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ebot-command {
  width: min(100%, 560px);
  overflow: hidden;
  background: var(--eb-popover);
  border: 1px solid #d4d4d8;
  border-radius: 11px;
  box-shadow: var(--eb-shadow-float);
}

.ebot-command-head {
  min-height: 54px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--eb-border);
}

.ebot-command-head > svg {
  color: var(--eb-muted-fg);
}

.ebot-command-form {
  flex: 1;
  margin: 0;
}

.ebot-command-form input[type="search"] {
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

.ebot-command-close {
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  color: var(--eb-muted-fg);
  background: var(--eb-secondary);
  border: 1px solid var(--eb-border);
  border-radius: 5px;
  font-size: 10px;
  cursor: pointer;
}

.ebot-command-body {
  padding: 8px;
}

.ebot-command-label {
  margin: 0;
  padding: 6px 8px 5px;
  color: var(--eb-muted-fg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebot-command-body a {
  min-height: 36px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3f3f46;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
}

.ebot-command-body a:hover,
.ebot-command-body a:focus-visible {
  color: var(--eb-fg);
  background: var(--eb-accent);
  outline: none;
}

.ebot-command-body a span {
  color: var(--eb-muted-fg);
}

.ebot-command-foot {
  min-height: 36px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--eb-muted-fg);
  background: #fafafa;
  border-top: 1px solid var(--eb-border);
  font-size: 10px;
}

.ebot-float-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #3f3f46;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius-sm);
  box-shadow: 0 4px 16px rgba(9, 9, 11, .08);
  cursor: pointer;
}

.ebot-float-top:hover {
  color: var(--eb-fg);
  background: var(--eb-accent);
}

.ebot-float-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------------
   WORDPRESS CORE BLOCKS
   ------------------------------------------------------------------------ */
.ebotnote-ui .wp-block-search__inside-wrapper {
  padding: 4px !important;
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
}

.ebotnote-ui .wp-block-search__input {
  border: 0 !important;
  box-shadow: none !important;
}

.ebotnote-ui .wp-block-separator {
  border: 0 !important;
  border-top: 1px solid var(--eb-border) !important;
}

.ebotnote-ui .wp-block-group.has-background,
.ebotnote-ui .wp-block-columns.has-background {
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  box-shadow: none;
}

/* ------------------------------------------------------------------------
   ACCESSIBILITY
   ------------------------------------------------------------------------ */
.ebotnote-ui :focus-visible {
  outline: 2px solid rgba(109, 40, 217, .45);
  outline-offset: 2px;
}

.ebotnote-ui .screen-reader-text:focus {
  z-index: 2147482000;
}

/* ------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------ */
@media (max-width: 900px) {
  :root {
    --eb-shell: 100%;
    --eb-feed: 100%;
    --eb-reading: 100%;
  }

  .ebotnote-ui .inside-header {
    width: calc(100% - 24px) !important;
  }

  .ebotnote-ui .site-content,
  .ebotnote-ui .inside-site-info {
    width: calc(100% - 28px) !important;
  }

  .ebotnote-ui .ebot-command-trigger {
    min-width: 0;
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .ebotnote-ui .ebot-command-trigger span,
  .ebotnote-ui .ebot-command-trigger kbd {
    display: none;
  }
}

@media (max-width: 768px) {
  .ebotnote-ui.admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .ebot-reading-progress {
    top: 46px;
  }

  .ebotnote-ui .site-header {
    min-height: 54px;
  }

  .ebotnote-ui .inside-header {
    min-height: 54px;
    padding: 7px 0 !important;
    gap: 8px !important;
  }

  .ebotnote-ui .site-logo img,
  .ebotnote-ui .header-image.is-logo-image {
    height: 28px !important;
    max-width: 176px !important;
  }

  .ebotnote-ui .menu-toggle {
    min-height: 34px !important;
    padding: 0 9px !important;
    color: #3f3f46 !important;
    background: #fff !important;
    border: 1px solid var(--eb-border) !important;
    border-radius: var(--eb-radius-sm) !important;
  }

  .ebotnote-ui .main-navigation.toggled .main-nav {
    position: absolute;
    top: calc(100% + 7px);
    right: 12px;
    left: 12px;
    padding: 5px;
    background: #fff !important;
    border: 1px solid var(--eb-border) !important;
    border-radius: var(--eb-radius) !important;
    box-shadow: var(--eb-shadow-float) !important;
  }

  .ebotnote-ui .main-navigation.toggled .main-nav > ul {
    display: block !important;
  }

  .ebotnote-ui .main-navigation.toggled .main-nav > ul > li > a {
    width: 100%;
    min-height: 36px !important;
    justify-content: flex-start;
  }

  .ebotnote-ui .site-content {
    padding-top: 20px !important;
    padding-bottom: 44px !important;
  }

  .ebotnote-ui.single-post .entry-title {
    font-size: clamp(29px, 9vw, 40px) !important;
  }

  .ebotnote-ui .entry-content {
    font-size: 15px !important;
    line-height: 1.74 !important;
  }

  .ebotnote-ui .inside-site-info {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ebotnote-ui .site-content {
    width: calc(100% - 22px) !important;
  }

  .ebotnote-ui .inside-header {
    width: calc(100% - 20px) !important;
  }

  .ebotnote-ui:not(.single):not(.page) .site-main article,
  .ebotnote-ui.blog .site-main article,
  .ebotnote-ui.archive .site-main article,
  .ebotnote-ui.search .site-main article,
  .ebotnote-ui.home .site-main article {
    padding: 18px 0 20px !important;
  }

  .ebotnote-ui .entry-title {
    font-size: 21px !important;
  }

  .ebot-command-backdrop {
    padding: 72px 10px 16px;
  }

  .ebot-command {
    border-radius: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
