@font-face { font-family: Inter; src: url("/accounts/fonts/InterVariable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
html[data-editor-mode="true"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html[data-editor-mode="true"] select,
html[data-editor-mode="true"] textarea {
  font: 500 13px Inter, system-ui, sans-serif !important;
  color: var(--t1, #f4f4f8) !important;
  background-color: var(--s1, rgba(255,255,255,.07)) !important;
  border: 1px solid var(--b1, rgba(255,255,255,.16)) !important;
  border-radius: 9px !important;
  min-height: 36px;
  padding: 8px 10px !important;
  box-shadow: none !important;
}
html[data-editor-mode="true"] textarea { line-height: 1.5; }
html[data-theme="light"][data-editor-mode="true"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html[data-theme="light"][data-editor-mode="true"] select,
html[data-theme="light"][data-editor-mode="true"] textarea {
  color: var(--t1, #111827) !important;
  background-color: rgba(255,255,255,.82) !important;
}
html[data-editor-mode="true"] select option { color: #f4f4f8; background: #20202a; }
html[data-theme="light"][data-editor-mode="true"] select option { color: #111827; background: #fff; }
html[data-editor-mode="true"] input:focus-visible,
html[data-editor-mode="true"] select:focus-visible,
html[data-editor-mode="true"] textarea:focus-visible { outline: 2px solid var(--acc, #7565e8) !important; outline-offset: 2px; }
html[data-editor-mode="true"] input:disabled,
html[data-editor-mode="true"] select:disabled,
html[data-editor-mode="true"] textarea:disabled { opacity: .58; cursor: not-allowed; }
html[data-editor-mode="true"] input::placeholder,
html[data-editor-mode="true"] textarea::placeholder { color: var(--t3, #85838f); opacity: 1; }
.niche-rich-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 8px;
  border: 1px solid var(--b1, rgba(255,255,255,.16)); border-radius: 8px;
  background: var(--bg2, #17171f); color: var(--t1, #fff);
}
.niche-rich-tool {
  font: 600 12px Inter, system-ui, sans-serif !important; min-width: 30px; min-height: 30px; padding: 5px 8px !important;
  border: 1px solid var(--b1, rgba(255,255,255,.16)) !important; border-radius: 6px !important;
  background: var(--s1, rgba(255,255,255,.06)) !important; color: var(--t1, #fff) !important; cursor: pointer;
}
.niche-rich-tool:hover { border-color: var(--acc, #7565e8) !important; background: var(--acc2, rgba(117,101,232,.18)) !important; }
.niche-rich-tool:focus-visible { outline: 2px solid var(--acc, #7565e8); outline-offset: 1px; }
html[data-editor-mode="true"] [data-rich-text][contenteditable="true"] { outline: none; }
html[data-editor-mode="true"] [data-rich-text][contenteditable="true"]:focus { outline: 1px solid var(--acc, #7565e8); outline-offset: 2px; }
@media (max-width: 480px) { .niche-rich-toolbar { gap: 3px; } .niche-rich-tool { min-width: 28px; padding: 5px 6px !important; } }
/* Shared small controls used by both the demo toolbar and the editor. */
.demo-tools{top:auto!important;bottom:12px!important}
.demo-tools label{display:flex;align-items:center;gap:5px;color:#c7c2d7;font-size:11px;white-space:nowrap}
.demo-tools input[type=color]{width:28px;height:28px;padding:2px;border:1px solid #ffffff35;border-radius:7px;background:#1b1a25;cursor:pointer}
.demo-tools button[aria-pressed=true]{border-color:#a99aff;background:#a99aff22}
.inline-news-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px;padding:12px;border:1px solid var(--b1,rgba(255,255,255,.16));border-radius:12px;background:var(--s1,rgba(255,255,255,.06))}
.inline-news-editor>strong,.inline-news-editor textarea,.inline-news-editor [role=status]{grid-column:1/-1}
.inline-news-editor input,.inline-news-editor textarea{font:500 13px Inter,system-ui,sans-serif;color:var(--t1,#f4f4f8);background:var(--s1,rgba(255,255,255,.07));border:1px solid var(--b1,rgba(255,255,255,.16));border-radius:9px;min-height:36px;padding:8px 10px}
.inline-news-editor textarea{min-height:80px;resize:vertical}
.inline-news-editor [role=status]{font-size:12px;color:var(--t2,#c7c2d7)}
html[data-editor-mode="true"] [data-edit-path][contenteditable="true"]{outline:1px dashed color-mix(in srgb,var(--acc) 70%,transparent);outline-offset:3px;border-radius:3px;cursor:text}
html[data-editor-mode="true"] [data-edit-path][contenteditable="true"]:focus{outline:2px solid var(--acc);background:var(--acc2)}
.editor-page-navigation{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;width:100%;padding:8px clamp(14px,3vw,30px);border-bottom:1px solid var(--b1,rgba(255,255,255,.14));background:var(--bg,#0c0c0f)}
.editor-page-navigation button{flex:0 0 auto;min-height:34px;padding:7px 11px;border:1px solid var(--b1,rgba(255,255,255,.16));border-radius:8px;background:var(--s1,rgba(255,255,255,.06));color:var(--t1,#fff);font:600 12px Inter,system-ui,sans-serif;cursor:pointer}
.editor-page-navigation button:hover{border-color:var(--acc,#7565e8);background:var(--acc2,rgba(117,101,232,.18))}
.editor-page-navigation button[aria-current="page"]{border-color:var(--acc,#7565e8);background:var(--acc,#7565e8);color:#fff}
.editor-page-navigation button:focus-visible{outline:2px solid var(--acc,#7565e8);outline-offset:2px}
html[data-theme="light"] .editor-page-navigation{background:#fff}
@media(max-width:600px){.demo-tools{top:auto!important;bottom:8px!important;max-width:calc(100vw - 12px);gap:4px}.demo-tools label{font-size:0}.demo-tools input[type=color]{width:25px;height:25px}.demo-tools button{padding:7px 8px!important;font-size:10px!important}.inline-news-editor{grid-template-columns:1fr}}
@media(max-width:600px){.editor-page-navigation{gap:4px;padding:7px 10px}.editor-page-navigation button{min-height:32px;padding:6px 8px;font-size:11px}}
