body { font-family: var(--theme-font, system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif); }
.backdrop { background: var(--theme-background, radial-gradient(circle at 12% 10%, rgba(26,184,213,.13), transparent 28%), radial-gradient(circle at 85% 60%, rgba(244,123,34,.09), transparent 30%), linear-gradient(180deg,#f9fdff,#ecf7fa)); }
.sidebar { background: var(--theme-sidebar, linear-gradient(155deg,#083746,#10546a)); }
html[data-theme-radius] :is(.panel,.btn,.hero) { border-radius: var(--theme-radius); }
.layout [hidden], .bottom [hidden] { display: none !important; }
#themeEditor > summary { cursor: pointer; font-weight: 800; }
#themeEditorBody { margin-block-start: 16px; }
.theme-form { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.theme-form fieldset, .theme-form .actions { grid-column: 1 / -1; }
.theme-nav-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; margin-block: 6px; }
.theme-nav-row label { display: flex; align-items: center; gap: 8px; }
.theme-nav-row input { inline-size: 20px; min-block-size: 20px; }
.theme-preview { display: grid; grid-template-columns: minmax(135px,25%) 1fr; background: var(--theme-background,#f3fafc); font-family: var(--theme-font,inherit); color: var(--text); border: 1px solid var(--line); border-radius: var(--theme-radius,16px); overflow: hidden; margin: 12px auto; }
.theme-preview-mobile { max-inline-size: 390px; grid-template-columns: 1fr; }
.theme-preview aside { background: var(--theme-sidebar,#083746); color: white; padding: 14px; }
.theme-preview aside img { width: min(100%,145px); max-height: 54px; object-fit: contain; }
.theme-preview-mobile aside div { display: inline-block; margin-inline-end: 10px; }
.theme-preview > div { min-width: 0; padding: 16px; overflow-wrap: anywhere; }
.theme-preview section { background: var(--white); border-radius: var(--theme-radius,16px); padding: 14px; }
.roniex-welcome { color: var(--cyan); font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; font-size: clamp(1.05rem,3vw,1.35rem); font-weight: 800; margin: .2em 0 0; }
.roniex-activity { position: relative; }
.roniex-activity summary { cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.roniex-activity summary span:not(:empty) { display: inline-block; padding-inline: 6px; border-radius: 99px; color: white; background: var(--navy); }
.roniex-activity > div { position: absolute; inset-inline-end: 0; z-index: 15; width: min(340px,85vw); max-height: 55vh; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; }
.roniex-activity ul { padding: 0; margin: 0; list-style: none; }
.roniex-activity li { display: grid; gap: 3px; padding: 9px 0; border-block-end: 1px solid var(--line); overflow-wrap: anywhere; }
.roniex-activity time { color: var(--muted); font-size: .8rem; }
.customer-directory-results { padding: 0; list-style: none; }
.customer-directory-results li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.customer-directory-code { overflow-wrap: anywhere; font-family: monospace; }
@media (max-width: 640px) { .roniex-activity > div { position: fixed; inset: 18vh 5vw auto; width: auto; } }
