/* Akadium Refresh v2 – brand system and consistent outline menu icons */
.ak-brand-image { display:block; width:auto; height:auto; max-width:190px; max-height:54px; object-fit:contain; object-position:left center; flex-shrink:1; }
.sidebar-logo .ak-brand-image { max-width:205px; max-height:52px; }
.top-header-logo .ak-brand-image { max-width:158px; max-height:39px; }
.logo .ak-brand-image { max-width:200px; max-height:53px; }
.ak-brand-mark { display:inline-flex; position:relative; flex-shrink:0; align-items:center; justify-content:center; width:42px; height:42px; border-radius:13px; background:#1c416f; color:white; font-family:'Plus Jakarta Sans',sans-serif; font-size:27px; font-weight:800; line-height:1; letter-spacing:-.07em; box-shadow:0 5px 14px rgba(32,68,110,.12); }
.ak-brand-mark-dot { position:absolute; width:5px; height:5px; background:#dbb16d; border-radius:50%; top:9px; right:9px; }
.ak-brand-wordmark { display:inline-block; color:#1b3456; font-family:'Plus Jakarta Sans',sans-serif; font-size:23px; font-weight:800; letter-spacing:-.055em; white-space:nowrap; line-height:1.15; }
.ak-brand-wordmark > span { color:#b38a40; }
.top-header-logo .ak-brand-mark { width:35px; height:35px; border-radius:10px; font-size:22px; }
.top-header-logo .ak-brand-wordmark { font-size:19px; }
.logo .ak-brand-mark { width:45px; height:45px; }
.logo .ak-brand-wordmark { font-size:24px; }
/* Use a uniform line-icon family, not emoji backgrounds. */
body.ak-refresh .sidebar-menu-icon, body.ak-refresh .sidebar-menu-link > .sidebar-menu-icon { width:31px; min-width:31px; height:31px; display:inline-flex; align-items:center; justify-content:center; background:transparent!important; color:#7a8ca3; border-radius:9px; flex-shrink:0; }
body.ak-refresh .sidebar-menu-link:hover .sidebar-menu-icon { color:#28578a; }
body.ak-refresh .sidebar-menu-link.active .sidebar-menu-icon { color:#20548c; background:transparent!important; }
.ak-menu-svg { display:block; width:19px; height:19px; fill:none; flex-shrink:0; }
body.ak-refresh .logout-btn { display:flex; align-items:center; justify-content:center; gap:8px; }
body.ak-refresh .logout-btn .ak-menu-svg { width:17px; height:17px; }
/* The selected item uses a soft surface only. No colored left stripe or inset borders. */
body.ak-refresh .sidebar-menu-link.active { border-left:0!important; border-inline-start:0!important; box-shadow:none!important; background:#eaf2fc; color:#17487e; padding-left:12px; }
body.ak-refresh .sidebar-menu-link.active::before, body.ak-refresh .sidebar-menu-link.active::after { content:none!important; display:none!important; }
body.ak-refresh .sidebar-menu-link { border-left:0!important; border-inline-start:0!important; }
/* Logo manager in Admin > Settings. */
.ak-logo-manager { grid-column:1 / -1; }
.ak-logo-manager .ak-brand-preview { display:flex; align-items:center; justify-content:center; border:1px dashed #cad6e5; background:#f7f9fc; border-radius:14px; padding:25px; min-height:115px; margin-top:8px; }
.ak-logo-manager .ak-brand-preview .ak-brand-image { max-width:330px; max-height:96px; }
.ak-logo-help { color:#6d7e92; font-size:12px; line-height:1.8; margin:12px 0 16px; }
.ak-logo-manager input[type=file] { display:block; width:100%; padding:12px; background:#fff; border:1px solid #d7e1ee; border-radius:10px; font-size:12px; color:#294262; }
.ak-logo-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:15px; }
.ak-logo-actions button { cursor:pointer; }
.ak-logo-manager .ak-secondary-btn { display:inline-flex; align-items:center; gap:8px; padding:11px 16px; background:white; border:1px solid #d4dfea; border-radius:10px; color:#9d3b3b; font-weight:700; }
.ak-logo-preview-label { font-size:11px; font-weight:700; color:#728399; letter-spacing:.06em; text-transform:uppercase; }
@media(max-width:700px){.ak-brand-wordmark{font-size:20px}.sidebar-logo .ak-brand-image{max-width:190px}.ak-logo-actions .btn,.ak-logo-actions button{width:100%;justify-content:center;}}

/* Make the fallback wordmark legible on dark public footers. */
.footer-brand .ak-brand-wordmark { color:#fff; }

/* Same restrained icon family in dashboard action cards and summaries. */
body.ak-refresh .ak-tool-icon .ak-menu-svg { width:22px; height:22px; }
body.ak-refresh .ak-tool-icon { color:#265b91; }
body.ak-refresh .stat-icon .ak-menu-svg { width:22px; height:22px; }
body.ak-refresh .ak-quicklink .ak-menu-svg { width:18px; height:18px; }
body.ak-refresh .ak-action .ak-menu-svg { width:17px; height:17px; }

/* Inline/content icons in page titles, section heads, buttons, tables, and empty states. */
body.ak-refresh .ak-inline, body.ak-refresh .ak-label-icon, body.ak-refresh .ak-btn-icon, body.ak-refresh .ak-empty-icon, body.ak-refresh .ak-status-icon, body.ak-refresh .ak-panel-icon {
  display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; color:#2b5b91; flex-shrink:0;
}
body.ak-refresh .ak-inline { margin-right:.5rem; }
body.ak-refresh .ak-inline .ak-menu-svg,
body.ak-refresh .ak-label-icon .ak-menu-svg,
body.ak-refresh .ak-btn-icon .ak-menu-svg,
body.ak-refresh .ak-status-icon .ak-menu-svg,
body.ak-refresh .ak-panel-icon .ak-menu-svg { width:18px; height:18px; }
body.ak-refresh .page-title .ak-inline .ak-menu-svg { width:21px; height:21px; }
body.ak-refresh .card-title .ak-inline .ak-menu-svg,
body.ak-refresh .section-title .ak-inline .ak-menu-svg,
body.ak-refresh .modal-title .ak-inline .ak-menu-svg,
body.ak-refresh .video-modal-title .ak-inline .ak-menu-svg { width:19px; height:19px; }
body.ak-refresh .btn .ak-btn-icon { margin-right:.45rem; }
body.ak-refresh .empty-state-icon { display:inline-flex; align-items:center; justify-content:center; width:68px; height:68px; border-radius:18px; background:#eef4fb; color:#315f95; margin:0 auto 1rem; }
body.ak-refresh .empty-state-icon .ak-menu-svg { width:30px; height:30px; }
body.ak-refresh .stat-mini-icon,
body.ak-refresh .proof-link,
body.ak-refresh .table-icon { display:inline-flex; align-items:center; gap:.35rem; }
body.ak-refresh .proof-link .ak-menu-svg,
body.ak-refresh .table-icon .ak-menu-svg,
body.ak-refresh .stat-mini-icon .ak-menu-svg { width:16px; height:16px; }
body.ak-refresh .ak-icon-only { display:inline-flex; align-items:center; justify-content:center; }
body.ak-refresh .ak-icon-only .ak-menu-svg { width:16px; height:16px; }
body.ak-refresh .section-number .ak-menu-svg,
body.ak-refresh .gpj-radio-icon .ak-menu-svg { width:18px; height:18px; }

/* v4: polished inline SVGs in generators, dropdowns, CTA and results. */
body.ak-refresh :is(.btn,.gpj-btn,.copy-btn,.btn-copy,.btn-video,.referral-link-input button,.gpj-radio-icon,.doc-type-icon,.research-type-icon,.type-icon,.chapter-number,.section-number,.prompt-output-title,.bab-header-title,.stat-card .stat-icon,.referral-success-icon) .ak-menu-svg { display:inline-block; width:17px; height:17px; vertical-align:-.15em; stroke:currentColor; flex-shrink:0; }
body.ak-refresh :is(.gpj-btn,.btn,.btn-video,.copy-btn,.btn-copy,.referral-link-input button) > .ak-menu-svg { margin-right:.35rem; }
body.ak-refresh :is(.doc-type-icon,.research-type-icon,.type-icon,.chapter-number,.section-number) .ak-menu-svg { width:23px; height:23px; }
body.ak-refresh .referral-success-icon .ak-menu-svg { width:34px; height:34px; }
body.ak-refresh .ak-inline { display:inline-flex; align-items:center; vertical-align:-.13em; }
body.ak-refresh .ak-inline > .ak-menu-svg { width:19px; height:19px; }
body.ak-refresh .ak-btn-icon { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; }
body.ak-refresh .ak-btn-icon > .ak-menu-svg { width:17px; height:17px; }
body.ak-refresh .announcement-icon .ak-menu-svg { width:22px; height:22px; vertical-align:middle; }
body.ak-refresh .ref-status .ak-menu-svg { width:16px; height:16px; vertical-align:middle; }
body.ak-refresh .status-icon .ak-menu-svg,body.ak-refresh .prompt-output-title .ak-menu-svg { width:18px; height:18px; vertical-align:middle; }
body.ak-refresh .ak-content-switch { display:inline-flex; align-items:center; gap:6px; }
body.ak-refresh .ak-content-switch .ak-menu-svg { width:18px; height:18px; }
body.ak-refresh .announcement-icon,body.ak-refresh .ak-ann-icon { display:inline-flex; align-items:center; justify-content:center; }
body.ak-refresh .ak-ann-icon .ak-menu-svg { width:21px; height:21px; }
@media (max-width: 768px) { body.ak-refresh .ak-inline { margin-right:.3rem; } }

/* Announcement icon picker: accessible line-style icon choices, no visible emoji. */
body.ak-refresh .ak-ann-picker .icon-option { display:inline-flex; justify-content:center; align-items:center; width:44px; height:44px; padding:10px; border:1px solid #d6e0ec; border-radius:10px; color:#38628e; background:#fff; cursor:pointer; }
body.ak-refresh .ak-ann-picker .icon-option:hover { background:#edf4fb; border-color:#97afd1; }
body.ak-refresh .ak-ann-picker .icon-option.selected,body.ak-refresh .ak-ann-picker .icon-option[aria-pressed="true"] { background:#eaf2fc; border:2px solid #2e6094; }
body.ak-refresh .ak-ann-picker .icon-option .ak-menu-svg { width:20px; height:20px; }

/* Login, registration, and context badges */
.password-toggle .ak-menu-svg,.admin-badge .ak-menu-svg,.referral-info .ak-menu-svg { display:inline-block;width:18px;height:18px;vertical-align:middle; }
.badge .ak-menu-svg,.credit-badge .ak-menu-svg { display:inline-block;width:16px;height:16px;vertical-align:middle; }
