/* Shared Nova language across every route. Component skins follow this file. */
@media screen {
  .b-topbar,.b-content { max-width:1680px; margin-inline:auto; width:100%; }
  .b-topbar { height:88px; }
  .b-content { padding-bottom:40px; }
  .b-sidebar { position:sticky; top:24px; }
  #main { min-width:0; }
  .nova-page-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:2px 0 28px; padding:0 4px; }
  .nova-page-head h1 { margin:6px 0 8px; font:700 30px/1.2 Inter,sans-serif; letter-spacing:-.8px; }
  .nova-page-head p:not(.nova-eyebrow) { margin:0; max-width:670px; color:#9C9CAA; font-size:14px; line-height:1.6; }
  .nova-eyebrow { margin:0; color:#9C9CAA; font:500 10px/1.6 'JetBrains Mono','JetBrains Mono',monospace; letter-spacing:1.1px; }
  .nova-title-count { display:inline-flex; align-items:center; vertical-align:middle; margin-left:10px; padding:4px 9px; border-radius:8px; background:#242131; color:#B5A3FF; font:500 12px/1.4 Inter,sans-serif; letter-spacing:0; }
  .nova-card-icon,.nova-empty-symbol { display:grid; place-items:center; flex-shrink:0; width:46px; height:46px; border-radius:15px; background:#29233E; color:#B6A5FF; }
  .nova-card-icon svg { width:22px; height:22px; }
  .nova-empty-symbol { width:68px; height:68px; border-radius:22px; margin-bottom:20px; }
  .nova-empty-symbol svg { width:30px; height:30px; }
  .b-btn,.b-icon-btn { transition:background .15s,border-color .15s; }
  .b-btn { min-height:42px; padding:10px 16px; font:600 13px/1.4 Inter,sans-serif; border-radius:12px; }
  .b-btn.primary { background:#8C6BFF; border-color:#8C6BFF; color:#fff; }
  .b-btn.primary:hover { background:#8D71FF; border-color:#8D71FF; }
  .b-btn.secondary:hover,.b-icon-btn:hover { background:#262631; border-color:#34343F; }
  .b-btn svg { width:17px; height:17px; }
  :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) { min-height:42px; padding:10px 12px; border:1px solid #333340; border-radius:11px; background:#202029; color:#F3F2EE; font:400 14px/1.45 Inter,sans-serif; max-width:100%; }
  input::placeholder,textarea::placeholder { color:#777785; }
  input:focus,select:focus,textarea:focus { border-color:#8D71FF; outline:2px solid rgb(124 92 255 / .2); outline-offset:1px; }
  .b-field { gap:8px; color:#C3C3CD; font-size:12px; font-weight:500; }
  .b-dialog { padding:28px; border:1px solid #363641; border-radius:24px; max-height:calc(100dvh - 40px); }
  .b-dialog-header { align-items:center; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #30303A; }
  .b-dialog-header h2 { font:700 23px/1.25 Inter,sans-serif; letter-spacing:-.5px; }
  .b-dialog-actions { gap:10px; padding-top:20px; border-top:1px solid #30303A; }
  .b-form-grid { gap:16px; }
  .b-search-result { border-radius:12px; margin-block:6px; padding:14px; }
  .b-search-result:hover { background:#25232F; }
  .b-search-hint { color:#9C9CAA; line-height:1.6; }
  .b-empty { padding:48px 24px; border:0; border-radius:20px; background:#14141B; }
  .b-empty h3 { color:#F3F2EE; font-size:22px; }
  .b-empty p { color:#9C9CAA; max-width:440px; line-height:1.65; }
  .b-empty > span { color:#A994FF; }
  .nova-more { border-radius:16px; }
  .nova-more > summary { padding:14px 16px; border-radius:12px; color:#C2C2CC; font-weight:500; font-size:13px; }
  .nova-more[open] { padding-bottom:16px; }
  .nova-more[open] > :not(summary) { margin-inline:16px; width:auto; }
  .nova-more summary:hover { background:#22222C; color:#F3F2EE; }
  .nova-more button { padding:8px 12px; height:auto; min-height:36px; }
  .nova-inbox { grid-template-columns:minmax(250px,320px) minmax(0,1fr); gap:24px; align-items:start; }
  .nova-inbox .nova-col-head,.nova-inbox .nova-section-head { margin-bottom:12px; }
  .nova-inbox .nova-section-head h2 { font-size:16px; }
  .nova-inbox .nova-queue { border:0; padding:6px; border-radius:20px; }
  .nova-inbox .nova-queue button { border-radius:14px; padding:18px 14px; gap:8px; }
  .nova-inbox .nova-queue button.is-selected { background:#292534; }
  .nova-inbox .nova-queue button.is-selected strong { color:#C5B6FF; }
  .nova-inbox .nova-queue small { line-height:1.4; }
  .nova-inbox .nova-more { background:#14141B; }
  .nova-inbox .nova-sheet { min-height:360px; padding:30px; gap:20px; border-radius:24px; }
  .nova-inbox .nova-sheet > p { line-height:1.6; }
  .nova-inbox .nova-sheet input,.nova-inbox .nova-sheet select,.nova-inbox .nova-sheet textarea { background:#E6E2D7; border-color:#D4D1C9; color:#222229; }
  .nova-inbox .nova-classifier { border:0; background:#EAE8E1; flex-wrap:wrap; padding:16px; }
  .nova-inbox .nova-classifier span { font-size:10px; }
  .nova-inbox .nova-sheet-actions { margin-top:8px; }
  .nova-inbox .nova-sheet-actions button { min-width:110px; }
  .nova-inbox .nova-sheet-actions .is-text { min-width:auto; padding:10px; }
  .nova-inbox-empty { align-content:center; justify-items:start; }
  .nova-inbox-empty .nova-empty-symbol { background:#E6E0F6; color:#7856D8; margin:0; }
  .nova-inbox-empty > p:not(.nova-eyebrow) { max-width:480px; color:#66636C; font:400 15px/1.7 Inter,sans-serif; }
  .nova-connect-button { min-height:44px; border:0; border-radius:12px; background:#14141B; color:#F3F2EE; padding:12px 18px; font-weight:600; }
  .nova-news-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:24px; align-items:start; }
  .nova-news-sidebar { padding:20px 14px; background:#14141B; border-radius:20px; }
  .nova-news-sidebar > .nova-eyebrow { padding:0 10px 12px; }
  .nova-news-sidebar nav { display:grid; gap:4px; }
  .nova-news-sidebar nav button { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:44px; border:0; border-radius:11px; padding:10px; background:transparent; color:#AAAAB8; font-size:13px; }
  .nova-news-sidebar nav button > span { display:flex; align-items:center; gap:10px; }
  .nova-news-sidebar nav button b { font:400 11px/1.4 'JetBrains Mono',monospace; color:#777785; }
  .nova-news-sidebar nav button[aria-pressed=true] { background:#2B2540; color:#D3C7FF; }
  .nova-news-sidebar nav button[aria-pressed=true] b { color:#B6A5FF; }
  .nova-reading-note { display:grid; gap:10px; margin:26px 10px 0; padding-top:24px; border-top:1px solid #262631; color:#9C9CAA; }
  .nova-reading-note svg { color:#8B74D8; }
  .nova-reading-note strong { font-size:13px; color:#DDDBE6; }
  .nova-reading-note p { margin:0; font-size:12px; line-height:1.7; }
  .nova-news-main { min-width:0; }
  .nova-news-filters { margin:0 0 14px; background:#14141B; }
  .nova-news-filter-actions button { border-color:#383840; }
  .nova-feed { border:0; border-radius:20px; }
  .nova-news-item { padding:24px; gap:16px; }
  .nova-news-item > .nova-news-dot { margin-top:5px; }
  .nova-news-item .nova-news-content { gap:10px; }
  .nova-news-item .nova-news-content > p { line-height:1.5; font-size:10px; }
  .nova-news-item .nova-news-toggle { font:600 19px/1.4 Inter,sans-serif; letter-spacing:-.3px; }
  .nova-news-item .nova-news-preview { font-size:14px; line-height:1.65; color:#9C9CAA; }
  .nova-news-item.is-read:not(.is-expanded) .nova-news-toggle { color:#C4C4CF; }
  .nova-news-item.is-expanded { background:#1C1B25; }
  .nova-news-item .nova-news-actions button { font:500 12px/1.4 Inter,sans-serif; padding:9px 12px; border:1px solid #3A3745; }
  .nova-news-empty { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-height:420px; padding:42px; border:0; background:#14141B; }
  .nova-news-empty h2 { max-width:500px; margin:10px 0 14px; font:700 28px/1.25 Inter,sans-serif; letter-spacing:-.7px; }
  .nova-news-empty > p:not(.nova-eyebrow) { max-width:490px; margin:0 0 24px; color:#9C9CAA; line-height:1.75; }
  .nova-news-empty .b-btn { background:#8C6BFF; }
  .nova-storage-size { display:flex; gap:8px; align-items:center; white-space:nowrap; color:#9C9CAA; font:400 12px/1.4 'JetBrains Mono',monospace; }
  .nova-storage-size svg { color:#9B85E2; }
  .nova-data-grid { gap:16px; }
  .nova-data-grid article { display:flex; flex-direction:column; align-items:flex-start; min-height:258px; padding:24px; border:0; border-radius:22px; }
  .nova-data-grid article h2 { margin:20px 0 10px; font:600 18px/1.35 Inter,sans-serif; }
  .nova-data-grid article p { margin:0 0 22px; color:#9C9CAA; font-size:13px; line-height:1.65; }
  .nova-data-grid article > button,.nova-data-grid article > .nova-data-actions { margin-top:auto; align-self:stretch; }
  .nova-data-grid article button { height:auto; min-height:40px; padding:10px 12px; border-radius:11px; background:#292633; color:#DDD5F6; font-size:12px; font-weight:600; }
  .nova-data-grid article:first-child button:first-child { background:#8C6BFF; color:#fff; }
  .nova-data-actions { display:flex; flex-wrap:wrap; gap:8px; }
  .nova-data-actions button { flex:1; }
  .nova-data-bottom { display:grid; grid-template-columns:minmax(0,2fr) minmax(230px,1fr); gap:16px; margin-top:20px; }
  .nova-backups { margin:0; padding:24px; border:0; border-radius:22px; }
  .nova-card-title { display:flex; align-items:center; gap:14px; }
  .nova-card-title h2 { color:#F3F2EE; font:600 17px/1.4 Inter,sans-serif; }
  .nova-card-title p { margin:4px 0 0; font-size:12px; color:#9C9CAA; }
  .nova-card-title > b { margin-left:auto; color:#B6A5FF; font:400 16px/1.4 'JetBrains Mono',monospace; }
  .nova-backup-list { list-style:none; margin:24px 0; padding:0; }
  .nova-backup-list li { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid #262631; font-size:12px; }
  .nova-backup-list li span:first-child { display:flex; align-items:center; gap:10px; }
  .nova-backup-list li span:last-child { color:#C8F56A; }
  .nova-backup-list svg { width:16px; }
  .nova-backup-empty { margin:24px 0; padding:20px; border-radius:14px; background:#1B1B24; color:#9C9CAA; font-size:13px; }
  .nova-backups small { display:block; color:#858592; font-size:12px; line-height:1.6; }
  .nova-data-inventory { padding:26px; border-radius:22px; background:#14141B; }
  .nova-data-inventory dl { margin:16px 0 0; }
  .nova-data-inventory dl div { display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:12px; }
  .nova-data-inventory dt { color:#9C9CAA; font-size:13px; }
  .nova-data-inventory dd { margin:0; font:500 24px/1.2 Geologica,Inter,sans-serif; }
  .nova-data-trash { margin-top:20px; border:1px solid #262631; background:transparent; padding:0; }
  .nova-data-trash summary { display:list-item; padding:18px 22px; }
  .nova-data-trash summary span { color:#9C9CAA; padding-left:8px; }
  .nova-trash-items { display:grid; gap:8px; }
  .nova-trash-items > button { display:flex; align-items:center; gap:10px; text-align:left; }
  .nova-trash-items > p { color:#9C9CAA; }
  .nova-danger-zone { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid #33313B; padding-top:20px; margin-top:24px; }
  .nova-danger-zone strong { font-size:13px; }
  .nova-danger-zone p { font-size:12px; color:#9C9CAA; }
  #main[data-view=projects] .b-panel,#main[data-view=project] .b-panel { border:0; padding:24px; }
  #main[data-view=projects] .b-project-row { padding-block:18px; }
  #main[data-view=project] .b-detail-title { font-size:30px; }
}
@media screen and (max-width:1100px) {
  .nova-data-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nova-news-layout { grid-template-columns:180px minmax(0,1fr); gap:16px; }
}
@media screen and (max-width:800px) {
  .b-topbar { height:72px; }
  .b-content { padding-bottom:100px; }
  .b-sidebar { position:fixed; top:auto; }
  .nova-page-head { gap:16px; align-items:flex-start; margin-bottom:22px; flex-wrap:wrap; }
  .nova-page-head h1 { font-size:27px; }
  .nova-page-head p:not(.nova-eyebrow) { font-size:13px; }
  .nova-news-layout,.nova-inbox,.nova-data-bottom { grid-template-columns:minmax(0,1fr); }
  .nova-news-sidebar { padding:10px; }
  .nova-news-sidebar > .nova-eyebrow,.nova-reading-note { display:none; }
  .nova-news-sidebar nav { display:flex; flex-wrap:wrap; gap:4px; }
  .nova-news-sidebar nav button { width:auto; gap:12px; padding:8px 10px; }
  .nova-news-empty { min-height:350px; padding:28px; }
  .nova-news-empty h2 { font-size:25px; }
  .nova-inbox .nova-sheet { padding:24px; }
  .nova-data-grid article { padding:22px; }
  .b-dialog { padding:20px; width:calc(100vw - 24px); border-radius:20px; }
}
@media screen and (max-width:500px) {
  .nova-data-grid { grid-template-columns:minmax(0,1fr); }
  .nova-data-grid article { min-height:225px; }
  .nova-page-head > .b-btn { width:100%; }
  .nova-news-item { padding:20px 16px; gap:10px; }
  .nova-news-item .nova-news-toggle { font-size:17px; }
  .nova-news-empty { padding:24px; }
  .nova-inbox .nova-sheet { padding:22px; }
  .nova-inbox .nova-sheet h2 { font-size:23px; }
  .nova-danger-zone { align-items:flex-start; flex-direction:column; gap:8px; }
  .nova-card-title { gap:10px; }
}

@media screen { .b-dialog::backdrop { backdrop-filter:none; } }

@media screen { .nova-page-head > div:first-child { display:block; } }
