/* Shared by Mi espacio and Equipo; keep all notification presentation here. */
.notice-dialog{
  width:min(640px,calc(100vw - 28px));max-height:min(86dvh,calc(var(--sharing-vh,100dvh) - 28px));padding:28px;
  border-radius:24px;background:var(--notice-paper);box-shadow:0 24px 90px #30241a24;
  inset:0;margin:auto;overflow:auto;color:var(--notice-ink);font:400 14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --notice-paper:#fffdfa;--notice-ink:#292623;--notice-muted:#69635e;--notice-card:#fffdfa;--notice-unread:#fffaf3;--notice-line:#e8e2da;--notice-unread-line:#e9d8c7;--notice-hover:#f6eadb;--notice-title:#36302a;--notice-description:#645c53;--notice-meta:#8a8177;--notice-kind:#8a7b6c;--notice-excerpt:#f3eee7;--notice-counter:#f7eadf;--notice-counter-ink:#8c4a25;--notice-close:#f0ece6;--notice-close-ink:#71675e;
}
.notice-dialog header{gap:16px;align-items:center}
.notice-dialog h2{display:flex;align-items:center;gap:12px;font-size:25px;line-height:1.2;letter-spacing:-.045em}
.notice-dialog .inbox-icon{display:inline-flex;align-items:center;justify-content:center;flex:none}
.notice-dialog .inbox-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.notice-dialog .inbox-heading-icon{width:42px;height:42px;border-radius:14px;background:#f9e4d3;color:#ad4d23}
.notice-dialog .inbox-heading-icon svg{width:23px;height:23px}
.notice-dialog [data-notice-close]{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--notice-close);color:var(--notice-close-ink)}
.notice-dialog button[type=button][data-notice-close]:hover{background:#f4d8c2;color:#823a18}
.notice-dialog .notice-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:17px 0 22px;font-size:12px;line-height:1.5;color:var(--notice-muted)}
.notice-dialog .notice-summary[hidden]{display:none}
.notice-summary .inbox-counter{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:650;color:var(--notice-counter-ink);background:var(--notice-counter);border-radius:999px;padding:4px 9px;white-space:nowrap}
.notice-summary .inbox-counter::before{content:"";width:5px;height:5px;border-radius:50%;background:#c16b36}
.notice-list{display:grid;gap:12px;margin:0;padding:0}
.notice-list .inbox-item{
  display:grid;grid-template-columns:44px minmax(0,1fr) 14px;align-items:start;gap:16px;
  width:100%;margin:0;padding:19px 18px;border:1px solid var(--notice-line);border-radius:15px;
  background:var(--notice-card);color:var(--notice-ink);text-align:start;font-size:14px;font-weight:400;line-height:1.45;
  transition:background .16s,border-color .16s;
}
.notice-list .inbox-item.unread{border:1px solid var(--notice-unread-line);background:var(--notice-unread)}
.notice-list .inbox-item:hover:not(:disabled){background:var(--notice-hover);border-color:#d2ad8b;color:var(--notice-ink)}
.notice-list .inbox-emblem{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#eee7f5;color:#74558b}
.notice-list .inbox-emblem svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.notice-list [data-kind=telework] .inbox-emblem{background:#e4eeea;color:#396e60}
.notice-list [data-kind=vacation] .inbox-emblem{background:#f8edcd;color:#a27a23}
.notice-list [data-kind=assignment] .inbox-emblem{background:#f9e4d4;color:#aa5529}
.notice-list .inbox-copy{display:grid;gap:7px;min-width:0}
.notice-list .inbox-kind{font-size:10px;font-weight:650;letter-spacing:.06em;color:var(--notice-kind)}
.notice-list .inbox-title{font-size:15px;line-height:1.4;font-weight:400;color:var(--notice-title)}
.notice-list .inbox-title strong{font-weight:700}
.notice-list .inbox-description{display:flex;align-items:flex-start;gap:7px;font-size:13px;font-weight:450;color:var(--notice-description)}
.notice-list .inbox-description>.inbox-icon{margin-top:2px;color:#9d8d7c}
.notice-list .inbox-description .inbox-icon svg{width:14px;height:14px}
.notice-list .inbox-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 6px;margin-top:3px;color:var(--notice-meta);font-size:11px;font-weight:400;line-height:1.5}
.notice-list .inbox-meta>.inbox-icon svg{width:13px;height:13px}
.notice-list .inbox-unread{display:inline-flex;align-items:center;gap:5px;margin-inline-start:5px;padding:2px 7px;border-radius:999px;background:#f5e2cd;color:#925127;font-size:10px;font-weight:650;white-space:nowrap}
.notice-list .inbox-unread::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.notice-list .inbox-arrow{align-self:center;color:#b5a99d}
.notice-list .inbox-arrow svg{width:15px;height:15px}
.notice-list .inbox-item:hover .inbox-arrow{color:#a34e25}
.notice-list .inbox-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;padding:8px 11px;background:var(--notice-excerpt);border-radius:8px;font-size:12px;line-height:1.5;color:var(--notice-description)}
.notice-dialog .inbox-more{display:flex;align-items:center;justify-content:center;gap:7px;margin:18px auto 0;padding:8px 12px;border:0;background:transparent;color:var(--notice-muted);font-size:12px}
.notice-dialog .inbox-more:hover{background:#f4e2d1;color:#8a4620}
.notice-dialog .inbox-empty{display:grid;justify-items:center;gap:10px;padding:32px 18px 28px;text-align:center}
.notice-dialog .inbox-empty>.inbox-icon{width:56px;height:56px;border-radius:19px;background:#e7efe8;color:#4f745a}
.notice-dialog .inbox-empty>.inbox-icon svg{width:27px;height:27px}
.notice-dialog .inbox-empty strong{font-size:18px;font-weight:650}
.notice-dialog .inbox-empty p{max-width:280px;color:var(--notice-muted);font-size:13px;line-height:1.6}
.notice-dialog .inbox-loading{padding:26px 0;color:var(--notice-muted);font-size:13px}
@media(max-width:540px){
 .notice-dialog{padding:20px 16px;border-radius:21px;width:calc(100vw - 20px)}
 .notice-dialog h2{font-size:23px}
 .notice-dialog .notice-summary{margin-block:14px 18px;gap:7px 9px;font-size:11px}
 .notice-list .inbox-item{grid-template-columns:36px minmax(0,1fr) 10px;gap:11px;padding:16px 12px}
 .notice-list .inbox-emblem{width:36px;height:36px;border-radius:12px}
 .notice-list .inbox-emblem svg{width:21px;height:21px}
 .notice-list .inbox-title{font-size:14px}
 .notice-list .inbox-description{font-size:12px}
 .notice-list .inbox-meta{font-size:10px}
}


.notice-dialog::backdrop{background:#211b1670;backdrop-filter:none}
.notice-dialog>.sharing-form{display:contents;max-height:none}
.notice-dialog header{padding:0;display:flex;justify-content:space-between;flex:none}
.notice-dialog h2{margin:0;font-weight:650;color:var(--notice-ink)}
.notice-dialog .sharing-body{padding:0;overflow:visible}
.notice-dialog .notice-summary{padding:0}
.notice-dialog .notice-list{list-style:none;padding:0}
.notice-dialog .notice-list>li{margin:0;padding:0}
.notice-dialog .inbox-item{cursor:pointer;font-family:inherit;box-sizing:border-box;min-height:0}
.notice-dialog .inbox-item:disabled{cursor:default;opacity:.45}
.notice-dialog .inbox-icon>svg{flex:none}
.notice-dialog [hidden]{display:none!important}
.notice-dialog .incoming-status:empty{display:none}
.notice-dialog .notice-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:22px 0 0;padding:18px 0 0;background:transparent;border-top:1px solid var(--notice-line)}
.notice-dialog .notice-footer button{font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;min-height:36px;padding:9px 13px;border-radius:9px}
.notice-dialog .notice-footer .quiet{background:var(--notice-close);border:1px solid var(--notice-line);color:var(--notice-description)}
.notice-dialog .notice-footer button.quiet:hover{background:var(--notice-hover);color:var(--notice-ink)}
.notice-dialog .notice-list [data-kind=reminder] .inbox-emblem,.notice-dialog .notice-list [data-kind=sent] .inbox-emblem{background:#f9e4d4;color:#aa5529}
.notice-dialog .notice-list :is([data-kind=completed],[data-kind=closure]) .inbox-emblem{background:#e4eeea;color:#396e60}
.notice-dialog .notice-list [data-kind=detail] .inbox-emblem{background:#f8edcd;color:#a27a23}
:root[data-theme=night] .notice-dialog{--notice-paper:#242a30;--notice-ink:#f3eee7;--notice-muted:#c0b6aa;--notice-card:#2b3137;--notice-unread:#34312d;--notice-line:#485059;--notice-unread-line:#6a5541;--notice-hover:#4a3b30;--notice-title:#f3eee7;--notice-description:#d3c7ba;--notice-meta:#baad9f;--notice-kind:#c8b7a4;--notice-excerpt:#343a40;--notice-counter:#4c3829;--notice-counter-ink:#ffd3ad;--notice-close:#394148;--notice-close-ink:#d7d0c8}
:root[data-theme=night] .notice-dialog .inbox-unread{background:#5a402b;color:#ffd3ad}
.notice-dialog :is(button,[role=button]):is(:focus,:focus-visible,:active){outline:none!important;box-shadow:none!important}
html:not([data-input-mode=pointer]) .notice-dialog button:focus-visible{background-image:linear-gradient(#bd704338,#bd704338);text-decoration:underline;text-underline-offset:4px}
