.tenant-news-main{min-width:0;width:100%;padding:24px 16px 96px;color:var(--hub-text);font:14px/1.45 Inter,sans-serif;box-sizing:border-box}
.tenant-news-main *,.news-menu *{box-sizing:border-box}
.news-stack{display:grid;gap:20px;min-width:0}
.news-back-row{display:flex;justify-content:flex-end}
.news-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.news-heading h1{font-size:30px;line-height:1.2;font-weight:800;margin:4px 0 8px}
.news-heading p{margin:0;color:var(--hub-secondary)}
.news-heading .tenant-edit-eyebrow{color:var(--hub-primary)}
.news-icon{flex-shrink:0}
.news-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--hub-border);border-radius:8px;font:600 14px/20px Inter,sans-serif;text-decoration:none;cursor:pointer}
.news-primary{background:var(--hub-primary);color:var(--hub-color-on-primary)}
.news-primary:hover{background:#6aea98}
.news-cancel{background:rgba(127,29,29,.15);border-color:rgba(248,113,113,.45);color:#fecaca}
.news-button:disabled{opacity:.55;cursor:wait}
.tenant-news-main :focus-visible,.news-menu :focus-visible{outline:2px solid var(--hub-primary);outline-offset:3px}
.news-table-section{min-width:0;border:1px solid var(--hub-border);border-radius:12px;background:var(--hub-surface);overflow:hidden}
.news-table-scroll{max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--hub-border) var(--hub-surface)}
.news-table{width:100%;min-width:850px;border-collapse:collapse;text-align:left;font-size:12px}
.news-table th{padding:12px;color:var(--hub-primary);background:var(--hub-elevated);font-size:11px;font-weight:700}
.news-table td{padding:12px;border-top:1px solid var(--hub-border);vertical-align:middle}
.news-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--hub-surface) 75%,var(--hub-elevated))}
.news-table th:first-child,.news-table td:first-child,.news-table th:last-child,.news-table td:last-child{width:64px}
.news-title-cell{width:29%;min-width:180px;overflow-wrap:anywhere}
.news-slug-cell{width:23%;min-width:160px;overflow-wrap:anywhere;color:var(--hub-secondary)}
.news-date-cell{white-space:nowrap}
.news-status{display:inline-flex;border:1px solid var(--hub-border);border-radius:6px;padding:3px 8px;font-size:11px;white-space:nowrap}
.news-status--published{color:#a7f3d0;background:#064e3b}
.news-status--draft{color:#fde68a;background:#422006}
.news-status--inactive{color:var(--hub-secondary);background:var(--hub-control)}
.news-unavailable{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--hub-secondary);opacity:.5}
.news-menu{position:fixed;z-index:100;min-width:180px;max-width:calc(100vw - 16px);padding:6px;border:1px solid var(--hub-border);border-radius:8px;background:var(--hub-surface);color:var(--hub-text);box-shadow:0 10px 30px #0008;font:14px/1.4 Inter,sans-serif}
.news-menu[hidden]{display:none}
.news-menu a,.news-menu button{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;padding:8px 12px;text-align:left;border:0;border-radius:6px;text-decoration:none;background:transparent;color:inherit;font:inherit;cursor:pointer}
.news-menu a:hover,.news-menu button:hover{background:var(--hub-elevated)}
.news-menu .news-danger{color:var(--hub-danger)}
.news-muted{color:var(--hub-secondary);font-size:12px;font-weight:400;margin:0}
.news-timezone{font-size:11px}
.news-empty{height:140px;text-align:center;color:var(--hub-secondary)}
.news-message{padding:12px 16px;border:1px solid var(--hub-border);border-radius:8px}
.news-success{background:#064e3b;color:#a7f3d0}
.news-error{background:#450a0a;color:#fecaca;border-color:#7f1d1d}
.news-dialog{position:fixed;inset:16px;width:calc(100% - 32px);max-width:1280px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;margin:auto;border:1px solid var(--hub-border);border-radius:12px;background:var(--hub-surface);color:var(--hub-text);overflow:hidden}
.news-dialog::backdrop{background:#06130dc9}
.news-dialog[open]{display:flex;flex-direction:column}
.news-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--hub-border);flex-shrink:0}
.news-dialog-header h2{margin:0;font-size:20px;line-height:1.2;font-weight:700}
.news-dialog form{display:flex;flex-direction:column;min-height:0;flex:1}
.news-editor-scroll{overflow:auto;overscroll-behavior:contain;padding:20px;display:grid;gap:16px;min-height:0;flex:1;scrollbar-width:thin}
.news-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start}
.news-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;min-width:0}
.news-wide{grid-column:1/-1}
.news-field input:not([type=checkbox]):not([type=hidden]),.news-field textarea{width:100%;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--hub-border);border-radius:8px;background:var(--hub-control);color:var(--hub-text);font:400 14px/1.45 Inter,sans-serif}
.news-field textarea{resize:vertical}
.news-field input[type=file]{overflow:hidden;font-size:12px}
.news-field input::placeholder{color:var(--hub-secondary)}
.news-checkbox{display:flex;gap:8px;align-items:center;min-height:44px}
.news-checkbox input{accent-color:var(--hub-primary)}
.news-cover-preview{max-width:100%;height:auto;max-height:180px;object-fit:cover;align-self:flex-start;border-radius:8px}
.news-field textarea[hidden]{display:none}
.news-rich-editor{min-width:0;border:1px solid var(--hub-border);border-radius:10px;background:var(--hub-surface);overflow:hidden}
.news-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:4px 6px;border-bottom:1px solid var(--hub-border)}
.news-rich-command{display:inline-flex;justify-content:center;align-items:center;min-width:36px;min-height:36px;padding:4px;border:0;border-radius:6px;background:transparent;color:var(--hub-text);font:400 14px/1.45 Inter,sans-serif;cursor:pointer}
.news-rich-command:hover{background:var(--hub-elevated)}
.news-rich-command-bold{font-weight:700}.news-rich-command-italic{font-style:italic}.news-rich-command-underline{text-decoration:underline;text-underline-offset:3px}
.news-rich-toolbar select{min-height:36px;max-width:110px;padding:4px 8px;border:1px solid transparent;border-radius:6px;background:var(--hub-surface);color:var(--hub-text);font:400 14px/1.45 Inter,sans-serif}
.news-rich-input{min-height:110px;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font:400 14px/1.45 Inter,sans-serif;color:var(--hub-text);outline:none}
[data-news-rich]:has([name=body_text]) .news-rich-input{min-height:250px}
.news-rich-input:focus{outline:2px solid var(--hub-primary);outline-offset:-2px}
.news-rich-input p,.news-rich-content p{margin:0 0 8px}
.news-rich-input ul,.news-rich-content ul{list-style:disc;padding-left:24px}
.news-rich-input ol,.news-rich-content ol{list-style:decimal;padding-left:24px}
.news-rich-input [data-size=small],.news-rich-content [data-size=small]{font-size:.85em}
.news-rich-input [data-size=large],.news-rich-content [data-size=large]{font-size:1.25em}
.news-rich-error{margin:0;padding:8px 12px;color:#fecaca;background:#450a0a;font-weight:400}
.news-rich-content{overflow-wrap:anywhere}.article-body.news-rich-content{white-space:normal}
.news-editor-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--hub-border);background:var(--hub-surface);flex-shrink:0}
body:has(.news-dialog[open]){overflow:hidden}
@media(max-width:639px){.tenant-news-main{padding:16px 12px 112px}.news-heading h1{font-size:26px}.news-dialog{inset:8px;width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.news-dialog-header{padding:12px}.news-editor-scroll{padding:12px}.news-editor-fields{grid-template-columns:minmax(0,1fr)}.news-editor-actions{padding-inline:12px;gap:8px}.news-editor-actions .news-button{flex:0 1 auto}.news-editor-actions [role=status]{flex-basis:100%}}
