/* Shared inbox components, deliberately scoped away from course content. */
.notice-channel-entry{display:block;flex:none;text-align:left;border:0;border-bottom:1px solid #e7e9f2;background:#fafbfe;color:#5959bc;padding:12px 20px;cursor:pointer;font:inherit;font-size:12px}
.notice-channel-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:1px solid #e3e6ee;border-radius:20px;padding:28px;color:#263249;background:#fff;box-shadow:0 24px 80px #17213b33;font:14px/1.65 system-ui,sans-serif}
.notice-channel-dialog::backdrop{background:#16223966}
.notice-channel-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:start}
.notice-channel-dialog h2{font-size:23px;margin:6px 0 20px}.notice-channel-dialog h3{font-size:16px;margin:0 0 10px}.notice-channel-dialog small,.notice-channel-dialog p{color:#69758b}
.notice-channel-dialog button,.notice-channel-dialog a{font:inherit;font-size:13px;border:1px solid #dfe4ed;background:#fff;color:#44587b;border-radius:8px;padding:7px 12px;cursor:pointer;text-decoration:none}
.notice-channel-dialog button:disabled{opacity:.5;cursor:wait}.notice-channel-dialog button:focus-visible{outline:2px solid #6654de;outline-offset:3px}
.notice-channel-card{padding:20px;background:#f6f8fc;border:1px solid #e5eaf2;border-radius:12px}.notice-channel-card h3 span{float:right;font-size:12px;color:#506a87}.notice-channel-card ol{list-style:none;padding:0;line-height:2.2}
.notice-channel-actions{display:flex;flex-wrap:wrap;gap:8px}.notice-channel-dialog .notice-channel-warning{color:#916b24}.notice-channel-future{padding-top:24px}.notice-channel-dialog code{display:block;padding:12px;background:#fff;font-size:20px;letter-spacing:1px;overflow-wrap:anywhere;user-select:all}.notice-channel-dialog [data-status]{min-height:20px;margin-bottom:0}
.step-meta .step-deadline{border-radius:5px;padding:2px 6px;font-weight:600;color:#9a6816;background:#fff4db}
.step-meta .step-deadline.overdue{color:#b55241;background:#fff0eb}
.step-meta .step-deadline.today{color:#a57613;background:#fff4d7}
.notice-filters{display:flex;gap:6px;align-items:center;padding:12px 18px;border-bottom:1px solid #e7e9f2}
.notice-filters button,.notice-pagination button,.notice-empty button{font:inherit;font-size:12px;border:1px solid #e3e6f0;border-radius:9px;padding:7px 12px;background:#fff;color:#66718a;cursor:pointer}
.notice-filters button[aria-pressed=true]{background:#efefff;color:#5959eb;border-color:#d8d7ff;font-weight:700}
.notice-filters [data-refresh]{margin-left:auto}
.notice-list .notice-item{display:flex;flex-direction:column;gap:9px;width:100%;border:0;border-bottom:1px solid #edf0f6;border-radius:0;background:#fff;padding:20px;text-align:left;cursor:pointer;font:inherit;color:#68728b;line-height:1.6}
.notice-list .notice-item.unread{background:#efedff;border-left:4px solid #6550e8;padding-left:16px}
.notice-list .notice-item.read{background:#fff;border-left:4px solid transparent;padding-left:16px;color:#69758b}
.notice-list .notice-item.read strong{color:#5d687d;font-weight:500}
.notice-list .notice-item.unread strong{color:#29224c;font-weight:750}
.notice-list .notice-item.unread:hover{background:#e7e2ff}
.notice-list .notice-origin{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
.notice-list .notice-origin>span{margin:0;font-size:11px}
.notice-list .notice-read-state{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:1px 6px;background:#f0f2f6;color:#5d687d;line-height:1.6;font-weight:600}
.notice-list .unread .notice-read-state{background:#6550e8;color:white}
.notice-list .unread .notice-read-state::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.notice-list .read .notice-action{color:#69758b;font-weight:500}
html[data-flowdo-theme=dark] .notice-list .notice-item.read{background:var(--fd-panel,#19283c);color:#b4c1d3}
html[data-flowdo-theme=dark] .notice-list .notice-item.unread{background:#2c2850;border-left-color:#ac96ff;color:#e0dcf5}
html[data-flowdo-theme=dark] .notice-list .notice-item.unread strong{color:#f5f1ff}
html[data-flowdo-theme=dark] .notice-list .notice-item.read strong{color:#b4c1d3}
html[data-flowdo-theme=dark] .notice-list .notice-read-state{background:#303c50;color:#c7d1e0}
html[data-flowdo-theme=dark] .notice-list .unread .notice-read-state{background:#ac96ff;color:#20193a}
.notice-list .notice-item:hover{background:#f3f4fb}
.notice-list .notice-item strong{font-size:15px;font-weight:700;color:#20283e;line-height:1.5;overflow-wrap:anywhere}
.notice-list .notice-item>span:not(.notice-meta){font-size:13px;overflow-wrap:anywhere}
.notice-item .notice-meta{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;font-size:11px;color:#858fa4}
.notice-item .notice-action{color:#635cea;font-weight:600}
.notice-pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;font-size:12px;color:#8b94a8}
.notice-panel button:disabled{cursor:default;opacity:.5}
.notice-panel button:focus-visible{outline:2px solid #645cff;outline-offset:2px}
.notice-empty{display:flex;align-items:center;flex-direction:column;gap:14px;text-align:center;padding:36px 24px;color:#8992a7;font-size:13px;line-height:1.7}
.notice-empty strong{color:#4a536a;font-size:15px}
.c-nav #notificationButton{position:relative}
#notificationCount.has-unread{display:inline-flex;min-width:19px;justify-content:center;border-radius:20px;padding:1px 5px;font-size:10px;background:#ecebff;color:#655cf5}
.flowdo-v1 #notificationButton.v1-notification-trigger{position:relative;isolation:isolate}
.flowdo-v1 #notificationButton.v1-notification-trigger #notificationCount{position:static!important;inset:auto!important;transform:none!important;flex:none;align-self:center;margin:0 0 0 2px;min-width:20px;height:20px;box-sizing:border-box;align-items:center;justify-content:center;padding:0 5px;border-radius:10px;font-size:11px;font-weight:700;line-height:20px;background:#655cf5;color:#fff;white-space:nowrap}
.flowdo-v1 #notificationButton #notificationCount[hidden]{display:none!important}
.flowdo-v1 #notificationButton:focus-visible{outline:2px solid #655cf5;outline-offset:3px}
.c-nav #notificationCount{margin-left:auto}
.c-notice-panel{display:none;position:fixed;z-index:1100;top:24px;right:24px;bottom:24px;width:min(440px,calc(100vw - 32px));border:1px solid #e4e7f1;border-radius:22px;box-shadow:0 24px 90px #18204126;background:#fff;overflow:hidden;flex-direction:column;color:#232b40;font-family:inherit}
.c-notice-panel.show{display:flex}
.c-notice-panel .notice-head{display:flex;align-items:center;justify-content:space-between;padding:25px 24px 16px}
.c-notice-panel .notice-head small{font-size:10px;font-weight:800;letter-spacing:2px;color:#6b63ef}
.c-notice-panel h2{font-size:23px;margin:8px 0 0;line-height:1.3}
.c-notice-panel .notice-head button{width:34px;height:34px;border:0;border-radius:10px;background:#f2f3f8;color:#778196;font-size:23px;cursor:pointer}
.c-notice-panel .notice-subhead{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:0 24px 14px;color:#929aab;font-size:12px}
.c-notice-panel .notice-subhead button{border:0;background:transparent;padding:0;font-size:12px;color:#625cec;cursor:pointer}
.c-notice-panel .notice-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.c-notice-panel .notice-footer{margin:0;padding:13px 20px;border-top:1px solid #eceef5;font-size:11px;line-height:1.5;color:#929aab;background:#fafbfe}
@media(max-width:640px){.c-notice-panel{top:12px;right:12px;bottom:12px;width:calc(100vw - 24px);border-radius:16px}.c-notice-panel .notice-head{padding:20px}.c-notice-panel .notice-subhead{padding:0 20px 12px}}
@media(prefers-reduced-motion:reduce){.notice-panel *{scroll-behavior:auto!important;transition:none!important}}
