
#hootag-notification-launcher{
 position:fixed;right:18px;bottom:18px;z-index:99990;
 width:48px;height:48px;border-radius:15px;border:1px solid rgba(117,151,161,.45);
 background:#284062;color:#fff;display:grid;place-items:center;
 box-shadow:0 10px 30px rgba(24,36,51,.22);cursor:pointer;font-size:20px;
}
#hootag-notification-launcher .count{
 position:absolute;right:-5px;top:-5px;min-width:20px;height:20px;padding:0 5px;
 border-radius:999px;background:#b42318;color:#fff;font:700 11px/20px system-ui;
 border:2px solid #fff;text-align:center;
}
#hootag-notification-panel{
 position:fixed;right:18px;bottom:76px;z-index:99991;
 width:min(430px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 100px));
 background:#fff;border:1px solid #d9e1e8;border-radius:18px;
 box-shadow:0 22px 60px rgba(24,36,51,.24);overflow:hidden;
 color:#243447;font-family:Inter,system-ui,-apple-system,sans-serif;
}
#hootag-notification-panel[hidden]{display:none!important}
.hn-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px 12px;border-bottom:1px solid #e8edf1}
.hn-head h3{margin:0;font-size:18px}
.hn-head small{display:block;color:#66788a;margin-top:2px}
.hn-actions{display:flex;gap:6px}
.hn-btn{border:1px solid #d9e1e8;background:#fff;color:#284062;border-radius:9px;padding:7px 9px;font-weight:700;cursor:pointer}
.hn-tabs{display:flex;gap:5px;padding:10px 12px;border-bottom:1px solid #edf1f4;overflow:auto}
.hn-tab{white-space:nowrap;border:0;background:#f4f7f9;color:#526579;border-radius:999px;padding:7px 10px;cursor:pointer}
.hn-tab.active{background:#284062;color:#fff}
.hn-body{overflow:auto;max-height:530px;padding:10px}
.hn-item{display:grid;grid-template-columns:10px minmax(0,1fr);gap:9px;padding:11px;border-radius:12px;border:1px solid #e8edf1;margin-bottom:7px;background:#fff}
.hn-item.unread{background:#f5f9fc;border-color:#cfdde7}
.hn-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;background:#7597a1}
.hn-item.success .hn-dot{background:#26844a}.hn-item.warning .hn-dot{background:#c87b16}
.hn-item h4{margin:0 0 3px;font-size:14px}.hn-item p{margin:0;color:#66788a;font-size:12px;line-height:1.45}
.hn-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}
.hn-meta small{color:#8998a7}.hn-link{color:#284062;font-weight:700;text-decoration:none;font-size:12px}
.hn-empty{padding:28px 16px;text-align:center;color:#66788a}
.hn-settings{padding:12px}
.hn-setting{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f4}
.hn-setting strong{display:block}.hn-setting small{color:#66788a}
.hn-switch{width:20px;height:20px}
.hn-pwa{margin-top:12px;padding:12px;border-radius:12px;background:#f5f8fa;border:1px solid #dfe7ec}
.hn-pwa h4{margin:0 0 5px}.hn-pwa p{font-size:12px;color:#66788a;margin:0 0 9px}
@media(max-width:700px){
 #hootag-notification-launcher{right:12px;bottom:12px}
 #hootag-notification-panel{right:8px;bottom:68px;width:calc(100vw - 16px);max-height:calc(100vh - 84px)}
 .hn-body{max-height:calc(100vh - 230px)}
}

.hn-pwa-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hn-pwa-title h4{margin:0 0 3px}.hn-pwa-title p{margin:0!important}
.hn-mini{border:0;background:transparent;color:#526579;font-size:18px;cursor:pointer;padding:4px 6px}
.hn-state{display:block;margin-top:10px;padding:9px 10px;border-radius:10px;font-size:12px;line-height:1.4}
.hn-state.success{background:#edf8f1;color:#267244;border:1px solid #cfe8d8}
.hn-state.ready{background:#eef5ff;color:#275b8b;border:1px solid #d3e3f2}
.hn-state.info{background:#f7f9fb;color:#5d7083;border:1px solid #e0e7ec}
.hn-cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.hn-cap{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;background:#fff;border:1px solid #e2e8ed;font-size:11px}
.hn-cap b.yes{color:#267244}.hn-cap b.no{color:#8b5b1b}
.hn-push-help{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding-top:10px;border-top:1px solid #e2e8ed}
.hn-push-help strong{font-size:12px}.hn-push-help span{font-size:11px;color:#66788a;line-height:1.45}
.hn-pwa-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.hn-btn.primary{background:#284062;color:#fff;border-color:#284062}
.hn-guide-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(26,38,52,.44);display:grid;place-items:center;padding:16px}
.hn-guide{width:min(520px,100%);background:#fff;color:#243447;border:1px solid #d9e1e8;border-radius:18px;box-shadow:0 24px 70px rgba(24,36,51,.28);padding:18px}
.hn-guide-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.hn-guide-head h3{margin:0;font-size:18px}
.hn-guide p{color:#66788a;line-height:1.6;font-size:13px}.hn-guide-actions{display:flex;justify-content:flex-end;margin-top:14px}
@media(max-width:700px){.hn-cap-grid{grid-template-columns:1fr}.hn-pwa-actions{flex-direction:column}.hn-pwa-actions .hn-btn{width:100%}}

/* CP04 Candidate 24 · manual center + delivery outbox */
.hn-compose{display:grid;gap:11px;padding:4px}
.hn-compose>label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#526579}
.hn-compose input,.hn-compose select,.hn-compose textarea{width:100%;border:1px solid #cfd9e1;border-radius:10px;background:#fff;color:#243447;padding:10px 11px;font:inherit}
.hn-compose textarea{min-height:105px;resize:vertical}
.hn-compose fieldset{border:1px solid #dfe7ec;border-radius:11px;padding:10px}
.hn-compose legend{font-size:12px;font-weight:800;color:#526579;padding:0 5px}
.hn-check{display:flex!important;align-items:center;gap:7px!important;font-size:12px!important;font-weight:600!important;margin:5px 0}
.hn-check input{width:18px!important;height:18px!important}
.hn-compose-note{font-size:11px;line-height:1.5;color:#66788a;background:#f5f8fa;border:1px solid #e0e7ec;border-radius:10px;padding:9px}
.hn-compose-actions{display:flex;justify-content:flex-end}
.hn-inline-success,.hn-inline-error{margin-top:5px;padding:9px 10px;border-radius:9px;font-size:12px}
.hn-inline-success{background:#edf8f1;color:#267244;border:1px solid #cfe8d8}
.hn-inline-error{background:#fff2f0;color:#9c2f23;border:1px solid #f0cfc9}
.hn-del-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.hn-del-head small{display:block;color:#66788a;margin-top:2px}
.hn-delivery{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 9px;padding:10px 11px;border:1px solid #e2e8ed;border-radius:11px;margin-bottom:7px}
.hn-delivery small{display:block;color:#7a8a99;margin-top:2px}.hn-delivery p{grid-column:1/-1;margin:0;color:#7b5a32;font-size:11px}
.hn-del-status{align-self:start;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800;background:#eef2f5;color:#526579}
.hn-del-status.delivered{background:#edf8f1;color:#267244}.hn-del-status.failed{background:#fff2f0;color:#9c2f23}.hn-del-status.queued{background:#fff8e9;color:#9a671d}
@media(max-width:700px){.hn-del-head{align-items:flex-start;flex-direction:column}.hn-del-head .hn-btn{width:100%}}

/* CP04 Candidate 25 · Push activation state feedback */
.hn-push-help small{
 display:block;margin-top:5px;color:#7a8a99;font-size:10px;line-height:1.45;
}
.hn-btn:disabled{
 opacity:.58;cursor:not-allowed;
}

.hn-field-help{font-size:10px;color:#7a8a99;font-weight:500}
.hn-batch-summary{margin:0 0 9px;padding:9px 10px;border-radius:9px;background:#edf8f1;color:#267244;border:1px solid #cfe8d8;font-size:11px;line-height:1.45}
.hn-runs{margin:0 0 10px;border:1px solid #e2e8ed;border-radius:10px;padding:8px 10px;background:#fafcfd}
.hn-runs summary{cursor:pointer;font-size:11px;font-weight:800;color:#526579}
.hn-run{display:grid;grid-template-columns:auto repeat(4,1fr);gap:5px;margin-top:7px;font-size:10px;color:#66788a}
.hn-del-status.processing{background:#eef5ff;color:#275b8b}
@media(max-width:700px){.hn-run{grid-template-columns:1fr 1fr}.hn-run span:first-child{grid-column:1/-1}}

/* CP04 Candidate 28 · contextual notification destinations */
.hn-destination-box{display:grid;gap:9px;padding:11px;border:1px solid #dfe7ec;border-radius:12px;background:#f8fafb}
.hn-destination-box>strong{font-size:12px;color:#34495e}
.hn-destination-box>small{font-size:10px;color:#718294;line-height:1.45;margin-top:-5px}
.hn-destination-box label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#526579}
.hn-destination-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border-radius:9px;background:#fff;border:1px solid #dfe7ec}
.hn-destination-preview span{font-size:10px;color:#7a8a99}.hn-destination-preview strong{font-size:11px;color:#284062;text-align:right}

/* CP04 Candidate 30 · assisted sharing fallbacks */
.hn-fallback-actions{display:grid;gap:9px;padding:11px;border:1px solid #dfe7ec;border-radius:12px;background:#f8fafb}
.hn-fallback-status{display:grid;gap:3px}.hn-fallback-status strong{font-size:12px;color:#34495e}.hn-fallback-status small{font-size:10px;color:#718294;line-height:1.45}
.hn-fallback-buttons{display:flex;gap:7px;flex-wrap:wrap}.hn-fallback-buttons .hn-btn{font-size:10px;text-decoration:none}

/* CP04 Candidate 31 · automation runtime */
.hn-auto-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.hn-auto-head>div:first-child{display:grid;gap:2px}.hn-auto-head strong{font-size:13px}.hn-auto-head small{font-size:10px;color:#718294}
.hn-auto-actions{display:flex;gap:6px;flex-wrap:wrap}.hn-auto-help{font-size:10px;color:#718294;line-height:1.5;margin:0 0 9px}
.hn-auto-rule{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf1f4}
.hn-auto-rule:last-child{border-bottom:0}.hn-auto-rule>span{display:grid;gap:2px}.hn-auto-rule strong{font-size:11px;color:#34495e}.hn-auto-rule small{font-size:9px;color:#7a8a99}
.hn-auto-job{display:grid;grid-template-columns:auto 1fr auto auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f4;font-size:10px;color:#66788a}
.hn-auto-job strong{font-size:10px;color:#34495e}.hn-auto-job p{grid-column:1/-1;margin:0;font-size:9px;color:#a06732}
@media(max-width:700px){.hn-auto-job{grid-template-columns:auto 1fr}.hn-auto-job small{grid-column:1/-1}}

/* CP04 Candidate 31 R1 · native fifth tab + robust Preferences */
#hootag-notification-panel .hn-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#hootag-notification-panel .hn-tabs::-webkit-scrollbar{display:none}
#hootag-notification-panel .hn-tabs .hn-tab{flex:0 0 auto;white-space:nowrap}

/* CP04 Candidate 32 · digest preferences */
.hn-digest-pref{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 10px;margin:0 0 9px;border:1px solid #dfe7ec;border-radius:10px;background:#f8fafb}
.hn-digest-pref>.hn-auto-rule{flex:1 1 230px;border:0;padding:0}
.hn-digest-pref>label:not(.hn-auto-rule){display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#526579}
.hn-digest-pref input[type="time"]{border:1px solid #d8e1e7;border-radius:8px;padding:6px 8px;background:#fff;color:#34495e}

/* CP04 Candidate 34 · release certification */
.hn-cert-card{margin-top:8px;border:1px solid #dfe7ec;border-radius:12px;background:#fff;overflow:hidden}
.hn-cert-summary{padding:10px 12px;background:#f7fafc;border-bottom:1px solid #e7edf1;display:flex;flex-direction:column;gap:2px}
.hn-cert-summary strong{font-size:12px;color:#1f3448}
.hn-cert-summary small{font-size:10px;color:#6f8190}
.hn-cert-row{display:grid;grid-template-columns:20px 1fr auto;gap:7px;align-items:center;padding:8px 12px;border-top:1px solid #edf1f4}
.hn-cert-row:first-of-type{border-top:0}
.hn-cert-row span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:10px}
.hn-cert-row strong{font-size:11px;color:#33485d}
.hn-cert-row small{text-transform:uppercase;font-size:9px;font-weight:800}
.hn-cert-row.pass span{background:#e9f8ef;color:#1d7a46}.hn-cert-row.pass small{color:#1d7a46}
.hn-cert-row.warning span{background:#fff4dd;color:#9a6816}.hn-cert-row.warning small{color:#9a6816}
.hn-cert-row.fail span{background:#fdecec;color:#a83f3f}.hn-cert-row.fail small{color:#a83f3f}

/* CP04 Candidate 34 R1 · persistent operation feedback */
.hn-auto-result-top{margin:8px 0 10px;min-height:0}
.hn-auto-result-top:empty{display:none}
.hn-auto-result-top .hn-batch-summary,
.hn-auto-result-top .hn-inline-success,
.hn-auto-result-top .hn-inline-error,
.hn-auto-result-top .hn-cert-card{margin:0}
