/* Sarana — compact Notifications + simplified profile help, 2026-11-10.
   Scoped to dedicated page class; no global form or database changes. */
#ml-sibling-count{display:none!important}
.ml-profile-language-panel .ml-redundant-helper,
.ml-details-head .ml-redundant-helper,
#ml-siblings-editor > .ml-redundant-helper{display:none!important}
#profile-photo .ml-original-remove-photo{display:none!important}
#profile-photo .avatar.photo-preview{position:relative;overflow:visible}
.ml-photo-remove-icon{
  position:absolute;right:-7px;bottom:-7px;width:35px;height:35px;z-index:2;
  display:grid;place-items:center;border:1.5px solid #cc9a63;border-radius:50%;
  background:linear-gradient(155deg,#fffaf5,#ffe5ee);color:#7d173d;
  box-shadow:0 4px 10px #66193f25;cursor:pointer;transition:transform .15s,background .15s;
}
.ml-photo-remove-icon:hover{transform:translateY(-2px)}
.ml-photo-remove-icon:focus-visible{outline:3px solid #ca9145;outline-offset:2px}
.ml-photo-remove-icon[aria-pressed="true"]{background:#7d173d;color:#fff;border-color:#7d173d}
.ml-photo-remove-icon svg{width:17px;height:17px}
#profile-photo .avatar.photo-preview.ml-photo-removal-queued > img{opacity:.34;filter:grayscale(1)}

main.ml-notice-page{
  width:min(100% - 44px,880px)!important;max-width:880px!important;
  padding-top:clamp(28px,4vw,48px)!important;padding-bottom:52px!important;
  margin-inline:auto!important;
}
.ml-notice-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px}
main.ml-notice-page .ml-notice-head h1{
  margin:0!important;font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(32px,4vw,45px)!important;line-height:1.15!important;
  letter-spacing:-1px;color:#57203c;
}
.ml-notice-head h1::before{content:'✦';font:19px/1 Georgia,serif;color:#c4934c;margin-right:11px;vertical-align:middle}
main.ml-notice-page .ml-notice-head form{margin:0!important}
main.ml-notice-page .ml-notice-head button{
  padding:11px 17px!important;border-radius:13px!important;border:1px solid #cba6b5!important;
  background:#fffcfa!important;color:#7c1b43!important;font-size:14px!important;
  font-weight:700!important;min-height:43px;box-shadow:0 2px 8px #69214410!important;
}
main.ml-notice-page .ml-notice-head button:focus-visible{outline:3px solid #caa66b;outline-offset:2px}
main.ml-notice-page article.panel.ml-notice-item{
  position:relative;display:grid!important;grid-template-columns:42px minmax(0,1fr);
  column-gap:15px;row-gap:5px;align-items:center;
  margin:0 0 12px!important;padding:19px 22px!important;
  min-height:98px;border-radius:18px!important;border:1px solid #ead3dc!important;
  background:linear-gradient(120deg,#fffefd 0%,#fff5fa 100%)!important;
  box-shadow:0 6px 17px #6d244112!important;
}
main.ml-notice-page article.panel.ml-notice-item.ml-notice-unread{
  border-left:4px solid #b77f33!important;background:linear-gradient(120deg,#fffdf7,#fff1f6)!important;
}
.ml-notice-item .ml-notice-mark{
  grid-column:1;grid-row:1 / span 2;align-self:center;
  display:grid;place-items:center;width:42px;height:42px;
  border-radius:14px;border:1px solid #f1dce3;
  background:linear-gradient(135deg,#fff2f6,#f6e7ff);color:#8a1f4c;font-size:22px;
}
.ml-notice-item[data-ml-note-type="approved"] .ml-notice-mark{color:#24745e;background:#e8f7ef;border-color:#cdebd9}
.ml-notice-item[data-ml-note-type="identity"] .ml-notice-mark{color:#7b4c1b;background:#fcf3df;border-color:#f4e4c0}
.ml-notice-item[data-ml-note-type="rejected"] .ml-notice-mark{color:#a13953;background:#fff0f2}
main.ml-notice-page .ml-notice-item small{
  grid-column:2;grid-row:1;display:block!important;
  font-size:12px!important;line-height:1.5!important;color:#816b77!important;
  font-weight:500;letter-spacing:.01em;
}
main.ml-notice-page .ml-notice-item small span{
  display:inline-block;padding:3px 9px;border:1px solid #e4d7e0;
  background:#faf7f9;border-radius:20px;color:#655460;font-weight:700;
}
main.ml-notice-page .ml-notice-item.ml-notice-unread small span{
  color:#8c214e;border-color:#e9b1c3;background:#ffebf0;
}
main.ml-notice-page .ml-notice-item p{
  grid-column:2;grid-row:2;margin:0!important;color:#3f2d3b!important;
  font-size:15px!important;line-height:1.55!important;overflow-wrap:anywhere;
}
main.ml-notice-page > p:last-child{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:22px 0 0;font-size:14px}
main.ml-notice-page > p:last-child a{
  padding:9px 12px;border:1px solid #e6cdda;border-radius:12px;
  text-decoration:none;background:#fffafc;color:#742c4a;font-weight:600;
}
main.ml-notice-page .empty{padding:22px!important;text-align:center;border-radius:16px}
@media(max-width:600px){
 main.ml-notice-page{width:calc(100% - 28px)!important;padding-top:21px!important;padding-bottom:88px!important}
 main.ml-notice-page .ml-notice-head h1{font-size:32px!important}
 .ml-notice-head{gap:10px}
 main.ml-notice-page .ml-notice-head button{min-height:39px;padding:9px 13px!important}
 main.ml-notice-page article.panel.ml-notice-item{grid-template-columns:36px minmax(0,1fr);gap:4px 11px;min-height:0;padding:15px 13px!important;margin-bottom:10px!important;border-radius:15px!important}
 .ml-notice-item .ml-notice-mark{width:36px;height:36px;border-radius:11px;font-size:18px}
 main.ml-notice-page .ml-notice-item p{font-size:14px!important;line-height:1.5!important}
 main.ml-notice-page .ml-notice-item small{font-size:11.5px!important}
}
@media(prefers-reduced-motion:reduce){.ml-photo-remove-icon{transition:none}}
