/* Only host defaults that Obsidian normally supplies. Product rules are copied unchanged. */
:root {
  --font-text-size: 16px;
  --font-interface:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  --font-text: var(--font-interface);
  --font-monospace: ui-monospace, monospace;
  --background-primary: #fff;
  --background-secondary: #f7f8f5;
  --background-secondary-alt: #f7f8f5;
  --background-modifier-border: #e8ebe7;
  --background-modifier-hover: #eaf3ed;
  --text-normal: #303b38;
  --text-muted: #646e68;
  --text-faint: #68736b;
  --text-accent: #2e7569;
  --interactive-accent: #2e7569;
  --text-on-accent: #fff;
  --interactive-normal: #fff;
  --interactive-hover: #eaf3ed;
  --input-radius: 6px;
  --input-border-width: 1px;
  --input-shadow: none;
  --input-shadow-hover: none;
  --radius-s: 6px;
  --radius-m: 10px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text-normal);
  font: 16px/1.55 var(--font-interface);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #2e7569;
  outline-offset: 3px;
}
button {
  border: 1px solid var(--background-modifier-border);
  border-radius: 6px;
  background: #fff;
  padding: 5px 10px;
}
svg.svg-icon {
  display: block;
  fill: none;
  stroke: currentColor;
}
a {
  color: var(--text-accent);
}
#product-root {
  min-height: 540px;
}
.view-content {
  overflow: auto;
  height: 100%;
  padding: 0;
}
#product-root.echoink-settings-host {
  padding: 24px;
}
#showcase-status:empty {
  display: none;
}
#showcase-status {
  margin: 10px 20px;
  font-size: 13px;
  color: var(--text-muted);
}
dialog {
  border: 1px solid #e8ebe7;
  border-radius: 12px;
  max-width: 90vw;
}
dialog::backdrop {
  background: #303b3840;
}
.modal h2 {
  font-size: 20px;
}
button.mod-cta {
  background: var(--interactive-accent);
  color: #fff;
}
input,
textarea,
select {
  border: 1px solid var(--background-modifier-border);
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
}
h2,
h3,
h4,
p {
  margin-top: 0;
}
#showcase-loading{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:#f6f7f5;color:#69716b;padding:24px;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#showcase-loading[hidden],#showcase-loading [hidden]{display:none!important}
#showcase-loading button{min-height:44px;padding:8px 20px;border:1px solid #e4e7e2;border-radius:8px;background:#fff;color:#202522}
.showcase-skeleton{width:60%;max-width:500px;display:grid;gap:24px;animation:showcase-breathe 1.8s ease-in-out infinite}
.showcase-skeleton span{display:block;height:40px;border-radius:8px;background:#e4e7e2}
.showcase-skeleton span:nth-child(2){height:160px}.showcase-skeleton span:nth-child(3){width:75%}
@keyframes showcase-breathe{50%{opacity:.6}}
@media(prefers-reduced-motion:reduce){.showcase-skeleton{animation:none}}
html[data-product-ready] #showcase-loading{display:none}
