/* v0.7.37: same icon styling as the existing theme button, with no floating overlay. */
.topbar-actions #noor-legal-launcher.noor-topbar-info{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0!important;
  border-radius:10px;
  background:transparent!important;
  box-shadow:none!important;
  padding:0;
  min-width:36px;
  min-height:40px;
  width:40px;
  color:var(--muted,var(--ink,#708b82))!important;
  cursor:pointer;
  transition:color .2s ease,background-color .2s ease;
}
.topbar-actions #noor-legal-launcher.noor-topbar-info:hover,
.topbar-actions #noor-legal-launcher.noor-topbar-info:focus-visible{
  color:var(--green,var(--ink,#356e5b))!important;
  background:color-mix(in srgb,var(--green,#356e5b) 10%,transparent)!important;
}
.topbar-actions #noor-legal-launcher.noor-topbar-info:focus-visible{outline:2px solid var(--gold,#caac73);outline-offset:2px}
.topbar-actions #noor-legal-launcher svg{width:22px;height:22px;stroke:currentColor}
@media(max-width:610px){.topbar-actions #noor-legal-launcher.noor-topbar-info{min-width:34px;width:34px;min-height:38px}}
@media(max-width:420px){.topbar-actions #noor-legal-launcher.noor-topbar-info{min-width:32px;width:32px;min-height:36px}}
#noor-legal-dialog{background:var(--surface,#092e2a);color:var(--ink,#eaf0e9);border:1px solid var(--border,#bf9f69);border-radius:19px;box-shadow:0 20px 80px #0008;width:min(92vw,420px);max-height:min(82dvh,740px);overflow:auto;padding:25px;font-family:system-ui,Arial,sans-serif}
#noor-legal-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}
#noor-legal-dialog h2{margin:0 0 14px;color:var(--ink,#ffe2a4);font-size:19px}
#noor-legal-dialog a{display:block;color:var(--ink,#f4ebd8);padding:12px;margin:8px 0;text-decoration:none;background:var(--bg,#194740);border:1px solid var(--border,#8eae9a57);border-radius:12px;font-size:14px}
#noor-legal-dialog a:hover,#noor-legal-dialog a:focus-visible{background:color-mix(in srgb,var(--green,#286051) 12%,var(--surface,#194740))}
#noor-legal-dialog button{width:100%;margin-top:10px;padding:10px;color:var(--surface,#081e20);background:var(--gold,#e5c180);border:0;border-radius:11px;font:700 14px system-ui;cursor:pointer}
