/* CyberVeille reprend les matières, couleurs et caractères du studio. */
.cyber-page {
    --cw-bg: #f4ecdf;
    --cw-panel: #fbf7f0;
    --cw-ink: #142018;
    --cw-text: #29372e;
    --cw-muted: #596457;
    --cw-line: #d5d8ca;
    --cw-accent: #225943;
    --cw-accent-soft: #e7eee2;
    --cw-warm: #a34c29;
    color: var(--cw-text);
    background: var(--cw-bg);
    color-scheme: light;
}
.cyber-page::before { background: none; }
.cyber-page::after { display: none; }
.cw-main { width: min(90%, 1370px); margin: 0 auto; padding: 130px 0 0; }
.cw-main *, .cw-main *::before, .cw-main *::after { box-sizing: border-box; }
.cw-main a { color: inherit; }
.cw-main button, .cw-main input, .cw-main select, .cw-main textarea { font: inherit; }
.cw-main button, .cw-main select { cursor: pointer; }
.cw-main :is(button, a, input, select, summary) { -webkit-tap-highlight-color: transparent; }
.cw-main :focus-visible { outline: 3px solid var(--cw-warm); outline-offset: 4px; }
.cw-main [hidden], .cw-toast[hidden] { display: none !important; }
.cw-main :is(p, h1, h2, h3) { margin: 0; }
.cw-main :is(h1, h2, h3) { color: var(--cw-ink); }
.cw-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 0 0 42px; }
.cw-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 20px; color: var(--cw-muted) !important; font-size: .8rem; font-weight: 700; text-decoration: none; }
.cw-back:hover { color: var(--cw-accent) !important; text-decoration: underline; text-underline-offset: 5px; }
.cw-eyebrow, .cw-section-label { color: var(--cw-warm); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; line-height: 1.7; }
.cw-main .cw-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.cw-signal { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cw-accent); box-shadow: 0 0 0 4px rgba(34, 89, 67, .08); }
.cw-hero h1 { margin-bottom: 19px; color: var(--cw-ink); font: 600 clamp(3.6rem, 6.5vw, 6rem)/1 'Fraunces', serif; letter-spacing: -.065em; }
.cw-hero h1 > span:first-child { color: var(--cw-accent); font-weight: 500; font-style: italic; }
.cw-title-dot { color: #bd4d1c; }
.cw-main .cw-hero__lead { color: var(--cw-ink); font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
.cw-main .cw-hero__detail { max-width: 510px; margin: 15px 0 20px; color: var(--cw-muted); font-size: .9rem; line-height: 1.8; }
.cw-hero__benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--cw-muted); font-size: .75rem; }
.cw-hero__benefits span { display: inline-flex; align-items: center; gap: 7px; }
.cw-hero__benefits span::before { content: '\2713'; color: var(--cw-accent); }
.cw-hero__actions { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 25px; }
.cw-hero__alerts { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--cw-accent) !important; font-size: .8rem; font-weight: 800; text-decoration: none; }
.cw-hero__alerts:hover { text-decoration: underline; text-underline-offset: 5px; }
.cw-hero__aside { position: relative; overflow: hidden; padding: clamp(25px, 3vw, 42px); border: 1px solid #263d2d; border-radius: 30px; background: #142018; color: #fbf7f0; }
.cw-hero__aside::before { content: ''; position: absolute; width: 180px; height: 180px; top: -110px; right: -55px; border: 1px solid #637551; border-radius: 50%; box-shadow: 0 0 0 28px rgba(105, 210, 173, .03), 0 0 0 56px rgba(105, 210, 173, .02); pointer-events: none; }
.cw-hero__aside .cw-section-label { color: #e9aa86; }
.cw-hero__aside h2 { margin: 15px 0 22px; color: #fbf7f0; font: 500 clamp(2rem, 3.1vw, 3.2rem)/1.08 'Fraunces', serif; letter-spacing: -.04em; }
.cw-guide { display: grid; gap: 17px; list-style: none; padding: 0; margin: 0; }
.cw-guide li { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; border-top: 1px solid #3d493d; }
.cw-guide li > span { color: #e9aa86; font: 600 .7rem/1.6 ui-monospace, monospace; }
.cw-guide strong { color: #fbf7f0; font-size: .85rem; font-weight: 700; }
.cw-guide p { margin-top: 4px; color: #c4cebd; font-size: .78rem; line-height: 1.7; }
.cw-overview { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; padding: 20px 26px; border: 1px solid var(--cw-line); border-radius: 22px; background: var(--cw-panel); }
.cw-overview__stat { display: flex; align-items: center; gap: 12px; padding-right: 24px; border-right: 1px solid var(--cw-line); }
.cw-overview__stat strong { color: var(--cw-ink); font: 600 2rem/1 'Fraunces', serif; font-variant-numeric: tabular-nums; }
.cw-overview__stat > span { max-width: 105px; color: var(--cw-muted); font-size: .75rem; line-height: 1.6; }
.cw-overview__update { display: flex; flex: 1; gap: 12px; align-items: center; }
.cw-overview__update div { display: flex; flex-direction: column; gap: 3px; }
.cw-overview__update strong { font-size: .8rem; font-weight: 700; line-height: 1.6; }
.cw-overview__update div > span { color: var(--cw-muted); font-size: .75rem; line-height: 1.6; }
.cw-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--cw-accent); border-radius: 14px; background: var(--cw-accent); color: #fff !important; font-size: .8rem !important; font-weight: 800 !important; line-height: 1.5; text-decoration: none; transition: background-color .2s, border-color .2s; }
.cw-button:hover { background: #173e2e; border-color: #173e2e; }
.cw-button:disabled { cursor: default; opacity: .6; }
.cw-button--subtle { color: var(--cw-ink) !important; background: #fffdf8; border-color: #c3cbbd; }
.cw-button--subtle:hover { background: var(--cw-accent-soft); border-color: #879a84; }
.cw-notice { margin-bottom: 24px; padding: 15px 18px; border: 1px solid #cfb789; border-radius: 14px; background: #fff3dc; color: #73501b; font-size: .8rem; line-height: 1.8; }
.cw-notice a { text-decoration: underline; text-underline-offset: 3px; }
.cw-workspace { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 25px 30px; align-items: start; }
.cw-views { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; padding: 15px; border: 1px solid var(--cw-line); border-radius: 20px; background: var(--cw-panel); }
.cw-views .cw-section-label { margin: 0 auto 0 4px; padding-right: 10px; color: var(--cw-muted); }
.cw-view { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 46px; padding: 10px 15px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--cw-muted); font-size: .8rem !important; font-weight: 700 !important; }
.cw-view > span { display: inline-flex; align-items: center; gap: 10px; }
.cw-view > span > span { width: 17px; font-size: 1rem; text-align: center; }
.cw-view b { padding: 1px 7px; border-radius: 6px; background: #e9ecdf; color: var(--cw-accent); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cw-view:hover { background: #e9ecdf; }
.cw-view[aria-pressed="true"] { border-color: var(--cw-accent); background: var(--cw-accent); color: #fff; }
.cw-view[aria-pressed="true"] b { color: #fff; background: #3b6b52; }
.cw-sidebar { display: grid; gap: 18px; min-width: 0; }
.cw-sidebar > section { min-width: 0; padding: 21px; border: 1px solid var(--cw-line); border-radius: 20px; background: var(--cw-panel); }
.cw-sidebar :is(h2, h3) { font: 800 .88rem/1.5 'Manrope', sans-serif; letter-spacing: -.02em; }
.cw-sidebar p { color: var(--cw-muted); font-size: .78rem; line-height: 1.8; overflow-wrap: anywhere; }
.cw-sidebar__heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.cw-sidebar__heading > span { color: var(--cw-accent); font-size: .75rem; font-weight: 800; }
.cw-tech-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0; }
.cw-tech { min-height: 37px; padding: 6px 9px; border: 1px solid #bec9b6; border-radius: 9px; background: #fffdf8; color: #43543f; font-size: .75rem !important; line-height: 1.5; }
.cw-tech > span { margin-right: 5px; color: #596b52; }
.cw-tech:hover { border-color: var(--cw-accent); }
.cw-tech[aria-pressed="true"] { border-color: var(--cw-accent); background: var(--cw-accent-soft); color: var(--cw-accent); }
.cw-tech[aria-pressed="true"] > span { color: var(--cw-accent); }
.cw-follow .cw-follow__hint { font-size: .75rem; }
.cw-local-note { display: flex; align-items: baseline; gap: 9px; padding: 0 8px; color: var(--cw-muted); }
.cw-local-note > span { color: var(--cw-accent); }
.cw-local-note p { font-size: .75rem; }
.cw-feed { min-width: 0; scroll-margin-top: 100px; }
.cw-feed__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.cw-feed__heading .cw-section-label { margin-bottom: 5px; }
.cw-feed__heading h2 { font: 600 2.2rem/1.2 'Fraunces', serif; letter-spacing: -.04em; }
.cw-source-jump { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--cw-accent) !important; font-size: .78rem; font-weight: 700; text-decoration: none; }
.cw-source-jump:hover { text-decoration: underline; text-underline-offset: 4px; }
.cw-filters { padding: 22px; border: 1px solid var(--cw-line); border-radius: 22px; background: var(--cw-panel); }
.cw-search { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 0 15px; border: 1px solid #b9c3b1; border-radius: 14px; background: #fffdf8; }
.cw-search:focus-within { border-color: var(--cw-accent); box-shadow: 0 0 0 3px rgba(34, 89, 67, .12); }
.cw-search > span:first-child { color: var(--cw-accent); font-size: 1.7rem; line-height: 1; }
.cw-search input { width: 100%; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent; color: var(--cw-ink); font-size: .85rem; outline: 0 !important; }
.cw-search input::placeholder { color: #65715f; opacity: 1; }
.cw-search__hint { display: none; }
.cw-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cw-filter-grid label, .cw-cve-filter > span, .cw-control-label { display: block; margin-bottom: 7px; color: #465440; font-size: .75rem; font-weight: 800; line-height: 1.6; }
.cw-filter-grid select, .cw-profiles select, .cw-profile-editor input[type="text"], .cw-profile-editor textarea, .cw-notifications select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #b9c3b1; border-radius: 10px; background: #fffdf8; color: var(--cw-ink); font: inherit; font-size: .78rem; color-scheme: light; }
.cw-filter-grid select { padding-right: 24px; }
.cw-filter-grid .cw-cve-filter label { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; padding: 8px 10px; border: 1px solid #b9c3b1; border-radius: 10px; background: #fffdf8; color: #465440; font-size: .75rem; font-weight: 500; cursor: pointer; }
.cw-cve-filter input, .cw-quick-filters input, .cw-group-switch input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--cw-accent); }
.cw-main .cw-filter-help { margin-top: 10px; color: var(--cw-muted); font-size: .75rem; line-height: 1.8; }
.cw-quick-filters, .cw-reading-options { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 20px; margin-top: 13px; }
.cw-quick-filters label, .cw-group-switch { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #465440; font-size: .78rem; line-height: 1.6; cursor: pointer; }
.cw-reading-options { justify-content: space-between; margin-top: 10px; }
.cw-reading-options .cw-text-button { text-align: left; }
.cw-categories { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 18px; border-bottom: 1px solid #c7cebe; }
.cw-categories button { position: relative; bottom: -1px; min-height: 46px; padding: 10px 13px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--cw-muted); font-size: .78rem !important; font-weight: 700; }
.cw-categories button[aria-pressed="true"] { border-bottom-color: var(--cw-accent); color: var(--cw-accent); }
.cw-categories button:hover { color: var(--cw-ink); }
.cw-category-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #ad4d32; vertical-align: middle; }
.cw-main .cw-context-line { margin-top: 7px; color: var(--cw-muted); font-size: .75rem; line-height: 1.8; overflow-wrap: anywhere; }
.cw-main .cw-context-line:empty { display: none; }
.cw-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 17px 0 13px; }
.cw-results-bar p { color: #465440; font-size: .78rem; }
.cw-results-bar > span { margin-left: auto; color: var(--cw-muted); font-size: .75rem; }
.cw-text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 0; border: 0; background: transparent; color: var(--cw-accent); font-size: .75rem !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cw-text-button:hover { color: #173e2e; }
.cw-articles { display: grid; gap: 14px; }
.cw-article { min-width: 0; padding: 24px 25px 16px; border: 1px solid var(--cw-line); border-radius: 20px; background: #fffdf8; transition: border-color .2s, box-shadow .2s; }
.cw-article:hover { border-color: #9eaf94; box-shadow: 0 8px 26px rgba(20, 32, 24, .04); }
.cw-article[data-read="true"] { background: #f6f4ec; }
.cw-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; color: var(--cw-muted); font-size: .75rem; line-height: 1.7; }
.cw-article__source { color: #374e39; font-weight: 800; }
.cw-article__type { padding: 2px 8px; border-radius: 6px; background: #eaf0e4; color: #325334; font-size: .75rem; font-weight: 700; }
.cw-article[data-category="alert"] .cw-article__type { background: #fce9e1; color: #973e25; }
.cw-article[data-category="research"] .cw-article__type { background: #f0eaf2; color: #6c437d; }
.cw-article[data-category="advisory"] .cw-article__type { background: #f7eddb; color: #76531c; }
.cw-article__language { padding: 0 5px; border: 1px solid #bdc7b5; border-radius: 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.cw-article__meta time { margin-left: auto; font-size: .75rem; }
.cw-article__title { margin: 12px 0 9px !important; font: 800 1.1rem/1.55 'Manrope', sans-serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cw-article__title a { color: var(--cw-ink); text-decoration: none; }
.cw-article__title a:hover { color: var(--cw-accent); text-decoration: underline; text-underline-offset: 4px; }
.cw-article[data-read="true"] .cw-article__title a { color: #51614d; }
.cw-article__summary { display: -webkit-box; overflow: hidden; color: var(--cw-muted); font-size: .85rem; line-height: 1.85; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.cw-article__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.cw-tag { padding: 3px 7px; border: 1px solid #cdd4c2; border-radius: 6px; background: #f3f6ec; color: #495a40; font-size: .75rem; line-height: 1.7; }
.cw-tag--cve { color: var(--cw-accent) !important; font-family: ui-monospace, monospace; text-decoration: none; }
.cw-tag--cve:hover { border-color: var(--cw-accent); text-decoration: underline; }
.cw-tag--severity { border-color: #cdb782; background: #fcf3de; color: #76501b; }
.cw-tag--severity[data-severity="critical"], .cw-tag--severity[data-severity="high"] { border-color: #d5ad99; background: #fcece4; color: #913b22; }
.cw-article__footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding-top: 9px; border-top: 1px solid #e2e4d9; }
.cw-article__open { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; color: var(--cw-accent) !important; font-size: .75rem; font-weight: 800; text-decoration: none; }
.cw-article__open:hover { text-decoration: underline; text-underline-offset: 4px; }
.cw-article__actions { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cw-action { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 0; border: 0; background: transparent; color: var(--cw-muted); font-size: .75rem !important; }
.cw-action > span:first-child { font-size: .95rem; line-height: 1; }
.cw-action[aria-pressed="true"] { color: var(--cw-accent); font-weight: 700; }
.cw-action:hover { color: var(--cw-ink); }
.cw-loading, .cw-empty { padding: 38px 25px; border: 1px dashed #9cad90; border-radius: 20px; background: var(--cw-panel); color: var(--cw-muted); text-align: center; }
.cw-loading { display: flex; align-items: center; justify-content: center; gap: 18px; }
.cw-loading strong { color: var(--cw-ink); font-size: .9rem; }
.cw-loading p { margin-top: 4px; color: var(--cw-muted); font-size: .78rem; }
.cw-loading__spinner { flex-shrink: 0; width: 25px; height: 25px; border: 2px solid #cbd6c2; border-top-color: var(--cw-accent); border-radius: 50%; animation: cw-spin 1.1s linear infinite; }
@keyframes cw-spin { to { transform: rotate(360deg); } }
.cw-empty > span { color: var(--cw-accent); font-size: 2rem; }
.cw-empty h3 { margin: 8px 0; color: var(--cw-ink); font: 600 1.5rem/1.4 'Fraunces', serif; }
.cw-empty p { max-width: 440px; margin: 0 auto; color: var(--cw-muted); font-size: .8rem; line-height: 1.8; }
.cw-feed__bottom { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 25px; }
.cw-feed__bottom > span { width: 100%; color: var(--cw-muted); font-size: .75rem; text-align: center; }
.cw-portability h2 { margin-bottom: 10px; }
.cw-portability p { margin-bottom: 14px; }
.cw-portability .cw-button { width: 100%; }
.cw-portability .cw-portability__limit { margin: 10px 0 0; font-size: .75rem; }
.cw-portability .cw-import-status { margin: 12px 0 0; padding: 12px; border: 1px solid #acc19d; border-radius: 10px; background: var(--cw-accent-soft); color: #29482f; overflow-wrap: anywhere; }
.cw-import-status:empty { display: none; }
.cw-profiles h2 { margin-bottom: 12px; }
.cw-profiles .cw-control-label, .cw-profile-editor form > label { display: block; margin: 12px 0 6px; color: #465440; font-size: .75rem; font-weight: 800; }
.cw-profile-editor textarea { resize: vertical; line-height: 1.6; }
.cw-main .cw-profiles p { margin-top: 10px; color: var(--cw-muted); font-size: .75rem; line-height: 1.8; }
.cw-main .cw-profiles .cw-profile-active { color: var(--cw-accent); }
.cw-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; margin-top: 14px; }
.cw-profile-actions .cw-text-button:disabled { cursor: default; color: #6d7566; opacity: .65; text-decoration: none; }
.cw-profile-editor { margin-top: 14px; border: 1px solid #c7d0bd; border-radius: 10px; background: #f4f4e9; }
.cw-profile-editor > summary { min-height: 44px; padding: 12px; color: var(--cw-accent); font-size: .78rem; font-weight: 700; cursor: pointer; }
.cw-profile-editor form { padding: 0 12px 14px; }
.cw-profile-editor fieldset { min-width: 0; padding: 12px 0 0; margin: 14px 0 0; border: 0; border-top: 1px solid var(--cw-line); }
.cw-profile-editor legend { padding: 0; color: #465440; font-size: .75rem; font-weight: 800; }
.cw-profile-source, .cw-profile-source-list label { display: flex; align-items: center; gap: 8px; min-height: 40px; color: #465440; font-size: .75rem; line-height: 1.6; cursor: pointer; overflow-wrap: anywhere; }
.cw-profile-source input, .cw-profile-source-list input { flex: 0 0 17px; width: 17px; height: 17px; accent-color: var(--cw-accent); }
.cw-profile-source-list { max-height: 230px; overflow-y: auto; margin-top: 7px; scrollbar-color: #899d7b #f4f4e9; }
.cw-profile-source-list:empty { display: none; }
.cw-main .cw-profile-status:not(:empty) { padding: 10px; border: 1px solid #acc19d; border-radius: 10px; background: var(--cw-accent-soft); color: #29482f; }
.cw-notifications { scroll-margin-top: 105px; }
.cw-notifications .cw-section-label { margin-bottom: 8px; font-size: .65rem; }
.cw-notifications h2 { margin-bottom: 9px; }
.cw-notifications .cw-control-label { margin-top: 16px; }
.cw-notifications .cw-notifications__profile { margin-top: 8px; font-size: .75rem; }
.cw-notifications .cw-notifications__profile:empty { display: none; }
.cw-notifications .cw-notifications__status { margin-top: 14px; padding: 11px 12px; border: 1px solid #c7d0bd; border-radius: 10px; background: #f0f2e7; color: #465440; font-size: .75rem; line-height: 1.8; }
.cw-notifications__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 15px; }
.cw-notifications__actions .cw-button { padding-right: 10px; padding-left: 10px; font-size: .75rem !important; }
.cw-notifications__actions .cw-text-button { align-self: flex-start; }
.cw-kev-badge, .cw-change-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #d3aa91; border-radius: 6px; background: #fbe9df; color: #8e3d25 !important; font-size: .75rem; line-height: 1.7; overflow-wrap: anywhere; }
.cw-kev-badge { text-decoration: underline; text-underline-offset: 3px; }
.cw-kev-badge:hover { border-color: #a34c29; }
.cw-change-badge { border-color: #aec59f; background: #eaf2e3; color: #2a5936 !important; }
.cw-change-badge[data-cw-change="updated"] { border-color: #ceb989; background: #faf1dc; color: #795118 !important; }
.cw-cve-group { min-width: 0; padding: 23px; border: 1px solid #aeba9f; border-radius: 20px; background: #eef1e4; }
.cw-cve-group h3 { color: var(--cw-ink); font: 800 1rem/1.6 'Manrope', sans-serif; overflow-wrap: anywhere; }
.cw-cve-group > p, .cw-cve-group__heading p, .cw-cve-group__summary { color: var(--cw-muted); font-size: .8rem; line-height: 1.8; }
.cw-cve-group__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; }
.cw-cve-group .cw-kev-badge { margin-top: 8px; }
.cw-cve-group__publications { margin-top: 13px; }
.cw-cve-group__publications > summary { min-height: 44px; padding: 11px 0; color: var(--cw-accent); font-size: .8rem; font-weight: 700; cursor: pointer; }
.cw-cve-group__publications .cw-article { margin-top: 10px; }
.cw-cve-group__publications .cw-article__title { font-size: 1rem; }
.cw-sources { margin-top: 42px; border: 1px solid var(--cw-line); border-radius: 22px; background: var(--cw-panel); scroll-margin-top: 105px; }
.cw-sources > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 27px; cursor: pointer; list-style: none; }
.cw-sources > summary::-webkit-details-marker { display: none; }
.cw-sources > summary > span:first-child { display: flex; flex-direction: column; gap: 7px; }
.cw-sources > summary strong { color: var(--cw-ink); font: 600 1.5rem/1.3 'Fraunces', serif; letter-spacing: -.02em; }
.cw-sources__summary-end { display: flex; align-items: center; gap: 20px; color: var(--cw-muted); font-size: .75rem; }
.cw-sources__plus { color: var(--cw-accent); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.cw-sources[open] .cw-sources__plus { transform: rotate(45deg); }
.cw-sources__content { padding: 0 27px 27px; }
.cw-sources__intro { max-width: 780px; margin-bottom: 20px !important; color: var(--cw-muted); font-size: .8rem; line-height: 1.8; }
.cw-sources-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cw-source-card { min-width: 0; padding: 17px; border: 1px solid #cbd2c1; border-radius: 14px; background: #fffdf8; }
.cw-source-card__heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 5px; }
.cw-source-card__heading h3 { color: var(--cw-ink); font: 800 .8rem/1.6 'Manrope', sans-serif; overflow-wrap: anywhere; }
.cw-source-card__heading h3 a { text-decoration: none; }
.cw-source-card__heading h3 a:hover { color: var(--cw-accent); text-decoration: underline; }
.cw-source-health { color: #335e33; font-size: .75rem; }
.cw-source-health[data-status="error"], .cw-source-health[data-status="stale"] { color: #895120; }
.cw-source-card__type, .cw-source-card__time { margin-top: 7px !important; color: var(--cw-muted); font-size: .75rem; line-height: 1.8; }
.cw-source-card__links { display: flex; flex-wrap: wrap; gap: 6px 17px; margin-top: 10px; }
.cw-source-card__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--cw-accent); font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.cw-sources__footnote { padding-top: 20px; margin-top: 24px !important; border-top: 1px solid var(--cw-line); color: var(--cw-muted); font-size: .75rem; line-height: 1.9; }
.cw-page-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin: 32px 0 60px; }
.cw-page-foot > span { color: var(--cw-muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.cw-page-foot p { color: var(--cw-muted); font-size: .78rem; }
.cw-page-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cw-accent); font-size: .78rem; font-weight: 700; text-decoration: none; }
.cw-page-foot a:hover { text-decoration: underline; }
.cw-toast { position: fixed; z-index: 1000; left: 50%; bottom: 24px; max-width: min(480px, calc(100% - 30px)); padding: 14px 20px; border: 1px solid #4a674e; border-radius: 14px; background: #1c3524; color: #fffdf8; box-shadow: 0 15px 45px rgba(20, 32, 24, .2); font: 500 .8rem/1.8 'Manrope', sans-serif; transform: translateX(-50%); }
@media (min-width: 1600px) { .cw-main { padding-top: 145px; } }
@media (max-width: 1150px) {
    .cw-workspace { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
    .cw-sidebar > section { padding: 18px; }
    .cw-overview { flex-wrap: wrap; gap: 18px; }
    .cw-overview__update { flex-basis: 100%; order: 3; }
    .cw-overview > .cw-button { margin-left: auto; }
    .cw-views .cw-section-label { width: 100%; margin: 0; padding-left: 3px; }
    .cw-view { flex: 1; }
    .cw-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cw-sources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
    .cw-main { width: 92%; padding-top: 115px; }
    .cw-hero { grid-template-columns: 1fr; gap: 25px; }
    .cw-hero__copy { max-width: 620px; }
    .cw-hero__aside { display: none; }
    .cw-hero h1 { font-size: clamp(3.6rem, 9vw, 5rem); }
    .cw-overview { padding: 20px; }
    .cw-overview__stat { border: 0; }
    .cw-overview__update { flex: 1 1 55%; order: 3; }
    .cw-overview > .cw-button { order: 4; }
    .cw-workspace { grid-template-columns: 1fr; gap: 24px; }
    .cw-views { margin-bottom: 24px; padding: 9px; gap: 7px; }
    .cw-views .cw-section-label { display: none; }
    .cw-feed { order: 2; }
    .cw-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); order: 3; gap: 16px; padding-top: 10px; }
    .cw-sidebar > section { padding: 21px; }
    .cw-local-note { grid-column: 1 / -1; }
    .cw-view { padding: 10px; }
    .cw-tech, .cw-action, .cw-article__open, .cw-source-card__links a, .cw-profile-source, .cw-profile-source-list label { min-height: 44px; }
    .cw-tech { padding: 8px 10px; }
    .cw-profile-source-list { max-height: 260px; }
    .cw-notifications { scroll-margin-top: 95px; }
}
@media (max-width: 540px) {
    .cw-main { width: auto; padding: 105px 18px 0; }
    .cw-back { margin-bottom: 15px; font-size: .75rem; }
    .cw-hero { padding-bottom: 27px; }
    .cw-main .cw-eyebrow { font-size: .63rem; letter-spacing: .1em; }
    .cw-hero h1 { font-size: clamp(2.9rem, 12.5vw, 4.2rem); }
    .cw-main .cw-hero__lead { font-size: 1.25rem; }
    .cw-main .cw-hero__detail { font-size: .84rem; }
    .cw-hero__benefits { gap: 9px 12px; font-size: .7rem; }
    .cw-hero__actions { gap: 7px 20px; margin-top: 20px; }
    .cw-hero__alerts { font-size: .75rem; }
    .cw-overview { padding: 17px; gap: 16px; margin-bottom: 20px; }
    .cw-overview__stat { flex: 1; gap: 10px; padding: 0; }
    .cw-overview__stat strong { font-size: 1.7rem; }
    .cw-overview__stat > span { font-size: .7rem; }
    .cw-overview__update { flex-basis: 100%; padding-top: 14px; border-top: 1px solid var(--cw-line); }
    .cw-overview > .cw-button { margin-left: 0; font-size: .75rem !important; }
    .cw-views { gap: 4px; border-radius: 16px; padding: 6px; }
    .cw-view { flex-direction: column; justify-content: center; gap: 4px; padding: 9px 5px; border-radius: 10px; font-size: .7rem !important; }
    .cw-view > span { justify-content: center; text-align: center; line-height: 1.6; }
    .cw-view > span > span { display: none; }
    .cw-feed__heading { gap: 12px; margin-bottom: 17px; }
    .cw-feed__heading .cw-section-label { font-size: .63rem; letter-spacing: .06em; }
    .cw-feed__heading h2 { font-size: 1.8rem; }
    .cw-source-jump { flex-shrink: 0; gap: 5px; font-size: .7rem; }
    .cw-filters { padding: 16px; border-radius: 18px; }
    .cw-search { gap: 9px; padding: 0 10px; }
    .cw-search input { font-size: .75rem; }
    .cw-filter-grid { gap: 13px 10px; }
    .cw-filter-grid label, .cw-cve-filter > span { font-size: .7rem; }
    .cw-filter-grid select { font-size: .75rem; }
    .cw-filter-grid .cw-cve-filter label { min-height: 44px; padding: 7px; font-size: .7rem; }
    .cw-quick-filters { gap: 0; }
    .cw-quick-filters > label { width: 100%; font-size: .75rem; }
    .cw-categories { gap: 0; }
    .cw-categories button { padding-right: 9px; padding-left: 9px; font-size: .75rem !important; }
    .cw-reading-options { align-items: stretch; gap: 0; }
    .cw-reading-options > * { width: 100%; }
    .cw-results-bar { gap: 3px 12px; }
    .cw-results-bar > span { margin-left: 0; }
    .cw-article { padding: 19px 18px 12px; border-radius: 17px; }
    .cw-article__meta { gap: 5px 7px; }
    .cw-article__meta time { margin-left: 0; }
    .cw-article__title { font-size: 1rem; }
    .cw-article__summary { font-size: .8rem; }
    .cw-article__footer { flex-direction: column; align-items: stretch; gap: 0; }
    .cw-article__open { justify-content: space-between; }
    .cw-article__actions { justify-content: space-between; gap: 10px; }
    .cw-sidebar { grid-template-columns: 1fr; padding-top: 4px; }
    .cw-sidebar > section { padding: 21px; }
    .cw-cve-group { padding: 16px; border-radius: 17px; }
    .cw-cve-group .cw-article { padding: 15px 13px 10px; }
    .cw-sources { margin-top: 28px; border-radius: 18px; }
    .cw-sources > summary { gap: 14px; padding: 20px; }
    .cw-sources > summary strong { font-size: 1.2rem; }
    .cw-sources__summary-end { gap: 12px; text-align: right; }
    .cw-sources__summary-end > span:first-child { max-width: 90px; }
    .cw-sources__content { padding: 0 20px 20px; }
    .cw-sources-grid { grid-template-columns: 1fr; }
    .cw-page-foot { gap: 10px; margin-bottom: 35px; }
    .cw-page-foot p { width: 100%; order: 3; font-size: .75rem; }
    .cw-page-foot > span { font-size: .6rem; letter-spacing: .06em; }
    .cw-page-foot a { font-size: .75rem; }
    .cw-loading { gap: 12px; padding: 30px 18px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .cw-main *, .cw-main *::before, .cw-main *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .cw-loading__spinner { border-color: var(--cw-accent); }
}
