/* module=scheduling; channel=admin; layer=ui; scenario=notification.compose */
.notification-entry{margin:12px 0!important;background:linear-gradient(135deg,#246de5,#174ca9)!important;color:#fff!important;border:1px solid #3c7ee8!important;box-shadow:0 6px 16px #215bbe24;min-height:48px}.notification-entry[hidden]{display:none!important}.notification-entry span{white-space:normal!important;line-height:1.4}
.notification-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 32px));max-height:92vh;padding:0;border:1px solid #d5e3e8;border-radius:24px;background:#f5f9fa;color:#153f4b;box-shadow:0 24px 100px #12374040}.notification-dialog::backdrop{background:#10313d88;backdrop-filter:blur(5px)}.notification-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;background:#fff;border-bottom:1px solid #dce8ec}.notification-header h2{font-size:26px;margin:6px 0}.notification-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:#397382}.notification-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:24px;padding:24px 28px}.notification-form,.notification-history{min-width:0}.notification-form>p{line-height:1.6}.notification-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:14px;font-weight:600}.notification-field input,.notification-field textarea,.notification-field select{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #bdcfd6;border-radius:12px;background:white;color:#173f4b;font:inherit;min-height:46px}.notification-field textarea{font-weight:400;resize:vertical}.notification-note{padding:14px 16px;border-radius:12px;background:#e7f2f4;font-size:13px}.notification-preview{border:1px solid #ccdde3;background:#fff;border-radius:18px;padding:22px;margin:20px 0}.notification-copy,.notification-history-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.notification-file{font-size:13px;overflow-wrap:anywhere;color:#477280}.notification-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.notification-actions button{white-space:normal;min-height:46px}.notification-send{background:#167c58!important;color:#fff!important;border:0;border-radius:12px;padding:12px 18px;font-weight:700}.notification-dialog button:disabled{opacity:.45;cursor:not-allowed}.notification-check{display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.6}.notification-check input{width:20px;height:20px;flex:0 0 20px;margin:2px 0}.notification-message{min-height:24px;line-height:1.6;font-size:14px;color:#185775}.notification-history-card{border:1px solid #d3e2e7;background:#fff;border-radius:16px;padding:18px;margin:14px 0;overflow-wrap:anywhere}.notification-history-card strong{display:block;font-size:16px}.notification-history-card button{display:block;margin-top:12px}.notification-status{display:block;font-size:12px;font-weight:700;color:#14634b;background:#e5f3ee;padding:7px 10px;border-radius:8px}.notification-history h3{margin-top:0}
@media(max-width:700px){.notification-dialog{width:calc(100vw - 16px);max-height:95vh;border-radius:18px}.notification-header{padding:18px;align-items:flex-start}.notification-header h2{font-size:22px}.notification-grid{grid-template-columns:minmax(0,1fr);padding:18px;gap:24px}.notification-actions{flex-direction:column}.notification-actions button{width:100%}.notification-check span{min-width:0}.notification-history{border-top:1px solid #d3e2e7;padding-top:22px}}

/* One task column, explicit stages and a separate, optional history. */
.notification-dialog{width:min(840px,calc(100vw - 32px))}
.notification-header{position:sticky;top:0;z-index:2;flex-wrap:wrap}
.notification-grid{grid-template-columns:minmax(0,1fr)}
.notification-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;counter-reset:notice;margin:0;padding:20px 28px 0}
.notification-steps li{counter-increment:notice;padding:14px;border:1px solid #d5e3df;border-radius:12px;color:#526d70;font-size:14px;line-height:1.5;background:#edf4f2;overflow-wrap:anywhere}
.notification-steps li::before{content:counter(notice);display:block;font-weight:800;margin-bottom:5px}
.notification-steps .is-current{border:2px solid #247e74;background:#fff;color:#114f49;box-shadow:0 3px 12px #16665415}
.notification-steps .is-done{background:#dcefe7;color:#23664d}
.notification-result{padding:18px;background:#e4f2ed;border:1px solid #bddbd0;border-radius:16px;margin:20px 0}
.notification-result>strong{display:block;overflow-wrap:anywhere;line-height:1.5}
.notification-open-bot{display:inline-block;text-decoration:none;white-space:normal;line-height:1.5;padding:12px 16px;background:#fff;border:1px solid #aecfc4;border-radius:10px;color:#15594f;font-weight:700}
.notification-message{white-space:pre-line}
.notification-archive{margin:0 28px 28px;padding:18px;border:1px solid #cadbdc;border-radius:16px;background:#edf2f3}
.notification-archive>summary{cursor:pointer;font-size:16px;font-weight:700;line-height:1.5;color:#365d66}
.notification-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
.notification-history>button{grid-column:1/-1;justify-self:start}
.notification-history-card{margin:0}
.notification-dialog [hidden]{display:none!important}
.admin-text-size{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;min-width:170px;max-width:100%}
.admin-text-size select{font:inherit;max-width:100%;min-height:42px;padding:8px 12px;border:1px solid #bcd8d2;border-radius:10px;background:#fff;color:#164f49}
@media(max-width:600px){.notification-steps{grid-template-columns:1fr;padding:16px 18px 0}.notification-steps li{padding:10px 14px}.notification-steps li::before{display:inline;margin-right:10px}.notification-archive{margin:0 18px 18px}.notification-result{padding:14px}.notification-open-bot{display:block}.admin-text-size{width:100%}}
:root{font-size:calc(16px * var(--admin-text-scale,1))}

.task-assistant-result{padding:18px;margin:0 0 18px;background:#fff;border:2px solid #28877a;border-radius:16px;overflow-wrap:anywhere}
.task-assistant-result[hidden]{display:none}
.task-assistant-result h3{font-size:20px;line-height:1.35;margin:12px 0}
.task-assistant-result p{line-height:1.6}
.task-assistant-result>button{width:100%;white-space:normal;min-height:48px}
.task-assistant-result .workspace-preview{max-height:340px;overflow:auto;margin-top:16px}

.notification-channels{display:flex;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid #bfd5cf;border-radius:12px;margin:18px 0}
.notification-channels legend{font-size:14px;font-weight:700;padding:0 6px}
.notification-channel{display:flex;align-items:center;gap:10px;min-height:44px;flex:1 1 230px;line-height:1.5}
.notification-channel input{width:22px;height:22px;flex:0 0 22px;accent-color:#247e74}
.notification-channel:has(input:checked){background:#d9eee6;border-radius:8px;padding:8px}
.notification-bot-links{display:grid;gap:12px}
.notification-delivery-row{padding:14px 0;border-top:1px solid #bfd9cf;line-height:1.6;overflow-wrap:anywhere}
.notification-delivery-row p{margin:8px 0}

.notification-inline-link{color:#087b72;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.notification-link-tool{margin:0 0 8px;min-height:44px}
.notification-link-dialog{width:min(540px,calc(100vw - 24px));box-sizing:border-box;max-height:90vh;overflow:auto;padding:24px;border:1px solid #bdd8d0;border-radius:20px;color:#164c49;background:#f6fbf9}
.notification-link-dialog::backdrop{background:#10313d88}
.notification-link-dialog h2{font-size:24px;line-height:1.35}
.notification-link-dialog>button{margin:8px 8px 0 0;white-space:normal;min-height:44px}
/* Notification workspace: a quiet, readable list shared by both administrators. */
.notification-header{flex-wrap:nowrap;align-items:flex-start;padding:22px 26px}
.notification-header h2{margin:4px 0 0;font-size:26px;line-height:1.25}
.notification-header>button{flex-shrink:0;font-size:15px;min-height:42px}
.notification-eyebrow{display:block;font-size:10px;line-height:1.6}
.notification-dialog{width:min(1040px,calc(100vw - 32px));background:#f6f9f7}
.notification-grid{padding:24px 28px}
.notification-archive{background:#fff;border-color:#dce7e2;padding:22px;margin-top:8px}
.notification-archive>summary{font-size:20px;color:#153f3b}
.notification-history-help{font-size:13px;line-height:1.6;color:#69807c;margin:12px 0 20px}
.notification-history-tools{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.notification-history-tools input,.notification-history-tools select{box-sizing:border-box;border:1px solid #d2e1da;border-radius:10px;padding:11px 12px;font:inherit;min-width:0;min-height:44px;background:#fff;color:#264b44}
.notification-history-tools input{flex:1 1 220px}
.notification-history-tools select{flex:0 1 190px;font-size:14px}
.notification-history-tools button{font-size:14px;min-height:44px}
.notification-history{display:flex;flex-direction:column;gap:0}
.notification-history-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:16px;padding:20px 0;border-bottom:1px solid #e6ede9;align-items:start}
.notification-history-row:last-child{border-bottom:0}
.notification-history-icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#e9f4ee;color:#24776c;font-size:20px;font-weight:700}
.notification-history-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.5;color:#153f3b;white-space:pre-line;overflow-wrap:anywhere}
.notification-history-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;line-height:1.6;color:#667d77;margin:6px 0 10px}
.notification-history-meta span{display:block}
.notification-history-content .notification-status{display:inline-block;width:auto;padding:4px 9px;font-size:12px;border-radius:6px;background:#edf2ef;color:#5f736d}
.notification-status[data-status=complete]{background:#e4f4e9;color:#27603e}
.notification-status[data-status=queued]{background:#e8f1fb;color:#28578c}
.notification-status[data-status=unknown],.notification-status[data-status=expired]{background:#fff2df;color:#81571f}
.notification-status[data-status=archived]{background:#f1eeed;color:#746b65}
.notification-history-counts{font-size:12px;color:#5e7770;margin:8px 0 0;line-height:1.6}
.notification-history-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:220px}
.notification-dialog .notification-history-actions button{min-height:36px;padding:8px 10px;border:1px solid #d8e4de;border-radius:8px;font-size:12px;font-weight:600;line-height:1.3;background:#fff;color:#276b61;white-space:normal}
.notification-dialog .notification-history-actions .notification-delete{color:#9c4d4d;border-color:transparent;background:#fff4f1}
.notification-history-notice:not(:empty){display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#eaf4ed;border-radius:10px;padding:12px 14px;color:#315d44;font-size:13px;line-height:1.5;margin:12px 0}
.notification-history-notice button{font-size:13px;padding:6px 10px}
.notification-history-empty{padding:24px 0;text-align:center;color:#72847e;font-size:14px}
.notification-assistant{border:1px solid #c8ded3;background:#eef6f1;border-radius:14px;padding:16px;margin:18px 0}
.notification-assistant summary{cursor:pointer;font-size:15px;font-weight:700;color:#2b6857}
.notification-assistant textarea{box-sizing:border-box;width:100%;margin-top:14px;border:1px solid #c8ded3;border-radius:10px;padding:12px;font:inherit;font-size:14px;line-height:1.6}
.notification-assistant .notification-actions button{font-size:13px;padding:10px;min-height:40px}
.notification-ai-result img{width:100%;max-height:360px;object-fit:contain;border-radius:12px;margin:12px 0}
@media(max-width:650px){.notification-history-row{grid-template-columns:34px minmax(0,1fr);gap:12px}.notification-history-actions{grid-column:2;max-width:none;justify-content:flex-start}.notification-history-icon{width:34px;height:34px;border-radius:9px}.notification-header{padding:18px}.notification-header h2{font-size:22px}.notification-archive{padding:16px}.notification-history-title{font-size:15px}}
/* Calendar, scheduled deliveries and the short registration report. */
.notification-calendar-host{padding:24px 28px 0}
.notification-calendar-host .calendar-panel{box-shadow:none;border-color:#d7e5de;border-radius:16px;padding:20px}
.notification-calendar-host .section-head{flex-wrap:wrap;gap:12px}
.notification-calendar-host .section-head h2{font-size:23px;line-height:1.3}
.notification-calendar-host .calendar-help{font-size:12px;line-height:1.6}
.notification-planned,.notification-report-host{padding:20px 28px}
.notification-planned h2,.notification-report-host h2{font-size:22px;line-height:1.4;margin:0 0 16px}
.notification-report-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.notification-analytics{border-top:1px solid #d5e3dc;padding-top:24px}
.notification-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.notification-report-metrics article{background:#eef5f0;border:1px solid #d7e5dc;border-radius:14px;padding:18px}
.notification-report-metrics strong,.notification-report-metrics span{display:block}
.notification-report-metrics strong{font-size:30px;color:#246c5c;margin-bottom:8px}
.notification-report-metrics span{font-size:13px;line-height:1.5;color:#58776b}
.notification-report-row{border-bottom:1px solid #dce6e0;padding:16px 0}
.notification-report-row summary{cursor:pointer;font-size:14px;line-height:1.7;font-weight:600}
.notification-report-body{padding-top:16px}
.notification-report-body table,.notification-partners table{width:100%;font-size:13px;border-collapse:collapse}
.notification-report-body th,.notification-report-body td,.notification-partners th,.notification-partners td{padding:12px 10px;text-align:left;border-bottom:1px solid #dce6e0;white-space:normal;line-height:1.6}
.notification-report-body .client-open-name{display:block}
.notification-partners{margin-top:28px}
.notification-form>p:first-child{font-size:14px}
.notification-grid{border-top:1px solid #d5e3dc;margin-top:16px}
@media(max-width:650px){.notification-calendar-host{padding:16px 16px 0}.notification-calendar-host .calendar-panel{padding:12px}.notification-planned,.notification-report-host{padding:16px}.notification-report-metrics{grid-template-columns:1fr}.notification-calendar-host .calendar-event{font-size:10px!important;white-space:normal;overflow-wrap:anywhere}.notification-report-body .table-wrap,.notification-partners .table-wrap{overflow:auto}}

/* Keep all header actions reachable in a narrow side panel. */
.notification-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:start}
.notification-header>div{min-width:0}
.notification-header>button{max-width:100%;white-space:normal}
.notification-calendar-host,.notification-planned,.notification-report-host{min-width:0}
.notification-upcoming-events{padding-top:22px}
.notification-upcoming-events h2{font-size:22px;line-height:1.4}
@media(max-width:650px){.notification-header{grid-template-columns:minmax(0,1fr) auto;padding:14px;gap:10px}.notification-header>div{grid-column:1/-1}.notification-header>button{font-size:13px;min-height:40px;padding:9px 12px}.notification-header h2{font-size:22px}.notification-header .admin-help-button{font-size:12px;padding:6px 8px;min-height:34px}.notification-calendar-host{padding:12px 8px 0}.notification-calendar-host .calendar-panel{padding:8px}.notification-calendar-host .section-head h2{font-size:20px}.notification-calendar-host .calendar-controls{grid-template-columns:30px minmax(0,1fr) auto 30px;gap:4px}.notification-calendar-host .calendar-controls h3{font-size:14px}.notification-calendar-host .calendar-controls button{padding:5px;font-size:12px;min-height:34px}.notification-grid{padding:16px 12px}.notification-planned,.notification-report-host{padding:16px 12px}.notification-calendar-host .calendar-day{padding:3px;min-height:58px}.notification-calendar-host .calendar-event{font-size:9px!important;padding:3px!important}.notification-calendar-host .calendar-weekday{font-size:10px}.notification-history-tools select{flex-basis:100%}}

/* Shared full-page workspace. No backdrop, nested scrolling or fixed-height modal. */
.notification-page{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;background:#f6f9f7;color:#153f4b;border:1px solid #dce7e2;border-radius:22px;overflow:visible}
.notification-page .notification-header{position:static;display:flex;flex-wrap:wrap;align-items:center;gap:16px;border-radius:22px 22px 0 0}
.notification-page .notification-header>div:first-child{flex:1 1 260px}
.notification-font-control{padding:10px 14px;border:1px solid #b8d8cf;border-radius:12px;background:#edf7f3;min-width:190px}
.notification-font-control .admin-text-size{font-size:14px}
.notification-page .notification-calendar-host{padding-top:24px}
.notification-page .calendar-controls h3{white-space:normal;overflow:visible;text-overflow:clip}
.notification-page .notification-archive{margin-bottom:28px}
.notification-page .notification-grid{grid-template-columns:minmax(0,1fr)}
.notification-page .notification-form{max-width:900px;width:100%;margin:auto}
.notification-page [hidden]{display:none!important}
.notification-page button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.notification-page{border-radius:16px}.notification-page .notification-header{padding:16px;border-radius:16px 16px 0 0;gap:12px}.notification-font-control{box-sizing:border-box;width:100%}.notification-page .notification-header>button{width:100%}.notification-page .notification-calendar-host{padding:12px 8px 0}}

/* Message composer and event-specific reminders share the product controls. */
.notification-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin:16px 0}
.notification-attachment{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #cddfd7;border-radius:16px;background:#fff;min-width:0;overflow-wrap:anywhere}
.notification-attachment img,.notification-attachment video{width:100%;max-height:240px;object-fit:contain;border-radius:10px}
.notification-attachment audio{width:100%}
.notification-assistant{padding:20px;border:1px solid #c9dfd5;border-radius:18px;background:#eff7f3;margin:18px 0}
.notification-assistant>textarea{box-sizing:border-box;width:100%;border:1px solid #b8d2c6;border-radius:14px;padding:14px;background:white;font:inherit;min-height:100px}
.notification-reminder{padding:22px;margin:0 0 24px;border:1px solid #b8d9ca;border-radius:18px;background:linear-gradient(150deg,#f4fbf7,#fff)}
.notification-reminder>h3{margin:0 0 8px;font-size:22px;color:#146b58}
.notification-reminder-image{width:100%;max-height:260px;object-fit:contain;border-radius:12px}
.notification-reminder-bots{display:flex;flex-wrap:wrap;gap:12px}
.notification-reminder .notification-actions button{flex:1;min-width:130px}
.notification-page .notification-actions>.notification-send{display:block}
.notification-page .notification-report-body{overflow:auto}
@media(max-width:650px){.notification-reminder{padding:16px}.notification-assistant{padding:16px}.notification-page .notification-header h2{font-size:24px}}

.notification-chat-history{display:flex;flex-direction:column;gap:12px;margin-bottom:14px;max-height:420px;overflow:auto}
.notification-chat-user,.notification-chat-assistant{max-width:92%;padding:14px 18px;border-radius:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.notification-chat-user{align-self:flex-end;background:#d3eae1;color:#17483d}
.notification-chat-assistant{align-self:flex-start;background:white;border:1px solid #d8e7df}
.notification-chat-assistant img{max-width:100%;border-radius:12px}

/* Approved design, 20 October 2026. Shared by both admin shells. */
.notification-page{--notice-ink:#173e43;--notice-muted:#627d80;--notice-line:#dce8e6;--notice-accent:#187f79;background:transparent;border:0;border-radius:0;color:var(--notice-ink);max-width:1440px;margin:auto}
.notification-page *{box-sizing:border-box}
.notification-page h2,.notification-page h3{letter-spacing:-.025em;color:var(--notice-ink)}
.notification-page .notification-header{background:transparent;border:0;padding:0 0 26px;gap:18px;position:static}
.notification-page .notification-header h2{font-size:32px;line-height:1.2;margin-top:7px}
.notification-page .notification-eyebrow{color:#448985;font-weight:700;font-size:10px;letter-spacing:.13em;line-height:1.6}
.notification-page button{font-size:14px;line-height:1.4;border-radius:11px;min-height:42px;transition:background .15s,border-color .15s,box-shadow .15s}
.notification-page button:focus-visible,.notification-page input:focus-visible,.notification-page textarea:focus-visible,.notification-page select:focus-visible{outline:3px solid #7acbc0;outline-offset:3px}
.notification-page button.primary,.notification-page .notification-send{background:linear-gradient(135deg,#218c82,#166f6b)!important;box-shadow:0 4px 10px #187f7918;border:1px solid #187f79;color:white;padding:11px 18px}
.notification-page button.secondary{background:#fff;border:1px solid #d5e4e0;color:#296b69;padding:10px 14px}
.notification-page button:hover:not(:disabled){box-shadow:0 4px 12px #124b4514;border-color:#77b3a9}
.notification-page .notification-font-control{background:#e9f4f0;border:1px solid #c6e0d8;padding:10px 13px;border-radius:13px;min-width:205px}
.notification-page .notification-calendar-host{padding:0;background:#fff;border:1px solid var(--notice-line);border-radius:20px;box-shadow:0 5px 25px #193f3a05;overflow:hidden}
.notification-page .notification-calendar-host .calendar-panel{border:0;border-radius:0;padding:22px 24px 15px;background:transparent;margin:0}
.notification-page .notification-calendar-host .section-head{margin-bottom:10px}
.notification-page .notification-calendar-host .section-head h2{font-size:22px;margin:0 0 5px}
.notification-page .notification-calendar-host .section-head p,.notification-page .calendar-help{font-size:12px;color:var(--notice-muted);line-height:1.6}
.notification-page .calendar-controls{margin:0 0 8px;gap:8px}
.notification-page .calendar-controls h3{font-size:17px}
.notification-page .calendar-controls button{min-height:34px;font-size:12px;padding:5px 10px}
.notification-page .calendar-help{margin:8px 0 14px}
.notification-page .calendar-board{border:1px solid #e2ece8;border-radius:13px;overflow:hidden;background:#fff}
.notification-page .calendar-day{min-height:68px;padding:5px;border-color:#e6eeeb;background:#fff}
.notification-page .calendar-day.muted{background:#f7faf8}
.notification-page .calendar-weekday{padding:9px 4px;font-size:11px;color:#718883;background:#f5f9f6}
.notification-page .calendar-number{border:0!important;background:transparent;box-shadow:none;min-height:26px;padding:2px 6px;font-size:12px}
.notification-page .calendar-day.is-today{background:#ecf7f2;box-shadow:inset 0 0 0 1px #2e9b87}
.notification-page .calendar-item{font-size:10px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;min-height:0;padding:5px 7px;border:0;border-radius:6px;background:#e7f3ef;color:#25665e;margin-top:3px;box-shadow:none}
.notification-page .notification-upcoming-events{padding:5px 24px 12px;border-top:1px solid var(--notice-line)}
.notification-page .notification-upcoming-events h2{font-size:18px;margin:18px 0 4px}
.notification-page .notification-history-row{padding:16px 0;gap:15px;align-items:center}
.notification-page .notification-history-icon{background:#ebf5f0;color:#267a70;font-size:19px;border:1px solid #dfede5;border-radius:12px;width:45px;height:48px}
.notification-page .notification-history-title{font-size:15px;line-height:1.45}
.notification-page .notification-history-meta{font-size:12px;line-height:1.5;margin:5px 0 0;color:#718580}
.notification-page .notification-history-actions{max-width:none;gap:6px}
.notification-page .notification-history-actions button{font-size:12px;min-height:36px;padding:7px 11px}
.notification-page .notification-delete{color:#a25959;border:1px solid transparent;background:#fff5f3}
.notification-selected-reminder{margin-top:24px}
.notification-page .notification-reminder{border:1px solid #bcdcd3;background:#fff;box-shadow:0 10px 32px #164e4010;padding:0;margin:0;border-radius:20px;overflow:hidden}
.notification-compose-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 24px;background:linear-gradient(110deg,#edf7f2,#f4f9f7);border-bottom:1px solid #dcebe4}
.notification-compose-head h3{font-size:22px;margin:5px 0 0;line-height:1.35}
.notification-compose-head>div{min-width:0}
.notification-compose-head>button{flex-shrink:0}
.notification-compose-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;padding:24px}
.notification-compose-fields{min-width:0}
.notification-page .notification-field{margin:0 0 18px;font-size:13px;color:#466761;font-weight:650;gap:7px;line-height:1.5}
.notification-page .notification-field input,.notification-page .notification-field textarea,.notification-page .notification-field select{border:1px solid #d0e0da;border-radius:11px;background:#fff;color:#214c46;font-size:15px;font-weight:400;line-height:1.6;min-height:44px;padding:11px 13px;box-shadow:0 1px 2px #173f3404}
.notification-page .notification-field textarea{min-height:145px}
.notification-page .notification-reminder-bots{gap:8px;margin:0 0 20px}
.notification-page .notification-channel{font-size:13px;gap:8px;min-height:40px;flex:0 1 auto;padding:8px 12px;border:1px solid #dce8e1;border-radius:10px;background:#f9fbfa}
.notification-page .notification-channel:has(input:checked){background:#e8f5ee;border-color:#c0dbce}
.notification-page .notification-channel input{width:18px;height:18px;flex-basis:18px;accent-color:#278878}
.notification-page .notification-channels{gap:8px;border:0;padding:0;margin:0 0 20px}
.notification-page .notification-channels legend{font-size:13px;margin-bottom:9px;padding:0;color:#466761}
.notification-visual{min-width:0;align-self:start;padding:16px;background:linear-gradient(150deg,#eef5f0,#e8f1ee);border:1px solid #dfebe3;border-radius:16px}
.notification-visual>.notification-eyebrow{margin:1px 0 13px;display:block}
.notification-page .notification-preview{padding:0;margin:0;background:#fff;border:0;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px #204f3810}
.notification-page .notification-preview>small,.notification-page .notification-preview>h3{display:none}
.notification-page .notification-preview>img,.notification-page .notification-preview>video{width:100%;max-height:320px;object-fit:contain;display:block;border-radius:0;margin:0;background:#f4f8f5}
.notification-page .notification-preview>audio{max-width:100%;margin:12px 0}
.notification-page .notification-preview>div{padding:4px 18px}
.notification-page .notification-preview>.notification-copy{padding:16px 18px;margin:0}
.notification-page .notification-preview .notification-copy{font-size:14px;line-height:1.8}
.notification-page .notification-preview>.notification-inline-link{display:block;margin:0 18px 20px;font-size:14px;color:#187c70;text-decoration-thickness:1px}
.notification-page .notification-preview>.notification-file{padding:0 18px 16px}
.notification-page .notification-reminder>.notification-message{margin:0;padding:18px 24px 0;font-size:13px;color:#4e7870;border-top:1px solid #e4eee7}
.notification-page .notification-reminder>.notification-actions{margin:0;padding:18px 24px 24px;justify-content:flex-end;gap:10px}
.notification-page .notification-reminder>.notification-actions button{flex:0 1 auto;min-width:155px}
.notification-page .notification-assistant{padding:0;border:1px solid #d6e6dc;background:#f4faf6;border-radius:13px;margin:18px 0}
.notification-page .notification-assistant>summary{padding:14px 15px;font-size:13px;line-height:1.5;cursor:pointer}
.notification-page .notification-assistant>textarea,.notification-page .notification-assistant>.notification-actions,.notification-page .notification-assistant>.notification-message,.notification-page .notification-assistant>.notification-chat-history,.notification-page .notification-assistant>.notification-ai-result{margin:12px;width:calc(100% - 24px)}
.notification-page .notification-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;background:white;border:1px solid #c6ded3;border-radius:20px;padding:24px;margin-top:24px;box-shadow:0 8px 24px #164e4008}
.notification-page .notification-form{max-width:none}
.notification-page .notification-form>p:first-child{margin:0 0 20px;color:#6d847e;font-size:13px}
.notification-page .notification-result{padding:14px;background:#f3f8f5;border:1px solid #deebe2}
.notification-page .notification-message{font-size:13px;line-height:1.7}
.notification-page .notification-delivery-row{padding:10px 0;font-size:12px}
.notification-page .notification-delivery-row p{margin:5px 0}
.notification-page .notification-note{font-size:12px;background:#f2f7f4;color:#6a847c;line-height:1.65}
.notification-page .notification-report-host{padding:0;margin-top:28px;background:white;border:1px solid var(--notice-line);border-radius:20px;overflow:hidden}
.notification-page .notification-analytics{padding:24px;border:0}
.notification-page .notification-report-host h2{font-size:22px;margin:0}
.notification-page .notification-report-row{padding:18px 0}
.notification-page .notification-report-row summary{font-size:15px}
.notification-page .notification-planned{padding:22px 24px;margin-top:22px;background:#fff;border:1px solid var(--notice-line);border-radius:18px}
.notification-page .notification-planned h2{font-size:19px}
.notification-page .notification-archive{margin:24px 0 0;padding:22px 24px;border:1px solid var(--notice-line);border-radius:18px;box-shadow:none}
.notification-page .notification-archive>summary{font-size:17px}
.notification-page [hidden]{display:none!important}
body:has(.notification-page) .topbar{padding-bottom:18px}
body:has(.notification-page) .topbar-actions{display:none}
body:has(.notification-page) .workspace>.admin-help-banner{display:none}
@media(max-width:900px){.notification-compose-body,.notification-page .notification-grid{gap:18px;padding:20px}.notification-page .notification-history-row{grid-template-columns:40px minmax(0,1fr)}.notification-page .notification-history-actions{grid-column:2;justify-content:flex-start}.notification-compose-head{padding:18px 20px}}
@media(max-width:650px){.notification-compose-body,.notification-page .notification-grid{grid-template-columns:1fr;padding:16px;gap:20px}.notification-page .notification-header{padding:0 0 18px}.notification-page .notification-header h2{font-size:27px}.notification-page .notification-header>button{width:auto}.notification-page .notification-font-control{width:100%}.notification-page .notification-calendar-host .calendar-panel{padding:15px 12px}.notification-page .calendar-help{display:none}.notification-page .calendar-day{min-height:58px;padding:2px}.notification-page .calendar-item{font-size:9px!important;padding:4px}.notification-page .notification-upcoming-events{padding:4px 16px 12px}.notification-compose-head{padding:16px;align-items:flex-start;flex-wrap:wrap}.notification-compose-head h3{font-size:20px}.notification-page .notification-reminder>.notification-message{padding:16px 16px 0}.notification-page .notification-reminder>.notification-actions{padding:16px;flex-direction:row}.notification-page .notification-reminder>.notification-actions button{min-width:0;flex:1}.notification-page .notification-analytics,.notification-page .notification-archive,.notification-page .notification-planned{padding:18px 16px}.notification-visual{padding:13px}.notification-page .notification-field input[type=file]{font-size:12px;overflow:hidden}.notification-page .notification-report-body table{min-width:540px}}
@media(prefers-reduced-motion:reduce){.notification-page button{transition:none}}

/* One visible page heading and one new-message action, including narrow panels. */
body:has(.notification-page) .topbar{display:none}
body:has(.notification-page) .workspace>.admin-help-toolbar{display:none}
.notification-page:has(.notification-selected-reminder:not([hidden]))>.notification-header>button.primary{display:none}

/* Reminder reply controls mirror the two durable Telegram actions. */
.notification-response-preview{display:grid;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid #dfebe5}
.notification-response-preview span{display:block;padding:11px 14px;border:1px solid #b6d9ce;border-radius:10px;background:#eff8f3;color:#206b61;text-align:center;font-size:14px;font-weight:650;line-height:1.45}
.notification-response-preview span:first-child{background:#277f73;border-color:#277f73;color:white}
.notification-page .notification-chat-history{display:grid;gap:12px;max-height:480px;overflow:auto;overscroll-behavior:contain}
.notification-page .notification-chat-history img{display:block;width:100%;height:auto;border-radius:12px}
.notification-page .notification-response-people p{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.notification-page .notification-response-people small{display:block;color:#607c74}

.notification-response-preview span:nth-child(3){color:#994d42;background:#fff6f2;border-color:#ead5cb}
.notification-response-preview span:last-child{background:white;color:#55776e}

.notification-participation-status{padding:12px 16px;border-radius:12px;background:#dff2e9;color:#17634f;font-weight:700;line-height:1.5;margin:18px 0 6px}
