/* Announcement-only visual language aligned with notification center. No workflow overrides. */
body.ann-style{--ann-ink:#16324e;--ann-muted:#657d92;--ann-border:#cddde9;--ann-band:#eaf1f7;color:var(--ann-ink)}
body.ann-style .work-main{background:#fff!important;padding:22px 26px!important;min-width:0}
body.ann-style .work-topbar{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 22px!important;min-height:36px}
body.ann-style .work-main h1{font-size:26px!important;line-height:1.35;margin:0!important}
body.ann-style #work-app .work-main button,body.ann-style #announcement-workbench button,.announcement-preview-dialog :is(button,a){font-family:inherit!important;font-size:13px!important;line-height:1.35!important;min-height:32px!important;padding:6px 12px!important;border:1px solid #cddde9!important;border-radius:4px!important;background:#fff!important;color:#16324e!important;box-shadow:none!important;text-shadow:none!important;white-space:nowrap!important;word-break:keep-all!important;flex-shrink:0!important;width:auto;min-width:max-content;transform:none!important}
body.ann-style #work-app .work-main button:disabled,body.ann-style #announcement-workbench button:disabled{background:#f0f3f6!important;color:#657d92!important;border-color:#e0e6eb!important;opacity:1!important}
body.ann-style #work-app .work-main button:hover:not(:disabled),body.ann-style #announcement-workbench button:hover:not(:disabled){background:#eff5fa!important}
body.ann-style .work-main :is(input:not([type=file]),select,textarea){font-family:inherit!important;font-size:13px!important;border:1px solid var(--ann-border)!important;border-radius:4px!important;background:white!important;color:var(--ann-ink)!important;box-shadow:none!important;min-height:33px;max-width:100%;box-sizing:border-box}
body.ann-style .work-main :is(button,input,select,textarea):focus-visible,.announcement-preview-dialog :is(button,a):focus-visible{outline:2px solid #2978cb!important;outline-offset:2px}
body.ann-style #work-app button[type=submit],body.ann-style #announcement-workbench .awb-search button:not([type=button]){background:#0754b4!important;color:white!important;border-color:#0754b4!important}
body.ann-style #announcement-workbench .awb-tabs button{border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;min-height:40px!important;padding:8px 14px!important;font-weight:600}
body.ann-style #announcement-workbench .awb-tabs button.active{background:#eaf2fa!important;border-bottom-color:#0754b4!important;color:#0754b4!important}
body.ann-style #announcement-workbench .awb-search button{min-width:72px}
body.ann-style .awb-controls .announcement-read-controls{flex-wrap:nowrap!important}
body.ann-style .awb-columns,body.ann-style .awb-row{grid-template-columns:40px minmax(250px,1fr) 155px 100px 220px}
body.ann-style .awb-table{min-width:1015px}
body.ann-style .awb-title{margin-bottom:22px}
body.ann-style .awb-tools input[type=date]{width:145px;flex:0 0 145px}
body.ann-style .awb-tools select{min-width:140px;flex-shrink:0}
body.ann-style .announcement-split{gap:18px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
body.ann-style .announcement-split>section{padding:0;border:0;border-radius:0;background:transparent}
body.ann-style .announcement-split>section>header{background:var(--ann-band);min-height:36px;padding:8px 12px;margin:0 0 12px}
body.ann-style .announcement-split h2{font-size:14px;margin:0}
body.ann-style #announcement-search-form{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin:12px 0!important;padding:0!important}
body.ann-style #announcement-search-form label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px;flex:0 0 auto!important;min-width:0!important;margin:0!important;font-size:12px;white-space:nowrap}
body.ann-style #announcement-search-form select{width:auto!important;min-width:115px!important;max-width:100%;height:33px}
body.ann-style #announcement-search-form label:has(#announcement-search){flex:1 1 180px!important;min-width:180px!important}
body.ann-style #announcement-search{width:100%!important;min-width:180px!important;height:33px}
body.ann-style #announcement-search-form button{min-width:70px!important;margin:0!important}
body.ann-style .announcement-split .announcement-upload{padding-bottom:12px;border-bottom:1px solid #dce5ed;margin-bottom:10px;gap:10px;align-items:flex-end}
body.ann-style .announcement-split .announcement-upload label{gap:5px;font-size:12px;min-width:0}
body.ann-style #announcement-upload-category{min-width:115px!important;width:auto!important}
body.ann-style .instant-notice-row{min-height:45px;padding:7px 0;gap:8px}
body.ann-style .instant-title>a{font-size:13px;font-weight:550}
body.ann-style .instant-title>small{font-size:12px;color:var(--ann-muted);margin-top:2px}
body.ann-style #instant-dropzone{border:1px dashed #b9cddd;border-radius:4px;background:#fbfdff;padding:0 10px;min-height:180px}
body.ann-style .instant-index{font-size:12px;min-width:24px;font-variant-numeric:tabular-nums}
body.ann-style .instant-live{background:#e8f3ed;color:#2e6a4e;border-radius:3px;padding:3px 6px}
body.ann-style .announcement-pagination{justify-content:flex-end;border-top:1px solid #dce5ed;margin-top:10px;padding:10px 0!important;font-size:12px}
body.ann-style .announcement-pagination button{min-width:76px!important}
body.ann-style #department-columns{display:block!important;width:100%;max-width:none}
body.ann-style #department-columns .department-column{margin:0 0 20px;width:100%}
body.ann-style #department-columns h3{display:flex;align-items:center;background:var(--ann-band);font-size:14px;border:0;margin:0 0 8px;padding:9px 12px;min-height:36px}
body.ann-style .department-search{display:flex!important;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:16px 0!important}
body.ann-style .department-search label{display:flex;flex-direction:column;gap:5px;font-size:12px;flex:0 0 auto;margin:0!important}
body.ann-style .department-search label:first-child{flex:1 1 240px;min-width:200px}
body.ann-style .department-search input{width:100%;height:34px}
body.ann-style .department-search input[type=date]{width:145px!important}
body.ann-style .department-search button{min-width:76px!important;margin:0!important}
body.ann-style #department-columns .department-notice{display:flex!important;align-items:center;gap:10px;padding:8px 10px;min-height:45px;flex-wrap:wrap;border-bottom:1px solid #dbe5ee}
body.ann-style #department-columns .department-notice>.notice-number{flex:0 0 34px;font-size:12px}
body.ann-style #department-columns .department-notice>p{flex:1 1 240px!important;min-width:200px!important;max-width:none!important;display:block!important;white-space:pre-wrap!important;overflow:visible!important;text-overflow:clip!important;font-size:13px;line-height:1.5;margin:0!important}
body.ann-style #department-columns .department-notice>small{flex:0 1 185px!important;min-width:140px;font-size:12px;color:var(--ann-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ann-style #department-columns .announcement-read-controls{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0!important}
body.ann-style #department-columns .announcement-read-message{display:none}
body.ann-style #department-columns .department-composer{border:1px solid #d8e4ee;background:#fff;border-radius:4px;margin:8px 0;padding:0}
body.ann-style #department-columns .department-composer>summary{padding:9px 12px;cursor:pointer;font-size:13px;font-weight:600}
body.ann-style #department-columns .department-composer form{padding:0 12px 12px;margin:0;max-width:none;display:grid;gap:10px}
body.ann-style #department-columns textarea{width:100%;min-height:110px;resize:vertical}
body.ann-style .department-form-actions{display:flex;gap:8px;justify-content:flex-end}
body.ann-style .notice-lifetime{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.ann-style .notice-lifetime select{min-width:145px;width:auto}
body.ann-style .notice-archive{margin:10px 0;font-size:12px}
body.ann-style .notice-archive>summary{padding:6px 0;cursor:pointer}
body.ann-style .ann-rules{font-size:12px;color:var(--ann-muted);margin:0 0 12px}
body.ann-style .ann-rules>summary{cursor:pointer;width:max-content}
body.ann-style .ann-rules p{font-size:12px;line-height:1.6;max-width:900px}
.announcement-preview-dialog{border-radius:6px!important;color:#16324e!important}
.announcement-preview-dialog .announcement-preview-head{padding:10px 14px!important;gap:8px!important;background:#fff!important}
.announcement-preview-dialog .announcement-preview-head h2{font-size:17px!important;line-height:1.4!important;margin:0!important}
.announcement-preview-dialog .announcement-preview-head a{text-decoration:none!important;display:inline-flex;align-items:center}
.announcement-preview-dialog .announcement-preview-head button{min-width:70px!important}
.announcement-preview-dialog .announcement-pdf-toolbar{gap:8px}
@media(max-width:900px){body.ann-style .announcement-split{grid-template-columns:1fr}body.ann-style .announcement-split-right{grid-row:auto}body.ann-style .work-main{padding:16px!important}body.ann-style #department-columns .department-notice>p{flex-basis:calc(100% - 50px)!important}body.ann-style #department-columns .department-notice>small{margin-left:44px}}
body.ann-style #department-columns .department-column{padding:0!important;border:0!important;background:transparent!important;margin:0 0 18px!important}
body.ann-style #department-columns .department-notices{margin:0!important;padding:0!important}
body.ann-style #department-columns .department-composer form{border:0!important;border-radius:0!important;box-shadow:none!important}
body.ann-style .department-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:8px 0!important;padding:0!important;min-height:22px}
body.ann-style .department-pagination>span{flex:0 0 auto!important;margin-right:auto;font-size:12px}
body.ann-style .department-pagination:has(button:first-child:disabled):has(button:last-child:disabled) button{display:none!important}
body.ann-style .work-main [hidden],.announcement-preview-dialog [hidden]{display:none!important}
body.ann-style input[type=file]::file-selector-button{font:inherit;font-size:13px;min-height:32px;min-width:110px;padding:6px 12px;margin-right:8px;border:1px solid #cddde9;border-radius:4px;background:white;color:#16324e;box-shadow:none;white-space:nowrap;cursor:pointer}
.announcement-preview-dialog .announcement-preview-toolbar{background:#edf3f8;border-bottom:1px solid #dce5ed}
.announcement-preview-dialog .announcement-preview-toolbar [data-prev],.announcement-preview-dialog .announcement-preview-toolbar [data-next]{min-width:76px!important}
body.ann-style #department-columns .department-composer{max-width:none!important;width:100%!important}
.oa-ui dialog.announcement-preview-dialog.announcement-preview-dialog :is(button,a){font:inherit!important;font-size:13px!important;min-height:32px!important;min-width:max-content!important;width:auto!important;max-width:none!important;height:auto!important;padding:6px 12px!important;border:1px solid #cddde9!important;border-radius:4px!important;background:#fff!important;color:#16324e!important;box-shadow:none!important;white-space:nowrap!important;transform:none!important}
.oa-ui dialog.announcement-preview-dialog.announcement-preview-dialog button[data-preview-close]{min-width:70px!important}
.oa-ui dialog.announcement-preview-dialog.announcement-preview-dialog :is([data-prev],[data-next]){min-width:76px!important}
.oa-ui dialog.announcement-preview-dialog.announcement-preview-dialog button:disabled{background:#f0f3f6!important;color:#657d92!important;opacity:1!important}
/* Department managers work in a bounded notice card, not a full-width banner. */
body.ann-style #department-columns{max-width:820px!important}
body.ann-style #department-columns .department-column{box-sizing:border-box;width:100%!important;max-width:820px!important;border:1px solid #d7e2ec!important;border-radius:6px!important;background:#fff!important;padding:14px!important;margin:0 0 16px!important}
body.ann-style #department-columns h3{background:transparent!important;font-size:15px!important;min-height:0!important;padding:0 0 10px!important;margin:0 0 6px!important;border-bottom:1px solid #e0e8ef!important}
body.ann-style #department-columns .department-notice{padding:9px 0!important}
body.ann-style .department-search{max-width:820px!important}
body.ann-style #department-columns .department-composer{border:0!important;margin:10px 0!important}
body.ann-style #department-columns .department-composer>summary{box-sizing:border-box;width:max-content!important;padding:7px 12px!important;border:1px solid #cddde9;border-radius:4px;font-size:13px;min-height:32px}
body.ann-style #department-columns .department-composer form{padding:12px 0 0!important}
body.ann-style #company-text-management-link{font-size:13px;text-decoration:none;border:1px solid #cddde9;padding:7px 12px;border-radius:4px;white-space:nowrap;min-width:max-content;color:#16324e;background:#fff;margin-left:auto}
/* Same restrained boundaries as notification center. */
body.ann-style{background:#eef2f6!important}
body.ann-style .work-main{border:1px solid #cad6e1!important;border-radius:6px!important;background:#fff!important;margin:12px!important;padding:20px!important}
body.ann-style .awb-search,body.ann-style .department-search{background:#f7f9fb;border:1px solid #d8e2eb;border-radius:4px;padding:12px;box-sizing:border-box}
body.ann-style .awb-tabs{background:#f5f8fb;border:1px solid #d8e2eb;border-bottom:1px solid #bacbdc;border-radius:4px 4px 0 0}
body.ann-style .awb-scroll{border:1px solid #cddae5;border-radius:4px;padding:0}
body.ann-style .announcement-split>section{border:1px solid #cddae5!important;border-radius:5px!important;padding:12px!important;background:#fff!important}
body.ann-style .announcement-split>section>header{margin:-12px -12px 12px!important;border-bottom:1px solid #cddae5;background:#eaf0f6!important;border-radius:4px 4px 0 0}
body.ann-style #announcement-search-form{background:#f7f9fb;padding:10px!important;border:1px solid #d8e2eb;border-radius:4px}
body.ann-style .instant-notice-row{padding:8px 4px;border-bottom:1px solid #dde5ed}
body.ann-style #department-columns .department-column{border-color:#c5d4e1!important}
@media(max-width:700px){body.ann-style .work-main{margin:6px!important;padding:12px!important}}
