
/* owner.css — clean layout skin (no logic) */

:root{
  --panel-bg: rgba(0,0,0,.18);
  --panel-border: rgba(255,255,255,.08);
  --soft: rgba(255,255,255,.05);
  --soft-2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
}

/* page container */
#app{
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 60px;
}

/* main panel */
#dash{
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  padding: 18px 18px 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}

/* header */
#dash h2{
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 34px;
}

/* divider */
#dash hr{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 12px 0;
}

/* === OWNER: SECTION FRAMING (layout only) === */
#dash .section{
  margin-top: 16px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

#dash .section h3{
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* === OWNER: CONVERSION SUB-PANELS (layout only) === */
#sec_conversion h4{
  margin-top: 14px;
}

#sec_conversion h4 + label{
  margin-top: 8px;
}

#sec_conversion h4 + label + div{
  margin-top: 10px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
}


/* labels */
#dash label{
  display:block;
  margin-top:10px;
}
#dash label > div{
  margin-bottom:6px;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}

/* inputs (neutral) */
#dash input,
#dash textarea,
#dash select{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  color:var(--text);
  outline:none;
}
#dash input:focus,
#dash textarea:focus,
#dash select:focus{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
}
#dash textarea{ min-height:90px; }

/* checkbox rows */
#dash input[type="checkbox"]{
  width:auto;
  margin:0;
}
#dash label[style*="display:flex"]{
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.07);
}

/* buttons baseline */
#dash button,
#auth button{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: var(--soft);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}
#dash button:hover,
#auth button:hover{
  background: var(--soft-2);
}

/* messages */
#listingHint,
#authMsg,
#editMsg{
  margin-top:10px;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:10px 12px;
}

/* Field Editor panel */
#dash > div[style*="display:grid"]{
  margin-top:12px;
  padding:14px 14px 16px;
  border-radius:18px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.07);
}

/* mobile */
@media (max-width:720px){
  #app{ padding:16px 12px 40px; }
  #dash{ padding:16px 14px 18px; border-radius:18px; }
  #dash h2{ font-size:26px; }
}


/* === OWNER: BUTTONS (single source of truth) === */
#save, #publish, #logout, #load{
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  filter: none !important;
}

/* label colors */
#save{   color: var(--accent) !important; }
#publish{color: var(--ok) !important; }
#logout{ color: var(--danger) !important; }
#load{   color: rgba(255,255,255,0.85) !important; }

/* hover = intent */
#save:hover{
  border-color: var(--accent) !important;
  background: rgba(64,140,255,0.16) !important;
  color: #fff !important;
}
#publish:hover{
  border-color: var(--ok) !important;
  background: rgba(99,255,182,0.14) !important;
  color: #fff !important;
}
#logout:hover{
  border-color: var(--danger) !important;
  background: rgba(255,86,86,0.14) !important;
  color: #fff !important;
}
#load:hover{
  border-color: rgba(255,255,255,0.28) !important;
  background: rgba(255,255,255,0.05) !important;
  color:#fff !important;
}


#dash input::placeholder,
#dash textarea::placeholder{
  color: rgba(255,255,255,.45);
}

#dash input:focus,
#dash select:focus,
#dash textarea:focus{
  outline: none;
  border-color: rgba(0,190,200,.55);
  box-shadow: 0 0 0 4px rgba(0,190,200,.12), inset 0 1px 0 rgba(255,255,255,.06), 0 12px 26px rgba(0,0,0,.28);
}

/* === OWNER: INPUT POP (simple) === */
#dash input,
#dash textarea,
#dash select{
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}



/* === OWNER: SOLID TEAL BACKGROUND === */
html, body{
  background: #1f6f78;
}

/* === OWNER: BUTTONS FORCE (final) === */
#dash #save,
#dash #publish{
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.92) !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.20) !important;
}

#dash #publish{
  background: rgba(0,190,200,.18) !important;
  border-color: rgba(0,190,200,.26) !important;
}


/* === OWNER: TYPOGRAPHY (fonts) === */
html, body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#dash h2,
#dash h3{
  font-family: "Space Grotesk", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .06em;
}

/* === OWNER: FONT POLISH OVERRIDES (typography only) === */
html, body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, #dash h1{
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

h2, h3, #dash .section h3{
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

/* === OWNER: SECTION HEADER BG (2026-01-25) === */
#dash .section > h3{
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 10px 12px;
}

/* --- Owner: Conversion Toolbox visual grouping (CSS-only) --- */
#sec_conversion { position: relative; }

/* Make the toolbox title bar feel like a container header */
#sec_conversion > h3{
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(0,0,0,.14) !important;
  margin: 0 0 10px 0 !important;
}

/* Tool headers inside toolbox */
#sec_conversion h4{
  padding: 9px 12px !important;
  border-radius: 12px !important;
  margin: 14px 0 8px 0 !important;
  background: rgba(255,255,255,.06) !important;
  font-weight: 800 !important;
}

/* Stronger emphasis for Smart Description (Verified) header only */
#sec_conversion h3 + p + div h3,
#sec_conversion #sec_ai h3{
  /* no-op safety (avoid matching other pages) */
}

/* Specifically target the Smart Description header text block */
#sec_conversion h3 + p { margin-bottom: 10px !important; }

/* --- Owner: Conversion Toolbox unified headers --- */
#sec_conversion h3,
#sec_conversion h4{
  padding: 10px 12px !important;
  border-radius: 12px !important;
  margin: 12px 0 8px 0 !important;
  background: rgba(0,0,0,.14) !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}


/* === TOOLBOX HEADER UNIFICATION === */
#sec_conversion h3,
#sec_conversion h4 {
  background: rgba(0,0,0,0.18);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 12px 0 8px 0;
}

/* ASKL_TOOLBOX_HEADERS_UNIFY */
#sec_conversion h3,
#sec_conversion h4,
#sec_meta h4{
  margin: 0 0 10px 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.92) !important;
  background: rgba(0,0,0,0.18) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
