/* Admin-menu brand icon. A stylesheet (not admin_head <style>) so it is
   enqueued per the wp.org guideline; URL-encoded (not base64) SVG on
   purpose: core's svg-painter.js repaints base64 menu icons to the admin
   colour scheme, which flattens the gradient into a white square. */
#adminmenu .toplevel_page_stwc-sessions .wp-menu-image{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%234f46e5%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237c3aed%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22512%22%20height%3D%22512%22%20rx%3D%2296%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.95%22%20d%3D%22M110%20400%20V282%20A32%2032%200%200%201%20174%20282%20V400%20Z%20M214%20400%20V202%20A32%2032%200%200%201%20278%20202%20V400%20Z%20M318%20400%20V122%20A32%2032%200%200%201%20382%20122%20V400%20Z%22%2F%3E%3Ccircle%20cx%3D%22392%22%20cy%3D%22148%22%20r%3D%2296%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Ccircle%20cx%3D%22392%22%20cy%3D%22148%22%20r%3D%2274%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M356%20150l28%2028%2046-60%22%20fill%3D%22none%22%20stroke%3D%22%237c3aed%22%20stroke-width%3D%2222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") !important;background-repeat:no-repeat;background-position:center;background-size:20px 20px;}

/* "Upgrade" submenu item: amber + bold so it stands out from the plain menu
   items against the dark admin sidebar. Targets the query-string view=upgrade
   link (WordPress renders submenu hrefs with a literal ampersand). */
#adminmenu .toplevel_page_stwc-sessions ul.wp-submenu a[href*="view=upgrade"] {
	color: #ffc53d !important;
	font-weight: 700 !important;
}
#adminmenu .toplevel_page_stwc-sessions ul.wp-submenu a[href*="view=upgrade"]:hover,
#adminmenu .toplevel_page_stwc-sessions ul.wp-submenu a[href*="view=upgrade"]:focus {
	color: #ffd166 !important;
}

/* Quiet OTHER plugins' notices on our own screens without unhooking them
   (ledger R4-4): they stay in the DOM and return when the user leaves. Our own
   inline messages are rendered by the screen itself and are unaffected. */
body.stwc-quiet-notices .notice,
body.stwc-quiet-notices .update-nag,
body.stwc-quiet-notices .updated,
body.stwc-quiet-notices .error,
body.stwc-quiet-notices .notice-warning,
body.stwc-quiet-notices .notice-info,
/* Freemius ships `div.fs-notice.updated { display: block !important }` in its own
   common.css, so a plain rule matches and still loses. Scoped to our body class
   on our own screen, answering in kind is the correct weight - and it is still
   only presentation: every callback stays registered and the notice returns
   intact on any other screen. */
body.stwc-quiet-notices div.fs-notice.updated,
body.stwc-quiet-notices div.fs-notice.success,
body.stwc-quiet-notices div.fs-notice.promotion { display: none !important; }
body.stwc-quiet-notices .stwc-flash { display: block !important; }
