.notice-mount{display:inline-flex;flex-shrink:0}.notice-bell{position:relative;width:40px;height:40px;border:1px solid var(--line,#e3e6dc);border-radius:12px;background:var(--surface,#fff);display:grid;place-items:center;color:var(--ink,#35422d)}.notice-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.notice-badge{position:absolute;top:-5px;left:-5px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:var(--primary,#35422d);color:var(--primary-text,#fff);font:700 10px/1 Arial,sans-serif;border:2px solid var(--surface,#fff)}.notice-badge[hidden]{display:none}.notice-dialog{border:1px solid var(--line,#e3e6dc);border-radius:20px;padding:0;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 40px);background:var(--surface,#fff);color:var(--ink,#35422d);box-shadow:0 30px 100px #17281330;font:14px/1.7 var(--ui-font,Tajawal),Arial,sans-serif}.notice-dialog::backdrop{background:#17281355;backdrop-filter:blur(5px)}.notice-head{padding:22px 23px 14px;display:flex;align-items:center;justify-content:space-between;gap:20px}.notice-head h2{margin:0;font-size:23px}.notice-head p{margin:2px 0 0;color:var(--muted,#858c7d);font-size:12px}.notice-close{border:1px solid var(--line,#e3e6dc);border-radius:50%;background:transparent;display:grid;place-items:center;width:31px;height:31px;padding:0}.notice-close svg{width:15px;height:15px}.notice-controls{display:flex;gap:7px;padding:0 23px 15px;align-items:center;flex-wrap:wrap}.notice-controls button{border:1px solid var(--line,#e3e6dc);background:transparent;border-radius:20px;padding:5px 12px;font-size:12px}.notice-controls button[aria-pressed=true]{background:var(--primary,#35422d);color:var(--primary-text,#fff);border-color:transparent}.notice-controls select{min-height:30px!important;width:auto!important;padding:4px 7px!important;font-size:11px!important;margin-right:auto}.notice-list{overflow:auto;max-height:48dvh;overscroll-behavior:contain;border-top:1px solid var(--line,#e3e6dc);border-bottom:1px solid var(--line,#e3e6dc)}.notice-item{padding:17px 23px;display:grid;grid-template-columns:9px minmax(0,1fr);gap:11px;border-bottom:1px solid var(--line,#e3e6dc)}.notice-item:last-child{border-bottom:0}.notice-dot{width:7px;height:7px;background:var(--primary,#35422d);border-radius:50%;margin-top:8px}.notice-item.is-read .notice-dot{background:var(--line,#e3e6dc)}.notice-item h3{font-size:14px;line-height:1.7;margin:0}.notice-item p{font-size:12px;line-height:1.8;margin:4px 0 7px;color:var(--muted,#858c7d);white-space:pre-line;overflow-wrap:anywhere}.notice-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted,#858c7d)}.notice-meta button,.notice-meta a{background:transparent;border:0;color:var(--primary,#35422d);padding:0;font:700 11px/1.7 inherit;text-decoration:underline;text-underline-offset:4px}.notice-empty{padding:35px 25px;text-align:center;color:var(--muted,#858c7d)}.notice-empty svg{width:31px;height:31px;display:block;margin:0 auto 13px;opacity:.45}.notice-empty strong{display:block;font-size:17px;color:var(--ink,#35422d)}.notice-bottom{padding:15px 23px 20px}.notice-mark-all{padding:0;background:transparent;border:0;font-size:12px;color:var(--primary,#35422d);font-weight:700}.notice-more{display:block;width:100%;background:transparent;border:0;padding:12px;font-size:12px;color:var(--primary,#35422d)}.notice-device{border-top:1px solid var(--line,#e3e6dc);margin-top:16px;padding-top:14px}.notice-device p{font-size:11px;color:var(--muted,#858c7d);margin:5px 0 11px}.notice-push-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.notice-prefs{margin-top:13px;font-size:11px}.notice-prefs summary{cursor:pointer}.notice-prefs label{font-size:11px;display:flex;flex-direction:row;gap:8px;margin:10px 0;align-items:center}.notice-prefs-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:9px}.notice-feedback{font-size:12px;margin:10px 0 0;color:var(--danger,#a6483b);white-space:pre-line}.notice-upgrade{padding:20px}.notice-upgrade p{color:var(--muted,#858c7d);font-size:12px}.card-live-status{display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;color:var(--muted,#858c7d);margin:15px 0}.card-live-status:before{content:'';width:6px;height:6px;background:#6e8e4f;border-radius:50%}.card-live-status.is-offline:before{background:#aa8651}@media(max-width:560px){.notice-dialog{max-height:calc(100dvh - 18px);border-radius:17px}.notice-head,.notice-item,.notice-bottom{padding-right:18px;padding-left:18px}.notice-controls{padding-right:18px;padding-left:18px}.notice-list{max-height:43dvh}.main-header{gap:8px}.main-header .notice-bell{width:32px;height:32px}.notice-bell svg{width:18px;height:18px}}

.notice-dialog[open]{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 30px));overflow:hidden}.notice-head,.notice-controls{flex-shrink:0}.notice-list{flex:1 1 auto;min-height:100px;max-height:none}.notice-bottom{flex-shrink:0;max-height:40dvh;overflow:auto}.notice-meta button,.notice-meta a{font-family:inherit;font-size:11px;font-weight:700}
