/* notices dropdown */

.cikumas-notices             { position: relative; width: 32px; height: 32px; font-size: 0; }
.cikumas-notices > a         { display: block; line-height: 20px; padding: 6px; position: relative; }
.cikumas-notices > a > *     { display: inline-block; vertical-align: middle; }
.cikumas-notices > a > .icon  { width: 20px; height: 20px; font-size: 18px; color: #228dcf; }
.cikumas-notices > a > .count { position: absolute; right: 6px; top: 0; transform: translate(50%, -50%); border-radius: 50%; }
.cikumas-notices > a > .count { display: block; padding: 2px; min-width: 17px; height: 17px; line-height: 17px; font-size: 10px; text-align: center; }
.cikumas-notices > a > .count { color: #fff; background-color: #1f3c77; box-shadow: 0 4px 6px 0 rgba(0,0,0,0.3); }
.cikumas-notices > a > .count:empty { display: none; }

.cikumas-notices > .dropdown        { position: absolute; box-shadow: 0 8px 15px 0 rgba(0,0,0,0.21); line-height: initial; }
.cikumas-notices > .dropdown        { border: 1px solid #f1f1f1; background-color: #fff; }
.cikumas-notices > .dropdown        { top: 100%; left: 50%; transform: translate(-50%, 0); width: 360px; }
.cikumas-notices > .dropdown > *    { position: relative; z-index: 2; }
.cikumas-notices > .dropdown:before { position: absolute; z-index: 1; right: 50%; top: 0; transform: translate(+50%, -50%) rotate(45deg); }
.cikumas-notices > .dropdown:before { content: ""; width: 10px; height: 10px; background-color: #fff; }
.cikumas-notices > .dropdown:before { border-left: 1px solid #f1f1f1; border-top: 1px solid #f1f1f1; }
.cikumas-notices      > .dropdown       { display: none; }
.cikumas-notices.open > .dropdown       { display: block; }
.cikumas-notices.open > .dropdown:empty { display: none; }

@media screen and (max-width: 800px) {
    .cikumas-notices > .dropdown        { width: 250px; }
}

.cikumas-notices ul        { position: relative; list-style-type: none; margin: 0; padding: 0; }
.cikumas-notices ul        { overflow-x: hidden; overflow-y: auto; max-height: 400px; }
.cikumas-notices ul > li   { position: relative; list-style-type: none; margin: 0; padding: 0; }

.cikumas-notices .head     { padding: 0 10px; font-size: 11px; line-height: 32px; color: #282828; border-bottom: 1px solid #E5E5E5; }
.cikumas-notices .head a   { float: right; text-decoration: none; }

.cikumas-notices .foot              { border-top: 1px solid #E5E5E5; display: flex; align-items: stretch; }
.cikumas-notices .foot form         { width: 50%; }
.cikumas-notices .foot button       { display: block; width: 100%; border: none; font-size: 12px; line-height: 32px; text-align: center; cursor: pointer; }
.cikumas-notices .foot button       { color: #282828; background-color: #fff; }
.cikumas-notices .foot button:hover { color: #fff; background-color: #0C83FF; }

.cikumas-notices .settings          { display: none; }
.cikumas-notices .settings li       { padding: 0 10px; font-size: 12px; color: #282828; }
.cikumas-notices .settings li.group { line-height: 32px; color: #b5b5b5; }
.cikumas-notices .settings .foot    { border-top: 1px solid #E5E5E5; }

.cikumas-notices       .notices > .none  { display: none; padding: 10px; font-size: 12px; color: #999; font-style: italic; text-align: center; }
.cikumas-notices.empty .notices > .none  { display: block; }

.cikumas-notices.empty .notices > .foot  { display: none; }


.cikumas-notices .notices ul > li       { overflow: hidden; background-color: rgba(12,131,255,0.05); border-bottom: 1px solid #e5e5e5; }
.cikumas-notices .notices ul > li.read  { background-color: transparent; }
.cikumas-notices .notices ul > li:last-of-type { border-bottom: none; }

.cikumas-notices .notices ul > li .notice                             { display: block; padding: 10px; }

.cikumas-notices .notices ul > li .notice > .icon                     { display: inline-block; vertical-align: middle; width: 32px; height: 32px; }
.cikumas-notices .notices ul > li .notice > .icon                     { background: no-repeat center center; background-size: contain; text-align: center; }
/* Chat entries are drawn by chats/chat-poll.js with a font icon instead of an image. */
.cikumas-notices .notices ul > li .notice > .icon.chat                { color: #228dcf; font-size: 22px; line-height: 32px; }
.cikumas-notices .notices ul > li .notice > .icon.calendar-task       { background-image: url('/static/img/notices/calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.calendar-reminder   { background-image: url('/static/img/notices/calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-resource      { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-post          { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.class-reply         { background-image: url('/static/img/notices/class-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-new      { background-image: url('/static/img/notices/assignment-new.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-revisit  { background-image: url('/static/img/notices/assignment-revisit.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-upcoming { background-image: url('/static/img/notices/assignment-upcoming.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-handed   { background-image: url('/static/img/notices/assignment-handed.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-grade    { background-image: url('/static/img/notices/assignment-grade.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.assignment-deadline { background-image: url('/static/img/notices/assignment-deadline.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-left        { background-image: url('/static/img/notices/student-left.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-added       { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.student-added-by    { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.license-invite      { background-image: url('/static/img/notices/license-invite.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.license-remove      { background-image: url('/static/img/notices/license-remove.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-calendar     { background-image: url('/static/img/notices/school-calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-resource     { background-image: url('/static/img/notices/school-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-post         { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.school-reply        { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-calendar      { background-image: url('/static/img/notices/school-calendar.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-user-add      { background-image: url('/static/img/notices/student-added.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-post          { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-post-mention  { background-image: url('/static/img/notices/school-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-reply         { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.board-reply-mention { background-image: url('/static/img/notices/school-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.team-post           { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.team-reply          { background-image: url('/static/img/notices/class-reply.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.parent-linked       { background-image: url('/static/img/notices/parent-linked.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.upload-added        { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.feedback-added      { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.feedback-comment-added:before       { content: '💬'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.birthday:before                     { content: '🎂'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.onboarding-renew:before             { content: "\f2b5"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.onboarding-new-applications:before  { content: "\f234"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.onboarding-reminder:before          { content: "\f234"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.absence-sick-threshold:before       { content: "\f0f8"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.campaign:before                     { content: "\f0a1"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.counseling-observation:before       { content: "\f0e6"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.club-booking-announcement:before,
.cikumas-notices .notices ul > li .notice > .icon.club-booking-reminder:before,
.cikumas-notices .notices ul > li .notice > .icon.club-booking-opened:before,
.cikumas-notices .notices ul > li .notice > .icon.club-joined:before                  { content: "\f12e"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.icon-flex:before                    { content: '💪'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.icon-hort:before                    { content: '🌇'; line-height: 32px; font-size: 20px; }
.cikumas-notices .notices ul > li .notice > .icon.school-events-created:before        { content: "\f274"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.conferences-booked:before           { content: "\f274"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.conferences-cancelled:before        { content: "\f273"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.school-events-deadline-reminder:before { content: "\f274"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.school-events-updated:before          { content: "\f274"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }
.cikumas-notices .notices ul > li .notice > .icon.student-portfolios-post-created     { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.daily-reports-post-created          { background-image: url('/static/img/notices/class-post.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.feedback-shared                     { background-image: url('/static/img/notices/class-resource.svg'); }
.cikumas-notices .notices ul > li .notice > .icon.finance-grade-mismatch:before       { content: "\f0d6"; line-height: 32px; font-size: 18px; font-family: FontAwesome; }


.cikumas-notices .notices ul > li .notice > .info              { display: inline-block; vertical-align: middle; margin: 0 10px; width: calc(100% - 32px - 30px - 50px); }
.cikumas-notices .notices ul > li .notice > .info > *          { overflow: hidden; text-overflow: ellipsis; /*white-space: nowrap;*/ }
.cikumas-notices .notices ul > li .notice > .info > .title     { font-size: 10px; line-height: 15px; color: #999; }
.cikumas-notices .notices ul > li .notice > .info > .title > b { font-weight: normal; color: #0C83FF; }
.cikumas-notices .notices ul > li .notice > .info > .text      { font-size: 11px; line-height: 17px; color: #0C83FF; }
.cikumas-notices .notices ul > li .notice > .info > .notices-item__reached { display: block; margin-top: 2px; font-size: 11px; line-height: 15px; color: #6b7280; }

.cikumas-notices .notices ul > li .notice > .time             { display: inline-block; vertical-align: top; width: 50px; }
.cikumas-notices .notices ul > li .notice > .time             { font-size: 10px; line-height: 15px; color: #0C83FF; text-align: center; }

.cikumas-notices .notices ul > li       .notice > .time { opacity: 1; }
.cikumas-notices .notices ul > li:hover .notice > .time { opacity: 0; }

.cikumas-notices .notices ul > li       .notice-hide    { line-height: 15px; padding: 10px 20px 10px 10px; width: 50px; font-size: 10px; color: #0C83FF; text-align: right; }
.cikumas-notices .notices ul > li       .notice-hide    { position: absolute; z-index: 2; right: 0; top: 0; }
.cikumas-notices .notices ul > li       .notice-hide    { right: -80px; }
.cikumas-notices .notices ul > li:hover .notice-hide    { right: 0; }


/* notifications page (school log): built from the site's components, spacing on the 8/24 rhythm.
   main.content sets font-size 0, so .notices-log and the modal set the base size */

.notices-log                       { position: relative; box-sizing: border-box; padding: 24px; font-size: 14px; line-height: 20px; color: #282828; }
.notices-log [hidden]              { display: none !important; }
.notices-log .notices-log__muted,
.notices-log-modal .notices-log__muted { color: #6b7280; font-size: 12px; line-height: 18px; }
.notices-log .notices-log__sub     { color: #6b7280; font-size: 12px; line-height: 18px; }
.notices-log .notices-log__sr      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notices-log .notices-log__denied  { padding: 8px; }

/* tabs: the site's ul.tabs (views/tabs.html, styles.css); role-tabs and role-tab stay only as hooks for the scripts and tests */
.notices-log ul.tabs.notices-log__tabs { margin-bottom: 16px; }

.notices-log .notices-log__block   { padding: 24px; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.notices-log .notices-log__heading { margin-bottom: 16px; font-size: 20px; line-height: 28px; font-weight: 300; color: #282828; }

/* filter row: the site's input frames in a wrapping grid */
.notices-log .notices-log__filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.notices-log .notices-log__f       { min-width: 0; }
.notices-log .notices-log__f--wide { grid-column: span 2; }
.notices-log .notices-log__chips   { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.notices-log .notices-log__filters .classowl-input-frame > .input { height: 36px; }

/* chips of the chosen recipients (the token look of the email template editor) */
.notices-log .notices-chip, .notices-log-modal .notices-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid #D8DDE6; border-radius: 4px; background: #F0F4FA; color: #1F3C77; font-size: 13px; line-height: 18px; }
.notices-log .notices-chip .fa, .notices-log-modal .notices-chip .fa { cursor: pointer; color: #657FAC; }
.notices-log .notices-chip .fa:hover, .notices-log-modal .notices-chip .fa:hover { color: #1F3C77; }

/* the table: the site's classowl-table-large, it scrolls inside its own container */
.notices-log .notices-log__scroll  { max-width: 100%; }
.notices-log .notices-log__table   { width: 100%; min-width: 960px; }
.notices-log .notices-log__table > tbody > tr.notices-log__row { cursor: pointer; }
.notices-log .notices-log__table > tbody > tr.notices-log__row:hover > td { background: #f6f9fd; }
.notices-log .notices-log__table > tbody > tr > td { vertical-align: middle; padding-top: 8px; padding-bottom: 8px; }
.notices-log .notices-log__time    { white-space: nowrap; }
.notices-log .notices-log__eye     { color: #228dcf; text-decoration: none; }
.notices-log .notices-log__foot    { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; color: #6b7280; font-size: 13px; }
.notices-log .notices-log__missing { margin-top: 24px; }

/* status pills (delivery and read evidence) */
.notices-pill                      { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 12px; line-height: 18px; white-space: nowrap; }
.notices-pill--green               { color: #0b7a45; background: #e7f7ef; }
.notices-pill--amber               { color: #c2410c; background: #fff4e5; }
.notices-pill--red                 { color: #c0392b; background: #fdecec; }
.notices-pill--blue                { color: #1f6bcc; background: #edf2fb; }
.notices-pill--grey                { color: #516a99; background: #f0f3f8; }
.notices-pill--outline             { padding: 1px 7px; color: #282828; background: #fff; border: 1px solid #d5dbe5; }

/* My notifications: the log page classes plus these */
.notices-mine .notices-mine__title { margin: 0 0 4px; }
.notices-mine .notices-mine__sub   { margin-bottom: 16px; }
.notices-mine .notices-mine__table { width: 100%; min-width: 760px; }
.notices-mine .notices-mine__table > tbody > tr > td { vertical-align: middle; padding-top: 8px; padding-bottom: 8px; }
.notices-mine .notices-mine__table--nochild .notices-mine__child { display: none; }
.notices-mine .notices-mine__link  { color: #282828; text-decoration: none; }
.notices-mine .notices-mine__link:hover { text-decoration: underline; }
.notices-mine .notices-mine__sent .notices-pill { margin: 2px 4px 2px 0; }
.notices-mine .notices-mine__empty { padding: 24px 8px; color: #6b7280; text-align: center; }
.notices-mine .notices-mine__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.notices-mine .notices-mine__filters > .notices-log__f { width: 200px; }
.notices-mine .notices-mine__filters > .notices-log__f:last-child { width: 240px; }
.notices-mine .notices-mine__event { min-width: 220px; }

/* callout: the missing notification box and the lock note */
.notices-callout                   { display: flex; gap: 8px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 5px; background: #f6f8fb; font-size: 14px; line-height: 20px; color: #282828; }
.notices-log .notices-callout > .fa, .notices-log-modal .notices-callout > .fa { flex: none; margin-top: 3px; color: #657FAC; }
.notices-callout__body             { flex: 1; min-width: 0; }
.notices-callout__buttons          { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Settings tab */
.notices-log .notices-log__settings          { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.notices-log .notices-log__settings-search   { width: 320px; max-width: 100%; }
.notices-log .notices-log__settings-found    { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.notices-log .notices-log__settings-none     { color: #6b7280; }
.notices-log .notices-log__settings-defaults { margin-top: 24px; }

/* the detail modal: the site's classowl-modal-form, wider (1040 px) */
.classowl-modal-form.notices-log-modal > .container { width: 1040px; max-width: 100%; font-size: 14px; line-height: 20px; color: #282828; }
.classowl-modal-form.notices-log-modal.notices-log-modal--narrow > .container { width: 560px; }
.notices-log-modal .form-subtitle      { font-size: 13px; }
.notices-log-modal .notices-log__cols  { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; }
.notices-log-modal .notices-log__cols--single { grid-template-columns: minmax(0, 1fr); }
.notices-log-modal .notices-log__side  { min-width: 0; }
.notices-log-modal .notices-log__pane  { height: 470px; overflow: hidden; border: 1px solid #e5e5e5; border-radius: 5px; background: #f3f4f6; }
.notices-log-modal .notices-log__frame { display: block; width: 636px; height: 712px; border: 0; zoom: 0.66; background: #fff; }
.notices-log-modal .notices-log__pane-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 13px; }
.notices-log-modal .notices-log__full  { display: inline-block; margin-top: 8px; color: #228dcf; text-decoration: none; font-size: 13px; }
.notices-log-modal .notices-log__pane-foot .notices-log__full { margin-top: 0; }
.notices-log-modal .notices-log__images { margin-top: 8px; }
.notices-log-modal .notices-log__facts { min-width: 0; }
.notices-log-modal .notices-log__dl    { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; margin: 0 0 24px; }
.notices-log-modal .notices-log__dl dt { margin: 0; color: #6b7280; }
.notices-log-modal .notices-log__dl dd { margin: 0; min-width: 0; word-wrap: break-word; }
.notices-log-modal .form-hint          { margin-top: 8px; color: #6b7280; font-size: 12px; line-height: 18px; }
.notices-log-modal .notices-log__legend { margin: 24px 0 8px; font-size: 12px; line-height: 18px; text-transform: uppercase; color: #657FAC; }
.notices-log-modal .notices-log__inner-wrap { margin-bottom: 24px; }
.notices-log-modal .notices-log__restricted { color: #6b7280; font-style: italic; }
.notices-log-modal .notices-log__files { margin: 0 0 8px; padding: 0; list-style: none; border: 1px solid #e5e5e5; border-radius: 5px; }
.notices-log-modal .notices-log__files li { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.notices-log-modal .notices-log__files li > a { color: #282828; text-decoration: none; }
.notices-log-modal .notices-log__as-sent { margin-left: auto; color: #228dcf; font-size: 13px; }
.notices-log-modal .notices-log__resend { margin-top: 24px; }
.notices-log-modal .notices-log__dialog { margin-top: 16px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 5px; background: #f6f8fb; }
.notices-log-modal .notices-log__dialog > * + * { margin-top: 8px; }
.notices-log-modal .notices-log__dialog-title { font-weight: 600; }
.notices-log-modal .notices-log__dialog ul { margin: 0; padding-left: 24px; }
.notices-log-modal .notices-log__dialog-buttons { display: flex; gap: 8px; margin-top: 16px; }

@media screen and (max-width: 900px) {
    .notices-log .notices-log__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .notices-log-modal .notices-log__cols { grid-template-columns: minmax(0, 1fr); }
}

@media screen and (max-width: 600px) {
    .notices-mine .notices-mine__filters > .notices-log__f,
    .notices-mine .notices-mine__filters > .notices-log__f:last-child { width: 100%; }
    .notices-log                       { padding: 8px; }
    .notices-log .notices-log__block   { padding: 16px; }
    .notices-log .notices-log__filters { grid-template-columns: minmax(0, 1fr); }
    .notices-log .notices-log__f--wide { grid-column: auto; }
    .notices-log-modal .notices-log__pane { height: 360px; }
    .notices-log-modal .notices-log__frame { width: 100%; height: 100%; zoom: 1; }
    .notices-log-modal .notices-log__dl { grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
    .notices-log-modal .notices-log__dl dd { margin-bottom: 8px; }
}

/* The new web bell. Built on the bell rules above, the site's ul.tabs and classowl-button
   icon buttons; this block holds only what no site class has: day captions, the line meta, the unread dot, hover actions */

.cikumas-notices[data-bell="v2"] > .dropdown { width: 420px; max-width: calc(100vw - 16px); }
/* the bell sits near the right edge of the header: the box hangs from the bell's right side, so it is not cut at the window edge */
.cikumas-notices[data-bell="v2"] > .dropdown { left: auto; right: -8px; transform: none; }
.cikumas-notices[data-bell="v2"] > .dropdown:before { right: 18px; transform: translate(0, -50%) rotate(45deg); }
.cikumas-notices[data-bell="v2"] .head a .fa { margin-right: 4px; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__off { display: none; }
/* module badge of a line: a round badge with the site's font icon (FontAwesome) and the colour of the module; a line whose
   type has no module keeps the grey bell. The chat lines of chat-poll.js get the chats badge */
.cikumas-notices[data-bell="v2"] .notices ul > li .notice > .icon.notices-bell__icon,
.cikumas-notices[data-bell="v2"] .notices ul > li.chat-notice .notice > .icon.chat { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bell-bg, #f2f4f7); font-size: 15px; line-height: 1; color: var(--bell-fg, #475467); }
.cikumas-notices[data-bell="v2"] .notices ul > li .notice > .icon.notices-bell__icon:before,
.cikumas-notices[data-bell="v2"] .notices ul > li.chat-notice .notice > .icon.chat:before { content: var(--bell-glyph, "\f0a2"); font-family: FontAwesome; font-style: normal; font-weight: 400; }
.cikumas-notices[data-bell="v2"] .notices ul > li.chat-notice .notice > .icon.chat > .fa { display: none; }
.cikumas-notices[data-bell="v2"] .notices ul > li.chat-notice { --bell-bg: #ecfdf3; --bell-fg: #067647; --bell-glyph: "\f0e6"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--absences { --bell-bg: #fef3f2; --bell-fg: #d92d20; --bell-glyph: "\f21e"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--walls { --bell-bg: #e3effd; --bell-fg: #1570ef; --bell-glyph: "\f0a1"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--conferences { --bell-bg: #f4ebff; --bell-fg: #6941c6; --bell-glyph: "\f2b5"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--flex { --bell-bg: #e6f6f4; --bell-fg: #0e9384; --bell-glyph: "\f017"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--chats { --bell-bg: #ecfdf3; --bell-fg: #067647; --bell-glyph: "\f0e6"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--clubs { --bell-bg: #f3fee7; --bell-fg: #4d7c0f; --bell-glyph: "\f091"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--admissions { --bell-bg: #eef4ff; --bell-fg: #3538cd; --bell-glyph: "\f234"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--finances { --bell-bg: #fff6ed; --bell-fg: #c4320a; --bell-glyph: "\f0d6"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--calendar { --bell-bg: #eef4ff; --bell-fg: #3538cd; --bell-glyph: "\f133"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--assignments { --bell-bg: #ecfdff; --bell-fg: #0e7090; --bell-glyph: "\f02d"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--board { --bell-bg: #fdf2fa; --bell-fg: #c11574; --bell-glyph: "\f08d"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--drive { --bell-bg: #fffaeb; --bell-fg: #b54708; --bell-glyph: "\f114"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--students { --bell-bg: #eef4ff; --bell-fg: #3538cd; --bell-glyph: "\f19d"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--birthdays { --bell-bg: #fdf2fa; --bell-fg: #c11574; --bell-glyph: "\f1fd"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--feedback { --bell-bg: #fffaeb; --bell-fg: #b54708; --bell-glyph: "\f006"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--campaigns { --bell-bg: #ecfdff; --bell-fg: #0e7090; --bell-glyph: "\f1d9"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--school-events { --bell-bg: #f4ebff; --bell-fg: #6941c6; --bell-glyph: "\f274"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--portfolios { --bell-bg: #eef4ff; --bell-fg: #3538cd; --bell-glyph: "\f0b1"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--daily-reports { --bell-bg: #e6f6f4; --bell-fg: #0e9384; --bell-glyph: "\f0f6"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--address { --bell-bg: #fff6ed; --bell-fg: #c4320a; --bell-glyph: "\f041"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--login-server { --bell-bg: #f2f4f7; --bell-fg: #475467; --bell-glyph: "\f233"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--ib-ee { --bell-bg: #f4ebff; --bell-fg: #6941c6; --bell-glyph: "\f040"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--ib-cas { --bell-bg: #fdf2fa; --bell-fg: #c11574; --bell-glyph: "\f14e"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--recordings { --bell-bg: #fff6ed; --bell-fg: #c4320a; --bell-glyph: "\f03d"; }
.cikumas-notices[data-bell="v2"] .notices ul > li.notices-bell__item .notice > .icon.notices-bell__icon--counseling { --bell-bg: #ecfdf3; --bell-fg: #067647; --bell-glyph: "\f1cd"; }

.cikumas-notices[data-bell="v2"] .notices-bell__none-unread { display: none; padding: 10px; font-size: 12px; color: #6b7280; font-style: italic; text-align: center; }
.cikumas-notices[data-bell="v2"] .notices.notices-bell--unread-tab.notices-bell--no-unread .notices-bell__none-unread { display: block; }
.cikumas-notices[data-bell="v2"].empty .notices-bell__none-unread { display: none; }
/* ===== calmer bell ===== */

/* ---------- shared ---------- */
.cikumas-notices[data-bell="v2"] > .dropdown { width: 420px; border: 1px solid #e4e5e7; border-radius: 5px; box-shadow: 0 8px 24px rgba(16,24,40,.14); }
.cikumas-notices[data-bell="v2"] > .dropdown:before { border-color: #e4e5e7; }
.cikumas-notices[data-bell="v2"] .notices { border-radius: 5px; overflow: hidden; }

/* head: title left, Settings right (the link comes first in dropdown.html, so it is moved with order) */
.cikumas-notices[data-bell="v2"] .head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border: 0;
            font-size: 16px; font-weight: 600; line-height: 24px; color: #282828; }
.cikumas-notices[data-bell="v2"] .head a { order: 2; float: none; font-size: 13px; font-weight: 400; color: #2A71CF; }

/* tabs: the site's ul.tabs (styles.css), only the width is freed so "UNREAD 12" and "UNGELESEN 12" fit */
.cikumas-notices[data-bell="v2"] .notices-bell__tabs { display: block; padding: 0 16px 12px; border-bottom: 1px solid #e5e5e5; }
.cikumas-notices[data-bell="v2"] .notices-bell__tabs ul.tabs { text-align: left; overflow: visible; max-height: none; }
.cikumas-notices[data-bell="v2"] .notices-bell__tabs ul.tabs > li { border: 1px solid #1f3c77; background: transparent; overflow: hidden; }
.cikumas-notices[data-bell="v2"] .notices-bell__tabs ul.tabs > li > * { width: auto; min-width: 86px; padding: 0 12px; box-sizing: border-box; text-align: center; }
.cikumas-notices[data-bell="v2"] .notices-bell__unread { display: inline-block; min-width: 16px; margin-left: 4px; padding: 0 4px; border-radius: 8px; box-sizing: border-box;
                            font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; vertical-align: 2px; color: #fff; background: #1f3c77; }
.cikumas-notices[data-bell="v2"] .notices-bell__tabs ul.tabs > li.selected .notices-bell__unread { color: #1f3c77; background: #fff; }
.cikumas-notices[data-bell="v2"] .notices-bell__unread:empty { display: none; }

/* the list */
.cikumas-notices[data-bell="v2"] .notices > ul { max-height: 480px; }
.cikumas-notices[data-bell="v2"] .notices > ul > li { overflow: visible; background: #fff; border-bottom: 0; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__day,
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__chatday { position: sticky; top: 0; z-index: 3; padding: 14px 16px 6px; background: #fff;
            font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: #667085; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice { color: inherit; text-decoration: none; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info { display: block; width: auto; margin: 0; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info > * { overflow: hidden; text-overflow: ellipsis; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info > .title > b { color: inherit; font-weight: 600; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info > .text:empty { display: none; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info > .title:not(:empty) + .text { margin-left: 0; }
.cikumas-notices[data-bell="v2"] .notices-bell__meta .notices-pill { flex: 0 0 auto; min-width: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis;
            padding: 0 6px; border-radius: 10px; font-size: 12px; line-height: 18px; color: #344054; border-color: #d0d5dd; }
.cikumas-notices[data-bell="v2"] .notices-bell__module + .notices-bell__time:before { content: "-"; margin: 0 6px 0 0; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notices-bell__acts .classowl-button { position: relative; top: auto; right: auto; display: block; width: 28px; height: 28px; padding: 0;
            font-size: 13px; line-height: 26px; text-align: center; color: #657FAC; background: #fff; border: 1px solid #E4E5E7; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notices-bell__acts .classowl-button:hover { color: #1F3C77; border-color: #c7cdd8; }

/* foot */
.cikumas-notices[data-bell="v2"] .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 16px; border-top: 1px solid #e5e5e5; }
.cikumas-notices[data-bell="v2"] .foot form { width: auto; flex: none; }
.cikumas-notices[data-bell="v2"] .foot button { display: inline; width: auto; padding: 0; font-size: 13px; line-height: 20px; color: #2A71CF; background: transparent; white-space: nowrap; }
.cikumas-notices[data-bell="v2"] .foot button:hover { color: #1F3C77; background: transparent; }
.cikumas-notices[data-bell="v2"] .notices-bell__all { margin-left: auto; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; line-height: 20px; color: #2A71CF; white-space: nowrap; text-decoration: none; }

@media screen and (max-width: 800px) {
    .cikumas-notices[data-bell="v2"] > .dropdown { width: 340px; }
}
@media screen and (max-width: 600px) {
    .cikumas-notices[data-bell="v2"] > .dropdown { position: fixed; top: 61px; left: 70px; right: 8px; width: auto; max-width: none; transform: none; }
    .cikumas-notices[data-bell="v2"] > .dropdown:before { display: none; }
    .cikumas-notices[data-bell="v2"] .notices > ul { max-height: calc(100vh - 61px - 8px - 48px - 48px - 44px); }
    .cikumas-notices[data-bell="v2"] .foot { flex-wrap: wrap; gap: 0 12px; padding: 10px 12px; }
    .cikumas-notices[data-bell="v2"] .foot button, .cikumas-notices[data-bell="v2"] .notices-bell__all { font-size: 12px; }
    .cikumas-notices[data-bell="v2"] .head, .cikumas-notices[data-bell="v2"] .notices-bell__tabs { padding-left: 12px; padding-right: 12px; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__day, .cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__chatday { padding-left: 12px; }
}


/* ---------- calmer bell rules ---------- */
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item,
.cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice { position: relative; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice { display: flex; align-items: flex-start; gap: 12px; padding: 10px 40px 10px 16px; }
.cikumas-notices[data-bell="v2"] .notices > ul > li:hover,
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:focus-within { background: #f7f9fc; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__day:hover { background: #fff; }

.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .icon.notices-bell__icon,
.cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice .notice > .icon.chat { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
            margin-top: 2px; border-radius: 50%; background: var(--bell-bg, #f2f4f7); color: var(--bell-fg, #475467); font-size: 15px; line-height: 1; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info { flex: 1; min-width: 0; }
.cikumas-notices[data-bell="v2"] .notices > ul > li .notice > .info > .title,
.cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice .notice > .info > .text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal;
            font-size: 14px; line-height: 20px; font-weight: 400; color: #344054; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:not(.read) .notice > .info > .title,
.cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice .notice > .info > .text { font-weight: 600; color: #1d2939; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item .notice > .info > .text { display: block; margin-top: 1px; white-space: nowrap; font-size: 13px; line-height: 18px; font-weight: 400; color: #667085; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item .notice > .info > .text:empty { display: none; }
.cikumas-notices[data-bell="v2"] .notices-bell__meta { display: flex; align-items: center; gap: 0 8px; margin-top: 4px; font-size: 12px; line-height: 18px; color: #667085; white-space: nowrap; }
.cikumas-notices[data-bell="v2"] .notices-bell__module { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cikumas-notices[data-bell="v2"] .notices-bell__time { flex: none; }
/* the hover actions (two 28px buttons, 12px from the edge, 12px lead-in) sit over the meta line: keep the time clear of them */
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item .notices-bell__meta { padding-right: 56px; }

/* one unread marker: the dot (no tint), aligned with the first title line */
.cikumas-notices[data-bell="v2"] .notices-bell__dot { position: absolute; right: 16px; top: 18px; width: 8px; height: 8px; margin: 0; border-radius: 50%; background: #2A71CF; }

/* hover: the actions sit over the right edge on the row colour, so the text does not reflow */
.cikumas-notices[data-bell="v2"] .notices-bell__acts { display: none; position: absolute; z-index: 2; right: 12px; top: auto; bottom: 8px; gap: 4px; transform: none;
            padding-left: 12px; background: #f7f9fc; box-shadow: -12px 0 12px #f7f9fc; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:hover .notices-bell__acts,
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:focus-within .notices-bell__acts { display: flex; }
.cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:hover .notices-bell__dot { display: none; }

/* touch: no hover, so the two actions stay, borderless; the unread dot moves onto the module icon */
@media screen and (max-width: 800px) {
    .cikumas-notices[data-bell="v2"] .notices > ul > li .notice { padding: 10px 12px; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice .notice { padding-right: 28px; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item .notices-bell__meta { padding-right: 60px; }
    .cikumas-notices[data-bell="v2"] .notices-bell__acts { display: flex; right: 6px; top: auto; bottom: 6px; gap: 0; padding: 0; background: transparent; box-shadow: none; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li .notices-bell__acts .classowl-button { border-color: transparent; background: transparent; color: #98a2b3; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item .notices-bell__dot { display: block; right: auto; left: 38px; top: 10px; border: 2px solid #fff; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.notices-bell__item:hover .notices-bell__dot{ display: block; }
    .cikumas-notices[data-bell="v2"] .notices > ul > li.chat-notice .notices-bell__dot { right: 12px; }
}

/* the header of narrow screens: the site has a 640px minimum width, so on a 390px screen the bell sat in the unseen part of the header;
   with the new bell it leaves the header row and sits right of the sidebar (62px), so the other header items keep the places they
   have with the flag off (a place in the row would push the avatar out of the page) */
@media screen and (max-width: 640px) {
    header.main > .cikumas-notices[data-bell="v2"] { position: absolute; top: 14px; left: 70px; margin-left: 0; }
}

/* the old bell (bell flag off) on narrow screens: it sat in the unseen part of the header as well
   and its dropdown was cut at the screen edge; it takes the new bell's place right of the sidebar and its dropdown lies inside the screen */
@media screen and (max-width: 640px) {
    header.main > .cikumas-notices:not([data-bell]) { position: absolute; top: 14px; left: 70px; margin-left: 0; }
    .cikumas-notices:not([data-bell]) > .dropdown { position: fixed; top: 61px; left: 70px; right: 8px; width: auto; transform: none; }
    .cikumas-notices:not([data-bell]) > .dropdown:before { display: none; }
}

/* The log page loads notices-settings.css after this file; its .notices-chip and .notices-callout would win on the log page and in
   its modals. The log rules are scoped here, so they keep their look and the settings pages keep theirs */

.notices-log .notices-chip                       { display: inline-flex; align-items: center; gap: 8px; height: auto; padding: 2px 8px; border: 1px solid #D8DDE6; border-radius: 12px; background: #F0F4FA; color: #1F3C77; font-size: 12px; line-height: 18px; white-space: normal; }
.notices-log .notices-callout,
.notices-log-modal .notices-callout              { align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 5px; background: #f6f8fb; font-size: 14px; line-height: 20px; color: #282828; }
.notices-log .notices-callout > .fa,
.notices-log-modal .notices-callout > .fa        { flex: none; margin-top: 3px; font-size: 14px; color: #657FAC; }

/* one help style (12px #6b7280) */
.notices-log .notices-log__muted,
.notices-log-modal .notices-log__muted,
.notices-log .notices-log__sub,
.notices-log-modal .notices-log__sub,
.notices-log-modal .form-hint                    { color: #6b7280; font-size: 12px; line-height: 18px; }
.notices-log .notices-log__foot                  { color: #6b7280; font-size: 12px; }

/* a restricted member and the lock box of a restricted email */
.notices-log-modal .notices-log__restricted      { color: #6b7280; font-style: normal; }
.notices-log-modal .notices-callout--opened      { margin-bottom: 16px; }
.notices-log-modal .notices-log__lockbox         { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 0 24px; border: 1px dashed #d5d7da; border-radius: 8px; background: #f6f7f9; color: #4b5563; font-size: 13px; line-height: 19px; text-align: center; }
.notices-log-modal .notices-log__lockbox > .fa   { margin-bottom: 8px; font-size: 26px; color: #9ca3af; }

/* the send again dialog: a second site modal, 560px, one focus trap */
.classowl-modal-form.notices-resend-modal > .container { width: 560px; max-width: 100%; }
.notices-resend-modal .notices-resend__title     { font-size: 20px; line-height: 28px; }
.notices-resend-modal .notices-log__dialog       { margin: 0; padding: 0; border: 0; background: none; }
.notices-resend-modal .notices-log__dialog > * + * { margin-top: 0; }
.notices-resend-modal .notices-log__legend       { margin: 16px 0 8px; }
.notices-resend-modal .notices-log__legend:first-child { margin-top: 0; }
.notices-resend-modal .notices-resend__ok        { color: #079455; }
.notices-resend-modal .notices-resend__out       { color: #d92d20; }
.notices-resend-modal .notices-log__inner-wrap   { margin-bottom: 8px; }

/* heads and the channel cell stay on one line (DE: In ClassOwl, Gelesen oder geoeffnet); the table scrolls inside its container */
.notices-log .notices-log__table > thead > tr > th,
.notices-log .notices-log__table > tbody > tr > td:nth-child(5),
.notices-log-modal .notices-log__inner > thead > tr > th { white-space: nowrap; }
.notices-resend-modal .form-ctrls                { margin-top: 16px; }

/* names stay on one line at desktop widths (DE: Student A Demo, Admin Finance Demo); narrow widths wrap again */
@media screen and (min-width: 1025px) {
    .notices-log .notices-log__table > tbody > tr > td:nth-child(2) > div:first-child { white-space: nowrap; }
    .notices-log .notices-log__about-name { white-space: nowrap; }
}

/* narrow filter layouts: the chip row follows the recipient field, not the About field */
@media screen and (max-width: 900px) {
    .notices-log .notices-log__filters > *                   { order: 2; }
    .notices-log .notices-log__filters > .notices-log__f:first-child { order: 0; }
    .notices-log .notices-log__filters > .notices-log__chips { order: 1; }
}

@media screen and (max-width: 600px) {
    .notices-log-modal .notices-log__lockbox     { min-height: 160px; }
}

/* log page spacing: edges and spacing of the page, the detail and the send again dialog on the 8/16/24 rhythm */

/* the empty row that names the missing notification: a plain sentence with the event and the person in bold, not the
   site's large italic grey not-found text, in which the bold parts did not stand out */
.notices-log .notices-log__table td.not-found:has(> span) { font-size: 14px; line-height: 20px; font-style: normal; color: #6b7280; }
.notices-log .notices-log__table td.not-found > span > b { font-weight: 600; color: #282828; }

/* Settings tab: the school defaults button keeps its own width (classowl-button is a block) and sits under a divider */
.notices-log .notices-log__settings-defaults  { display: flex; padding-top: 24px; border-top: 1px solid #e5e5e5; }

/* the detail: a single column (no stored email beside it) reads at 760px, the two-column detail keeps 1040px */
.classowl-modal-form.notices-log-modal:not(.notices-log-modal--narrow):not(.notices-resend-modal) > .container:has(> .form-inner > .notices-log__cols--single) { width: 760px; }
/* the last block of a column ends on the modal's own padding, without its 24px block margin */
.notices-log-modal .notices-log__facts > :last-child,
.notices-log-modal .notices-log__side > :last-child { margin-bottom: 0; }
/* Open full email under the facts is a block-level box, so its 8px margin folds into the 24px of the list above (no 32px gap) */
.notices-log-modal .notices-log__facts > .notices-log__full { display: table; }
.notices-log-modal .notices-log__pane-foot  { align-items: baseline; }

/* send again dialog: Cancel (white, 1px border) and Send again stand at one height; Send again grows with a longer label */
.notices-resend-modal .form-ctrls > .classowl-button.blue-ns { width: auto; min-width: 130px; border: 1px solid #3080EB; }

@media screen and (max-width: 600px) {
    /* the table scrolls sideways here anyway: names stay on one line instead of three */
    .notices-log .notices-log__table > tbody > tr > td:nth-child(2) > div:first-child,
    .notices-log .notices-log__about-name { white-space: nowrap; }
    .notices-log .notices-log__table > tbody > tr > td:nth-child(4) { min-width: 220px; }
    /* stacked facts: the label is the site's small form label above its value */
    .notices-log-modal .notices-log__dl dt { font-size: 12px; line-height: 18px; }
    .notices-log-modal .notices-log__dl dd:last-child { margin-bottom: 0; }
}

/* Settings > Email templates, digest block (replaces the inline <style> of notices-digest.html) */
.settings-email-templates > .notices-digest > div:first-child                 { font-size: 16px; font-weight: 600; }
.settings-email-templates > .notices-digest .classowl-input-frame            { width: 200px; }
.settings-email-templates > .notices-digest .classowl-button                 { height: 36px; line-height: 34px; border: 1px solid transparent; }
.settings-email-templates > .notices-digest .classowl-button.white           { border-color: #E4E5E7; }
@media screen and (max-width: 600px) {
    .settings-email-templates > .notices-digest                                   { flex-wrap: wrap; gap: 8px; }
    .settings-email-templates > .notices-digest > div:first-child                 { line-height: 20px; }
    .settings-email-templates > .notices-digest > .ctrls                          { flex-wrap: wrap; gap: 8px; max-width: 100%; }
    .settings-email-templates > .notices-digest .classowl-input-frame            { width: 100%; max-width: 200px; }
}

.notices-settings .notices-reset-pending { margin-left: 8px; font-size: 12px; line-height: 16px; color: #6b7280; }
