/* Shared announcement editor and popup preview. */
.notice-editor h4{margin:24px 0 18px;font-size:16px}.notice-editor-row{display:grid;grid-template-columns:minmax(80px,130px) minmax(0,1fr);gap:12px;align-items:center;margin:16px 0}.notice-editor-row>span:first-child{color:#697586}.notice-editor-row input:not([type=radio]):not([type=color]),.notice-editor-row textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #dbe3ed;border-radius:5px;font:inherit}.notice-editor-row textarea{resize:vertical}.notice-editor-color{display:flex;gap:8px;align-items:center}.notice-editor-color input[type=color]{width:42px;height:38px}.notice-editor-count{position:relative}.notice-editor-count input{padding-right:42px!important}.notice-editor-count small{position:absolute;right:10px;top:10px;color:#7d8998}.notice-editor-image{width:72px;height:72px;border:1px dashed #cbd5e1;background:white;cursor:pointer;color:#64748b}.notice-editor-image img{width:100%;height:100%;object-fit:contain}.notice-popup-mask{position:fixed;inset:0;background:#0008;display:grid;place-items:center;z-index:3000}.notice-popup-dialog{background:white;border-radius:8px;width:min(1000px,94vw);max-height:90vh;overflow:auto;padding:20px}.notice-popup-dialog header,.notice-popup-dialog footer{display:flex;justify-content:space-between;align-items:center}.notice-popup-dialog footer{justify-content:flex-end;gap:8px}.notice-popup-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.2fr);gap:30px}.notice-popup-preview{background:#808080;min-height:360px;border-radius:32px;display:grid;place-items:center;padding:24px}.notice-popup-card{width:100%;background:white}.notice-popup-header{position:relative;background:#ff4544;color:white;text-align:center;min-height:48px;display:grid;place-items:center;overflow:hidden}.notice-popup-header img{width:100%;max-height:90px;object-fit:cover}.notice-popup-header strong{position:absolute}.notice-popup-card p{padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}.notice-popup-card button{display:block;margin:12px auto;border:0;cursor:pointer}.notice-popup-fields{min-width:0}@media(max-width:700px){.notice-popup-layout{grid-template-columns:1fr}.notice-popup-preview{min-height:220px}.notice-editor-row{grid-template-columns:90px minmax(0,1fr)}}

.notice-preview-bar{display:flex;align-items:center;gap:8px;min-width:0}.notice-preview-bar img{width:24px;height:24px;object-fit:contain}.notice-preview-bar strong,.notice-preview-bar b{flex:none}.notice-preview-bar span{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

.notice-popup-mask ~ .gallery-picker-mask{z-index:3100}

.notice-editor-range{display:flex;gap:8px;align-items:center}.notice-editor-range input[type=range]{flex:1;min-width:0}.notice-editor-range input[type=number]{width:76px!important}.notice-editor-range em{font-style:normal;color:#7d8998}

.notice-editor-image-group{display:flex;align-items:center;gap:8px}
