.ct-section{margin:18px 0;padding:16px;border:1px solid #dce7e1;border-radius:12px;background:#fff}
.ct-stack,.ct-source{list-style:none;margin:0;padding:0}
.ct-stack{display:grid;gap:8px;margin-block:12px}
.ct-row,.ct-cards article{border:1px solid #dce7e1;border-radius:12px;background:#fff;padding:12px;min-width:0;overflow-wrap:anywhere}
.ct-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ct-row p,.ct-cards p,.ct-source{font-size:.9rem;margin:4px 0;color:#4a6358}
.ct-source li{margin-block:3px}
.ct-chip{display:inline-flex;padding:3px 9px;border-radius:20px;background:#eaf4ef;color:#07563f;font-size:.8rem;font-weight:700}
.ct-chip.is-revoked{color:#9d272a;background:#fae9e7}
.ct-section summary{cursor:pointer}
.ct-mail h3{margin-block:20px 8px}
.ct-mail h4,.ct-dialog h3{margin:5px 0}
.ct-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr));gap:12px}
.ct-cards small{color:#4a6358}
.ct-actions,.ct-counts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-block:8px}
.ct-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid #dce7e1;border-radius:16px;color:#132921;background:#fff;animation:ct-open .18s ease-out}
.ct-dialog::backdrop{background:#081f1880}
.ct-dialog>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-bottom:1px solid #dce7e1;padding:10px 16px;z-index:1}
.ct-dialog-body,.ct-status{padding-inline:16px}
.ct-dialog-body{padding-block:12px}
.ct-dialog label:not(.ct-check){display:grid;gap:4px;margin-bottom:10px;font-weight:700}
.ct-dialog input:not([type=checkbox]),.ct-dialog select,.ct-dialog textarea{width:100%;box-sizing:border-box;padding:9px;border-radius:8px;border:1px solid #b9ccc2;font:inherit;font-size:16px;background:#fff;color:inherit}
.ct-check{display:flex;gap:8px;align-items:center;padding:6px 0}
.ct-check input{accent-color:#08654e;width:18px;height:18px;flex:none}
.ct-recipient{border-bottom:1px solid #e6eee9;overflow-wrap:anywhere}
.ct-search{display:flex;gap:8px;align-items:end;margin-bottom:8px}
.ct-search label{flex:1;margin:0!important}
.ct-dialog iframe{width:100%;height:min(430px,56dvh);border:1px solid #dce7e1;border-radius:10px;margin:10px 0;display:block}
.ct-audience{max-height:16rem;overflow:auto}
@keyframes ct-open{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ct-dialog{animation:none}}
.ct-theme{display:flex;gap:6px;justify-content:flex-end;margin-block:10px 0}
.ct-theme [aria-pressed=true]{background:#075843;color:white;border-color:#075843}
.ct-recipient select[hidden]{display:none}
.ct-recipient select{margin-bottom:8px}
.ct-editor-section{min-inline-size:0;margin:12px 0;padding:12px;border:1px solid #dce7e1;border-radius:10px}
.ct-editor-section legend{padding-inline:6px;font-weight:700}
.ct-form [hidden]{display:none}
