.news-workspace, .news-public {
    --news-ink: var(--lipad-ink, #193448);
    --news-muted: var(--lipad-slate, #506b7d);
    --news-line: var(--lipad-line, #dae4e9);
    --news-action: var(--lipad-action, #086f99);
    color: var(--news-ink);
    max-width: 960px;
}
.news-public { --news-action: var(--action, #086f99); padding-block: clamp(28px, 6vw, 72px); min-height: 55dvh; }
.news-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.news-heading > div { min-width: 0; }
.news-heading h1 {
    margin: 0;
    color: var(--news-ink);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.news-heading p { margin: 8px 0 0; color: var(--news-muted); }
.news-heading .btn { flex: none; gap: 8px; white-space: nowrap; }
.news-heading .btn i { font-size: 1.2em; }
.news-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.news-feed-heading {
    margin-bottom: 20px;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid #cfe2ec;
    border-radius: 16px;
    background: #e9f3f8;
}
.news-list, .news-empty {
    border: 1px solid var(--news-line);
    border-radius: 16px;
    background: #fff;
}
.news-row {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 20px;
    padding: 22px 24px;
}
.news-row + .news-row { border-top: 1px solid var(--news-line); }
.news-row-with-cover { grid-template-columns: 76px minmax(0, 1fr) 80px 24px; }
.news-row-cover { display: block; width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.news-row:first-child { border-radius: 15px 15px 0 0; }
.news-row:last-child { border-radius: 0 0 15px 15px; }
.news-row:only-child { border-radius: 15px; }
.news-row:focus-within { outline: 2px solid var(--news-action); outline-offset: -3px; }
.news-row-date {
    display: grid;
    justify-items: center;
    padding: 8px 4px;
    border-radius: 8px;
    background: #edf4f7;
    color: var(--news-muted);
    font-size: .8125rem;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}
.news-row-date span:first-child { color: var(--news-ink); font-weight: 700; }
.news-row h2 { margin: 0; font-size: clamp(1.125rem, 2vw, 1.35rem); line-height: 1.25; letter-spacing: -.02em; }
.news-row h2 a { color: var(--news-ink); text-decoration: none; overflow-wrap: anywhere; }
.news-row h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-row-copy p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: 7px 0 0;
    line-height: 1.5;
    color: var(--news-muted);
}
.news-row-arrow { margin-top: 3px; color: var(--news-action); font-size: 22px; }
.news-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; color: var(--news-muted); font-size: .875rem; }
.news-row .news-meta { margin-top: 10px; }
.news-meta > span { display: inline-flex; align-items: center; gap: 5px; line-height: 1.35; }
.news-meta i { font-size: 1rem; }
.news-row-important, .news-article-important .news-article-heading { background: #fffaf0; }
.news-article-important .news-article-heading { padding: 16px; border-radius: 12px; border: 1px solid #e4bf72; }
.important-news-label { display: inline-flex; align-items: center; gap: 5px; color: #744500; background: #fff0cc; border-radius: 6px; padding: 4px 7px; font-weight: 650; }
.news-poll-label { color: #075d81; font-weight: 600; }
.news-visibility { background: #eef2f5; border-radius: 6px; padding: 4px 7px; }
.news-visibility-public { color: #235d47; background: #e9f4ed; }
.news-empty { display: flex; gap: 16px; align-items: center; padding: 24px; }
.news-empty i { color: var(--news-action); font-size: 28px; }
.news-empty h2 { margin: 0; color: var(--news-ink); font-size: 1.125rem; }
.news-empty p { margin: 6px 0 0; color: var(--news-muted); }
.news-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 12px; color: var(--news-action); font-weight: 600; text-decoration: none; }
.news-back i { font-size: 1.3em; }
.news-back:hover { text-decoration: underline; }
.news-article-heading { border-bottom: 1px solid var(--news-line); padding-bottom: 20px; margin-bottom: 20px; }
.news-article-heading h1 { margin-top: 12px; }
.news-description { margin: 0 0 24px; max-width: 68ch; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.news-attachments { margin: 0 0 24px; }
.news-attachments h2 { margin: 0 0 10px; font-size: 1.125rem; }
.news-attachments ul { display: grid; gap: 8px; max-width: 680px; margin: 0; padding: 0; list-style: none; }
.news-attachments a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--news-line);
    border-radius: 8px;
    color: var(--news-action);
    overflow-wrap: anywhere;
}
.news-attachments img { flex: none; width: 64px; height: 48px; object-fit: cover; border-radius: 5px; }
.news-attachments i { flex: none; font-size: 1.25rem; }
.news-poll {
    max-width: 680px;
    padding: clamp(16px, 4vw, 28px);
    border: 1px solid var(--news-line);
    border-radius: 16px;
    background: #fff;
}
.news-poll h2 { margin: 0 0 12px; color: var(--news-ink); font-size: clamp(1.25rem, 4vw, 1.5rem); overflow-wrap: anywhere; }
.news-poll fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.news-poll legend { float: none; width: auto; padding: 0; margin-bottom: 8px; font-size: .875rem; color: var(--news-muted); }
.news-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid var(--news-line);
    border-radius: 8px;
    cursor: pointer;
}
.news-option:has(:checked) { border-color: var(--news-action); background: #edf7fb; }
.news-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--news-action); }
.news-option span { overflow-wrap: anywhere; }
.news-option small { color: var(--news-muted); text-align: right; font-variant-numeric: tabular-nums; }
.news-history-window { margin-block: 8px 12px; }
.news-results { margin: 14px 0 0; padding: 0; list-style: none; }
.news-option-result { grid-template-columns: minmax(0, 1fr) auto; cursor: default; }
.news-poll-actions, .news-pagination { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.news-poll-actions span, .news-poll .news-poll-note { color: var(--news-muted); font-size: .875rem; }
.news-poll .news-poll-note { margin: 12px 0 0; }
.news-feedback { color: #235d47; background: #e9f4ed; padding: 10px 14px; margin: 0 0 16px; border-radius: 8px; }
.news-editor-heading { margin-bottom: 20px; }
.news-editor { display: grid; gap: 20px; }
.news-editor-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 28%); gap: 14px; }
.news-window-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.news-window-fields input { min-inline-size: 0; }
.news-poll-schedule summary { min-height: 44px; padding-block: 10px; color: var(--news-action); font-weight: 600; cursor: pointer; }
.news-poll-schedule-content { display: grid; gap: 12px; }
.news-editor-attachments { border-block: 1px solid var(--news-line); }
.news-editor-attachments[open] { padding-bottom: 14px; }
.news-editor-attachments summary span { color: var(--news-muted); font-size: .875rem; font-weight: 400; }
.news-upload-slot { min-width: 0; }
.news-upload-slot input[type="file"] { width: 100%; }
.news-editor .news-upload-name { margin: 0 0 6px; overflow-wrap: anywhere; }
.news-upload-remove { display: flex; gap: 8px; align-items: center; width: fit-content; min-height: 44px; font-size: .875rem; }
.news-editor-attachments .field-validation-valid { display: none; }
.news-editor .form-label { font-weight: 600; }
.news-editor .form-text { margin-bottom: 0; }
.news-editor-poll { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--news-line); }
.news-editor-poll legend { float: none; width: auto; margin: 0; padding-right: 8px; color: var(--news-ink); font-size: 1rem; font-weight: 650; }
.news-editor-poll legend span { margin-left: 6px; color: var(--news-muted); font-size: .8125rem; font-weight: 400; }
.news-editor .form-actions { margin-top: 0; }
.news-editor .validation-summary-valid { display: none; }
@media (hover: hover) and (pointer: fine) {
    .news-row:hover { background: #f5fafc; }
    .news-row:hover h2 a { text-decoration: underline; text-underline-offset: 4px; }
    .news-option:hover { border-color: var(--news-action); }
}
@media (max-width: 600px) {
    .news-heading { align-items: stretch; flex-direction: column; }
    .news-feed-heading { margin-bottom: 14px; }
    .news-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 6px 10px; padding: 16px; }
    .news-row-date { grid-row: 1; display: flex; gap: 5px; align-items: center; padding: 0; background: transparent; }
    .news-row-date span:first-child { color: inherit; font-weight: 600; }
    .news-row-copy { grid-column: 1; }
    .news-row-arrow { grid-column: 2; grid-row: 2; margin: 0; font-size: 20px; }
    .news-row-with-cover { grid-template-columns: minmax(0, 1fr) 64px 18px; }
    .news-row-with-cover .news-row-arrow { grid-column: 3; }
    .news-row-cover { grid-column: 2; grid-row: 2; height: 56px; }
    .news-poll-actions .btn, .news-pagination .btn { width: 100%; }
    .news-editor-fields, .news-window-fields { grid-template-columns: minmax(0, 1fr); }
    .news-heading-actions .btn { flex: 1 1 auto; }
}
