/* Rounded alert presentation adapted from the supplied warning.txt reference.
   Native Django notices retain their text, actions, live-region roles and severity. */
.notice{--notice-bg:#f4f0e8;--notice-border:#c6b68e;--notice-text:#514c4a;--notice-heading:"Please note";--notice-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b7350' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6m0-10v.1'/%3E%3C/svg%3E")}
.notice.warning{--notice-bg:#fff7e6;--notice-border:#b58625;--notice-text:#5d491d;--notice-heading:"Warning";--notice-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b6b00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.8 2.2 18a2 2 0 0 0 1.7 3h16.2a2 2 0 0 0 1.7-3L13.7 3.8a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4m0 4v.1'/%3E%3C/svg%3E")}
.notice.error{--notice-bg:#fff1ef;--notice-border:#bd6e69;--notice-text:#782c2c;--notice-heading:"Please check";--notice-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad504b' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E")}
.notice.success{--notice-bg:#eff5ee;--notice-border:#83a383;--notice-text:#315339;--notice-heading:"All set";--notice-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b805e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m7 12 3 3 7-7'/%3E%3C/svg%3E")}
.notice.info{--notice-heading:"For your information"}
html body .notice{background:var(--notice-bg) var(--notice-icon) no-repeat 22px 22px/20px 20px!important;border:1px solid var(--notice-border)!important;color:var(--notice-text)!important;border-radius:20px!important;padding:20px 24px 20px 58px!important;line-height:1.55;overflow-wrap:anywhere;box-shadow:none}
.notice:not(.workspace-update)::before{content:var(--notice-heading);display:block;font-weight:650;font-size:14px;line-height:1.5;margin-bottom:5px}
.notice a{color:inherit;text-underline-offset:3px}.notice>p:last-child{margin-bottom:0}.notice[hidden]{display:none!important}
html[data-theme=dark] .notice{--notice-bg:#25231e;--notice-border:#74654b;--notice-text:#f0ece5}
html[data-theme=dark] .notice.warning{--notice-bg:#292317;--notice-border:#a37100;--notice-text:#f5f0e7;--notice-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd300' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.8 2.2 18a2 2 0 0 0 1.7 3h16.2a2 2 0 0 0 1.7-3L13.7 3.8a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4m0 4v.1'/%3E%3C/svg%3E")}
html[data-theme=dark] .notice.error{--notice-bg:#302020;--notice-border:#ad6861;--notice-text:#ffe1dc}
html[data-theme=dark] .notice.success{--notice-bg:#1e2c22;--notice-border:#698e70;--notice-text:#dcebdc}
[dir=rtl] .notice{padding-inline:58px 24px!important;background-position:right 22px top 22px!important}
@media(max-width:650px){html body .notice{padding:17px 18px 17px 49px!important;background-position:17px 19px!important;border-radius:16px!important}[dir=rtl] .notice{padding-inline:49px 18px!important;background-position:right 17px top 19px!important}}
