/* NYXO dashboard rebuild — presentation layer only; application DOM and state stay intact. */
:root {
  --nx-bg: #07090d;
  --nx-panel: #0d1219;
  --nx-surface: #111923;
  --nx-surface-raised: #16212d;
  --nx-line: rgba(146, 173, 198, .16);
  --nx-line-bright: rgba(88, 214, 232, .34);
  --nx-cyan: #58d6e8;
  --nx-ice: #b5f4fa;
  --nx-violet: #9381ff;
  --nx-gold: #c8a96b;
  --nx-copy: #f1f5fa;
  --nx-muted: #a3b0bf;
  --nx-font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  --nx-font-code: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body:has(#pb_root) {
  background:
    radial-gradient(ellipse at 8% 3%, rgba(31, 103, 126, .15), transparent 34rem),
    radial-gradient(ellipse at 94% 27%, rgba(69, 54, 141, .12), transparent 31rem),
    #07090d !important;
  color: var(--nx-copy);
  font-family: var(--nx-font-ui) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
#pb_root {
  --page-bg: #07090d;
  --panel-bg: #0d1219;
  --card-bg: #111923;
  --elevated-bg: #16212d;
  --text-color: #f1f5fa;
  --muted-color: #a3b0bf;
  --border-color: #263342;
  --border-strong: #364b5e;
  --accent-color: #58d6e8;
  --accent-color-2: #b5f4fa;
  --accent-color-3: #c8a96b;
  width: 100%;
  min-height: 100vh;
  color: var(--nx-copy);
  font-family: var(--nx-font-ui) !important;
  background: transparent !important;
}

/* Header: a clear workstation bar, not a floating collection of pills. */
#pb_topbar {
  position: sticky !important;
  top: 0;
  z-index: 80 !important;
  min-height: 76px;
  padding: .78rem clamp(1rem, 3.4vw, 3.5rem) !important;
  gap: clamp(.8rem, 1.8vw, 1.7rem) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(145, 176, 201, .13) !important;
  background: rgba(8, 11, 16, .88) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}
#pb_topbar .brand_lockup { gap: .8rem; }
#pb_topbar .brand_logo { width: 2.5rem !important; height: 2.5rem; margin: 0 !important; filter: drop-shadow(0 0 14px rgba(88,214,232,.22)); }
#pb_topbar .brand_eyebrow { color: #91a0af; font-size: .66rem; font-weight: 700; letter-spacing: .03em; }
#pb_topbar .brand_title_row { gap: .55rem; }
#pb_topbar .brand_title_row h1 { color: #f5f8fb; font-size: 1.08rem !important; font-weight: 850; letter-spacing: -.04em; }
#pb_topbar .brand_version { border: 1px solid rgba(88,214,232,.2); border-radius: 999px; background: rgba(88,214,232,.07); color: #9ee8ef; font: 650 .62rem/1 var(--nx-font-code); }
#pb_topbar .desktop_search:not([hidden]) {
  min-height: 2.9rem;
  padding-inline: .95rem;
  border: 1px solid rgba(154,177,199,.17) !important;
  border-radius: 13px !important;
  background: rgba(19,27,37,.9) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#pb_topbar .desktop_search:focus-within { border-color: rgba(88,214,232,.55) !important; background: #131d28 !important; box-shadow: 0 0 0 4px rgba(88,214,232,.09) !important; }
#pb_topbar .top-bar-items { gap: .45rem !important; }
#pb_topbar .header_icon_btn,
#pb_topbar .support_gear_btn {
  min-height: 2.7rem !important;
  border: 1px solid rgba(146,173,198,.14) !important;
  border-radius: 12px !important;
  background: rgba(16,23,31,.86) !important;
  color: #c6d0da !important;
  box-shadow: none !important;
}
#pb_topbar .header_icon_btn:hover,
#pb_topbar .support_gear_btn:hover { border-color: rgba(88,214,232,.38) !important; background: rgba(25,39,50,.95) !important; color: #e6fbff !important; }
#pb_topbar .top_projects_link { padding-inline: .8rem; }
#pb_topbar .engine_pill:not([hidden]) { border: 1px solid rgba(92,215,164,.15); border-radius: 999px; background: rgba(46,133,100,.08); color: #a8e6c5; }
#pb_topbar .notification_popover { border-radius: 16px; }

/* Workbench canvas and hero. */
#pb_root .app_shell { width: min(100%, 1560px) !important; max-width: 1560px !important; margin-inline: auto; padding: clamp(1rem,2.2vw,2rem) clamp(1rem,3vw,3rem) 3rem !important; }
#pb_root .workspace { width: 100%; }
#pb_root .hero_panel {
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
  align-items: center;
  gap: clamp(1.8rem,4vw,4.5rem) !important;
  min-height: clamp(340px, 32vw, 460px);
  overflow: hidden;
  padding: clamp(2rem,4.3vw,4.5rem) clamp(1.6rem,4vw,4rem) !important;
  border: 1px solid rgba(114,180,204,.19) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(ellipse at 76% 45%, rgba(50,165,188,.13), transparent 31rem),
    radial-gradient(ellipse at 7% 110%, rgba(124,92,220,.12), transparent 26rem),
    linear-gradient(125deg,#111923 0%,#0d131b 48%,#090d13 100%) !important;
  box-shadow: 0 34px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
#pb_root .hero_panel::before {
  content: "" !important;
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .27;
  background-image: linear-gradient(rgba(148,183,204,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(148,183,204,.06) 1px,transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(100deg,transparent 0%,#000 75%);
}
#pb_root .hero_panel::after {
  content: "" !important;
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 2px;
  width: auto;
  opacity: 1;
  background: linear-gradient(90deg,transparent,rgba(88,214,232,.62),rgba(147,129,255,.35),transparent);
}
#pb_root .hero_copy { position: relative; z-index: 3; max-width: 690px; }
#pb_root .dashboard_kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-bottom: clamp(1rem,2vw,1.55rem); color: #b8c6d2; font-size: .79rem; font-weight: 720; }
#pb_root .dashboard_kicker_live { width: 8px; height: 8px; border-radius: 50%; background: #64e1b0; box-shadow: 0 0 0 4px rgba(100,225,176,.1),0 0 17px rgba(100,225,176,.5); }
#pb_root .dashboard_kicker bdi { margin-inline-start: .15rem; color: #788897; font: 650 .65rem/1.2 var(--nx-font-code); letter-spacing: .1em; }
#pb_root .hero_panel h2 { max-width: 15ch !important; margin: 0 0 1.1rem !important; color: #f3f8fc !important; font-size: clamp(2.5rem,calc(5.5vw * var(--nyxo-size-scale, 1)),5rem) !important; line-height: 1.06 !important; letter-spacing: -.065em !important; text-wrap: balance; }
#pb_root .hero_panel p { max-width: 54ch !important; margin: 0; color: #aab8c6 !important; font-size: clamp(1rem,1.25vw,1.18rem) !important; line-height: 1.8 !important; }
#pb_root .dashboard_hero_actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.55rem,2.6vw,2.2rem); }
#pb_root .dashboard_hero_actions a { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.25rem; padding: .72rem 1.1rem; border: 1px solid rgba(148,174,196,.18); border-radius: 13px; color: #d9e7ef; font-size: .87rem; font-weight: 800; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease; }
#pb_root .dashboard_hero_actions .svg_icon { width: 1.05rem; height: 1.05rem; }
#pb_root .dashboard_hero_primary { border-color: transparent !important; background: linear-gradient(112deg,#58d6e8,#a5f3fc) !important; color: #061116 !important; box-shadow: 0 10px 28px rgba(88,214,232,.18); }
#pb_root .dashboard_hero_secondary { background: rgba(255,255,255,.025); }
#pb_root .dashboard_hero_actions a:hover { transform: translateY(-2px); border-color: rgba(88,214,232,.55); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
#pb_root .hero_visual { position: relative; z-index: 1; display: flex; min-width: 0; min-height: 0; flex-direction: column; justify-content: flex-start; overflow: visible; padding: 0 !important; }
#pb_root .hero_flow { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; gap: .45rem; width: 100%; margin-top: 0; }
#pb_root[dir="rtl"] .hero_flow { direction: ltr; }
#pb_root[dir="rtl"] .hero_flow_step { direction: rtl; text-align: right; }
#pb_root .hero_flow_step { min-width: 0; min-height: 6.4rem; padding: .78rem .7rem; border: 1px solid rgba(164,197,216,.19); border-radius: 15px; background: rgba(8,14,20,.82); box-shadow: 0 14px 28px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.04); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#pb_root .hero_flow_step > span { display: block; margin-bottom: .65rem; color: #71879a; font: 650 .55rem/1.2 var(--nx-font-code); letter-spacing: .06em; }
#pb_root .hero_flow_step strong { display: block; overflow-wrap: anywhere; color: #eaf7fb; font: 760 clamp(.62rem,.82vw,.78rem)/1.3 var(--nx-font-code); }
#pb_root .hero_flow_step small { display: block; margin-top: .36rem; color: #a2b3c0; font-size: .7rem; line-height: 1.45; }
#pb_root .hero_flow_arrow { display: grid; place-items: center; width: 1rem; color: var(--nx-cyan); }
#pb_root .hero_flow_arrow .nx-icon { width: 1rem; height: 1rem; }
#pb_root .hero_assurance { position: relative; z-index: 2; display: flex; align-items: center; gap: .55rem; margin-top: .85rem; color: #b6c7d0; font-size: .77rem; }
#pb_root .hero_assurance .svg_icon { color: #70e0b1; }

/* Project form: a deliberate two-pane workbench with strong task hierarchy. */
#pb_root .dashboard_grid { display: block !important; margin-top: clamp(1.2rem,2vw,1.8rem) !important; }
#pb_root .main_column { display: flex; flex-direction: column; gap: clamp(1.2rem,2vw,1.8rem) !important; }
#pb_root #project_section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem,2.5vw,2.4rem) !important;
  border: 1px solid rgba(146,173,198,.17) !important;
  border-radius: 26px !important;
  background: linear-gradient(150deg,rgba(17,25,35,.98),rgba(11,16,23,.98)) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045) !important;
}
#pb_root #project_section::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg,transparent,rgba(88,214,232,.45),rgba(147,129,255,.28),transparent); pointer-events: none; }
#pb_root .mobile_operation_intro { display: none; }
#pb_root .operation_modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem !important; margin: 0 0 1.65rem !important; }
#pb_root .mode_button { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0,1fr) 1.5rem; align-items: center; gap: .9rem; min-height: 6rem !important; padding: 1rem 1.1rem !important; border: 1px solid rgba(145,172,195,.16) !important; border-radius: 17px !important; background: linear-gradient(135deg,rgba(22,32,44,.92),rgba(14,20,28,.96)) !important; text-align: start; transition: transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; }
#pb_root .mode_button::before { content: ""; position: absolute; inset-block: 17%; inset-inline-start: 0; width: 2px; border-radius: 0 4px 4px 0; background: transparent; transition: background .2s ease,box-shadow .2s ease; }
#pb_root .mode_button.active { border-color: rgba(88,214,232,.55) !important; background: linear-gradient(112deg,rgba(88,214,232,.12),rgba(147,129,255,.055) 65%,rgba(17,25,35,.9)) !important; box-shadow: inset 0 0 0 1px rgba(88,214,232,.06),0 12px 30px rgba(0,0,0,.17) !important; }
#pb_root .mode_button.active::before { background: var(--nx-cyan); box-shadow: 0 0 15px rgba(88,214,232,.6); }
#pb_root .mode_icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border: 1px solid rgba(88,214,232,.19); border-radius: 15px; background: rgba(88,214,232,.07); color: #96eaf1; }
#pb_root .mode_icon .svg_icon { width: 1.35rem; height: 1.35rem; }
#pb_root .mode_icon small { margin-top: .06rem; font: 700 .5rem/1 var(--nx-font-code); }
#pb_root .mode_copy { min-width: 0; }
#pb_root .mode_route { display: flex; align-items: center; gap: .38rem; direction: ltr; color: #dce8ed; font: 750 .9rem/1.3 var(--nx-font-code); letter-spacing: .01em; }
#pb_root .mode_route b.accent { color: #71ddea; }
#pb_root .mode_route i { display: inline-flex; color: #6b8fa0; }
#pb_root .mode_route i .nx-icon { width: .86rem; height: .86rem; }
#pb_root .mode_copy > small { display: block; margin-top: .35rem; color: #9eacb8; font-size: .75rem; line-height: 1.5; }
#pb_root .mode_indicator { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1px solid rgba(145,172,195,.22); border-radius: 50%; color: transparent; }
#pb_root .mode_button.active .mode_indicator { border-color: rgba(88,214,232,.58); background: rgba(88,214,232,.17); color: #9af2f6; }
#pb_root .card_header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.45rem !important; padding: 0 0 1.15rem !important; border-bottom: 1px solid rgba(143,168,190,.12); }
#pb_root .card_heading { display: flex; align-items: center; gap: .9rem; }
#pb_root .card_heading .heading_icon { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; border: 1px solid rgba(88,214,232,.22); border-radius: 14px; background: linear-gradient(145deg,rgba(88,214,232,.12),rgba(88,214,232,.025)); color: #8ee7f0; }
#pb_root .card_heading .heading_icon .svg_icon { width: 1.2rem; height: 1.2rem; }
#pb_root .card_title { color: #f0f5f9; font-size: 1.18rem !important; font-weight: 840; }
#pb_root .card_hint { margin-top: .22rem; color: #96a5b2 !important; font-size: .82rem !important; }
#pb_root .section_tag { padding: .42rem .7rem !important; border: 1px solid rgba(88,214,232,.24) !important; border-radius: 999px !important; background: rgba(88,214,232,.07) !important; color: #9fe8ef !important; font: 700 .66rem/1.25 var(--nx-font-code) !important; letter-spacing: .045em; }
#pb_root .build_workspace { display: grid !important; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr) !important; align-items: start; gap: clamp(1rem,2vw,1.6rem) !important; }
#pb_root .upload_column, #pb_root .options_column { min-width: 0; }
#pb_root #drop_zone { position: relative; display: grid; min-height: clamp(16rem,23vw,20rem) !important; place-items: center; overflow: hidden; padding: 1.6rem !important; border: 1px dashed rgba(88,214,232,.48) !important; border-radius: 22px !important; background: radial-gradient(ellipse at 50% 0%,rgba(88,214,232,.12),transparent 62%),linear-gradient(145deg,rgba(20,31,42,.94),rgba(12,18,26,.96)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: border-color .24s ease,box-shadow .24s ease,transform .24s ease; }
#pb_root #drop_zone::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(160,193,211,.075); border-radius: 14px; pointer-events: none; }
#pb_root #drop_zone:hover, #pb_root #drop_zone.dragover { border-color: #7ceaf0 !important; background: radial-gradient(ellipse at 50% 0%,rgba(88,214,232,.17),transparent 62%),linear-gradient(145deg,#172633,#101923) !important; box-shadow: inset 0 0 0 1px rgba(88,214,232,.15),0 0 40px rgba(88,214,232,.09) !important; transform: translateY(-2px); }
#pb_root .drop_content { position: relative; z-index: 2; display: grid; justify-items: center; gap: .42rem; }
#pb_root .drop_visual { display: grid; place-items: center; width: 4.8rem; height: 4.8rem; margin-bottom: .6rem; border: 1px solid rgba(88,214,232,.26); border-radius: 21px; background: linear-gradient(145deg,rgba(88,214,232,.16),rgba(147,129,255,.08)); color: #a8f5fb; box-shadow: 0 12px 30px rgba(0,0,0,.2),0 0 25px rgba(88,214,232,.08); }
#pb_root .drop_visual .svg_icon { width: 1.7rem; height: 1.7rem; }
#pb_root .drop_visual small { font: 650 .5rem/1 var(--nx-font-code); }
#pb_root .drop_main { color: #e8f2f6; font-size: 1.02rem !important; font-weight: 800; text-align: center; }
#pb_root .drop_sub { color: #9eafbb; font-size: .79rem !important; text-align: center; }
#pb_root .browse_chip { display: inline-flex; align-items: center; gap: .48rem; min-height: 2.45rem; margin-top: .7rem; padding: .5rem .8rem; border: 1px solid rgba(88,214,232,.36); border-radius: 11px; background: rgba(88,214,232,.1); color: #b5f4fa; font-size: .8rem; font-weight: 780; }
#pb_root .browse_chip .svg_icon { width: 1rem; height: 1rem; }
#pb_root .upload_guards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-top: .8rem; }
#pb_root .desktop_guard_title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .55rem; margin: .25rem 0 .1rem; }
#pb_root .desktop_guard_title strong { color: #dce7ed; font-size: .78rem; }
#pb_root .desktop_guard_title small { color: #8798a7; font-size: .69rem; }
#pb_root .guard_item { display: grid; grid-template-columns: 1.1rem minmax(0,1fr); align-items: center; column-gap: .45rem; row-gap: .15rem; min-height: 3.25rem; padding: .55rem .65rem; border: 1px solid rgba(142,168,188,.12); border-radius: 12px; background: rgba(16,23,31,.76); color: #b9c8d2; }
#pb_root .guard_item .svg_icon { grid-row: span 2; width: 1rem; height: 1rem; color: #7fd9d0; }
#pb_root .guard_item span { font-size: .72rem; font-weight: 800; }
#pb_root .guard_item small { color: #82919e; font-size: .62rem; line-height: 1.35; }
#pb_root #file_info:empty { display: none; }
#pb_root .options_column { padding: clamp(.9rem,1.5vw,1.2rem); border: 1px solid rgba(141,169,191,.14); border-radius: 19px; background: linear-gradient(155deg,rgba(17,26,36,.93),rgba(13,19,27,.94)); }
#pb_root #build_options_note { margin: 0 0 .95rem !important; padding: .65rem .75rem; border-inline-start: 2px solid rgba(200,169,107,.67); border-radius: 0 10px 10px 0; background: rgba(200,169,107,.055); color: #b6b4aa !important; font-size: .72rem !important; }
#pb_root .build_options { border: 0; padding: 0 !important; background: transparent !important; }
#pb_root .platform_picker_wrap { overflow: hidden; padding: .8rem; border: 1px solid rgba(140,169,192,.13); border-radius: 15px; background: rgba(8,13,19,.62); }
#pb_root .platform_picker_head { align-items: flex-start; gap: .75rem; }
#pb_root .platform_picker_kicker { color: #7d91a1; font-size: .65rem; font-weight: 800; }
#pb_root .platform_picker_title { margin-top: .18rem; color: #e0e9ee; font-size: .88rem; }
#pb_root .platform_picker_hint { display: block; margin-top: .23rem; color: #8293a0; font-size: .69rem; line-height: 1.45; }
#pb_root .platform_family_badge { flex: none; border: 1px solid rgba(88,214,232,.22) !important; border-radius: 999px !important; background: rgba(88,214,232,.07) !important; color: #a3eaf0 !important; font-size: .64rem !important; }
#pb_root .platform_picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: .48rem; margin-top: .8rem; }
#pb_root .platform_card { min-height: 3.75rem !important; padding: .48rem .55rem !important; border: 1px solid rgba(143,172,195,.14) !important; border-radius: 12px !important; background: rgba(20,29,39,.9) !important; transition: transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease; }
#pb_root .platform_card:hover { transform: translateY(-2px); border-color: rgba(88,214,232,.45) !important; }
#pb_root .platform_card.selected { border-color: rgba(88,214,232,.6) !important; background: rgba(41,105,120,.18) !important; box-shadow: 0 0 0 1px rgba(88,214,232,.09); }
#pb_root .platform_logo { border-radius: 9px; }
#pb_root .platform_card_name { color: #dbe6ec; font-size: .74rem !important; font-weight: 800; }
#pb_root .platform_card_desc { color: #8595a2; font-size: .62rem !important; }
#pb_root .advanced_opts { margin-top: .7rem; border: 1px solid rgba(143,172,195,.12); border-radius: 13px; background: rgba(8,13,19,.45); }
#pb_root .advanced_opts > summary { min-height: 2.75rem; padding: .72rem .8rem; color: #bac7d1; font-size: .75rem !important; font-weight: 770; }
#pb_root .advanced_grid { padding: .15rem .8rem .8rem; }
#pb_root .advanced_grid label, #pb_root .opt_label { color: #aebdc8; font-size: .74rem !important; }
#pb_root .advanced_grid input, #pb_root .opt_trigger { min-height: 2.8rem; border: 1px solid rgba(145,172,194,.17); border-radius: 10px; background: #0d141c; color: #e3edf2; }
#pb_root .advanced_grid input:focus, #pb_root .opt_trigger:focus { border-color: rgba(88,214,232,.55); }
#pb_root #download_host { display: grid; grid-template-columns: minmax(0,1fr); gap: .7rem; margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid rgba(140,166,186,.12); }
#pb_root #run_btn { width: 100%; min-height: 3.8rem !important; margin: 0 !important; border: 0 !important; border-radius: 14px !important; background: linear-gradient(110deg,#58d6e8,#98ecf1 58%,#b5f4fa) !important; color: #061116 !important; font-size: .95rem !important; font-weight: 900 !important; letter-spacing: -.01em; box-shadow: 0 12px 30px rgba(88,214,232,.16) !important; }
#pb_root #run_btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(88,214,232,.24) !important; }
#pb_root #run_btn:disabled { filter: saturate(.55); opacity: .55; }
#pb_root .run_hint { color: #91a1ad; font-size: .72rem; text-align: center; }
#pb_root #artifacts_host:not(:empty) { display: grid; gap: .65rem; }

/* Build state, analysis and console become useful instrument panels. */
#pb_root #journey_section, #pb_root #analysis_section, #pb_root #error_summary, #pb_root #console_section { overflow: hidden; border: 1px solid rgba(146,173,198,.15) !important; border-radius: 23px !important; background: linear-gradient(150deg,rgba(16,24,33,.97),rgba(10,15,21,.98)) !important; box-shadow: 0 24px 65px rgba(0,0,0,.22) !important; }
#pb_root .status_dashboard { border: 1px solid rgba(143,171,193,.13); border-radius: 19px; background: rgba(9,14,20,.64); }
#pb_root .progress_orbit { filter: drop-shadow(0 0 20px rgba(88,214,232,.12)); }
#pb_root .pb_track { overflow: hidden; border-radius: 999px; background: #1e2a35; }
#pb_root .pb_bar { border-radius: inherit; background: linear-gradient(90deg,#54cfe1,#7ce7e8,#9c8dff); box-shadow: 0 0 16px rgba(88,214,232,.35); }
#pb_root #analysis_out { gap: .7rem; }
#pb_root #term_out { max-height: min(30rem,58vh); padding: 1.15rem !important; border: 1px solid rgba(120,152,175,.16); border-radius: 0 0 19px 19px; background: #070b10 !important; color: #ccd8e2; font: .79rem/1.75 var(--nx-font-code) !important; }
#pb_root #console_head { min-height: 4.2rem; padding: .8rem 1rem; }
#pb_root .console_identity { gap: .7rem; }
#pb_root .console_actions .copy_btn { min-height: 2.35rem; border-radius: 10px; }
#pb_root #pb_footer { margin-top: .4rem; padding: 1.4rem .5rem; border-top: 1px solid rgba(140,166,186,.1); color: #778794; }
#pb_root #pb_footer nav a { color: #9baab5; text-decoration: none; transition: color .18s ease; }
#pb_root #pb_footer nav a:hover { color: var(--nx-ice); }

/* Private project library receives the same art direction, not the same components. */
body.nyxo-projects { background: radial-gradient(ellipse at 10% -10%,rgba(45,163,187,.13),transparent 37rem),radial-gradient(ellipse at 92% 40%,rgba(104,76,203,.1),transparent 30rem),#07090d !important; font-family: var(--nx-font-ui) !important; }
.nyxo-projects .np-shell { width: min(1480px,calc(100% - 56px)); padding: 1.1rem 0 6rem; }
.nyxo-projects .np-top { position: sticky; top: .65rem; z-index: 70; min-height: 4.4rem; padding: .72rem 1rem; border-color: rgba(145,174,197,.16); border-radius: 16px; background: rgba(10,14,20,.86); box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.nyxo-projects .np-logo { width: 2.35rem; height: 2.35rem; }
.nyxo-projects .np-nav { gap: .55rem; }
.nyxo-projects .np-btn, .nyxo-projects .np-nav a { min-height: 2.65rem; border-radius: 11px; font-size: .82rem; }
.nyxo-projects .np-hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(280px,.92fr); align-items: center; gap: clamp(1rem,3vw,3.2rem); min-height: 370px; margin: 1.35rem 0 1.2rem; padding: clamp(1.5rem,4vw,3.5rem); border-color: rgba(112,181,205,.22); border-radius: 26px; background: radial-gradient(ellipse at 80% 35%,rgba(51,163,189,.12),transparent 23rem),linear-gradient(135deg,#121b25,#0a0e14 74%); box-shadow: 0 30px 84px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.045); }
.nyxo-projects .np-hero::after { width: 2px; background: linear-gradient(180deg,transparent,var(--accent),rgba(147,129,255,.6),transparent); }
.nyxo-projects .np-hero-content { max-width: 680px; }
.nyxo-projects .np-hero h1 { max-width: 15ch; font-size: clamp(2.55rem,5vw,4.2rem); font-weight: 860; letter-spacing: -.06em; }
.nyxo-projects .np-hero p { max-width: 48ch; line-height: 1.85; }
.nyxo-projects .np-hero-art { position: relative; display: grid; min-width: 0; min-height: 250px; place-items: center; }
.nyxo-projects .np-hero-art::before { content: ""; position: absolute; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(88,214,232,.16),rgba(147,129,255,.08) 37%,transparent 70%); filter: blur(10px); }
.nyxo-projects .np-hero-art img { position: relative; z-index: 1; display: block; width: 100%; max-width: 580px; height: auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.28)); }
.nyxo-projects .np-art-chip { z-index: 2; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.nyxo-projects .np-stats { gap: .8rem; margin: 0 0 1.9rem; }
.nyxo-projects .np-stat { padding: 1rem 1.15rem; border-radius: 15px; background: linear-gradient(145deg,#111923,#0b1016); }
.nyxo-projects .np-toolbar { grid-template-columns: minmax(240px,1fr) auto; margin: 2rem 0 1rem; }
.nyxo-projects .np-search { min-height: 3.2rem; border-radius: 12px; }
.nyxo-projects .np-list-head { margin-top: 1.4rem; }
.nyxo-projects .np-list-head h2 { font-size: 1.2rem; font-weight: 820; }
.nyxo-projects .np-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.nyxo-projects .np-project { padding: 1.2rem; border-radius: 16px; background: linear-gradient(145deg,#121a24,#0b1016); }
.nyxo-projects .np-footer { padding-top: 1.4rem; border-top: 1px solid rgba(146,173,198,.12); }

@keyframes nx-engine-float { 0%,100% { transform: translate3d(0,0,0) rotate(-.4deg); } 50% { transform: translate3d(0,-9px,0) rotate(.5deg); } }
@keyframes nx-dashboard-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  #pb_root .hero_copy { animation: nx-dashboard-enter .56s cubic-bezier(.2,.75,.25,1) both; }
  #pb_root .hero_visual { animation: nx-dashboard-enter .7s .08s cubic-bezier(.2,.75,.25,1) both; }
}

@media (min-width: 1600px) {
  #pb_root .app_shell { padding-inline: 3.5rem !important; }
  #pb_root .hero_panel { min-height: 460px; }
  #pb_root .hero_visual { min-height: 360px; }
}
@media (max-width: 1099px) {
  #pb_root .app_shell { padding-inline: clamp(1rem,3vw,2rem) !important; }
  #pb_root .hero_panel { grid-template-columns: minmax(0,1fr) minmax(0,.88fr) !important; gap: 1.3rem !important; min-height: 330px; }
  #pb_root .hero_panel h2 { font-size: clamp(2.25rem,calc(5vw * var(--nyxo-size-scale, 1)),3.7rem) !important; }
  #pb_root .hero_visual { min-height: 290px; }
  #pb_root .build_workspace { grid-template-columns: minmax(0,1fr) minmax(0,.9fr) !important; }
  .nyxo-projects .np-hero { grid-template-columns: minmax(0,1fr) minmax(230px,.8fr); }
}
@media (min-width: 760px) and (max-width: 980px) {
  #pb_root .hero_panel { grid-template-columns: 1fr !important; }
  #pb_root .hero_copy { max-width: 52rem; }
  #pb_root .hero_visual { width: 100%; max-width: 46rem; min-height: 300px; margin-inline: auto; padding: 0 !important; }
  #pb_root .build_workspace { grid-template-columns: 1fr !important; }
}
@media (max-width: 759px) {
  #pb_topbar { position: sticky !important; min-height: 60px; padding: .5rem max(.75rem,env(safe-area-inset-right)) .5rem max(.75rem,env(safe-area-inset-left)) !important; gap: .5rem !important; }
  #pb_topbar .brand_logo { width: 2.05rem !important; height: 2.05rem; }
  #pb_topbar .brand_eyebrow { display: none; }
  #pb_topbar .brand_title_row h1 { font-size: .93rem !important; }
  #pb_topbar .brand_version { display: none !important; }
  #pb_topbar .top-bar-items { gap: .25rem !important; }
  #pb_topbar .header_icon_btn, #pb_topbar .support_gear_btn { box-sizing: border-box; width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; flex: 0 0 44px; border-radius: 12px !important; }
  #pb_topbar .top_projects_link span, #pb_topbar #auth_button_label, #pb_topbar .settings_button_text { display: none !important; }
  #pb_root .app_shell { padding: .9rem .75rem 1.5rem !important; }
  #pb_root .hero_panel { display: grid !important; grid-template-columns: 1fr !important; gap: .25rem !important; min-height: 0; padding: 1.35rem 1.15rem 1.1rem !important; border-radius: 22px !important; }
  #pb_root .dashboard_kicker { gap: .48rem; margin-bottom: .8rem; font-size: .68rem; }
  #pb_root .dashboard_kicker bdi { font-size: .55rem; }
  #pb_root .hero_panel h2 { max-width: 13ch !important; margin-bottom: .75rem !important; font-size: clamp(2rem,calc(8.5vw * var(--nyxo-size-scale, 1)),3.1rem) !important; line-height: 1.08 !important; }
  #pb_root .hero_panel p { max-width: 42ch !important; font-size: .88rem !important; line-height: 1.72 !important; }
  #pb_root .dashboard_hero_actions { gap: .55rem; margin-top: 1.15rem; }
  #pb_root .dashboard_hero_actions a { min-height: 2.8rem; padding: .58rem .77rem; border-radius: 11px; font-size: .74rem; }
  #pb_root .dashboard_hero_actions .svg_icon { width: .93rem; height: .93rem; }
  #pb_root .hero_visual { min-height: 270px; padding: 0 !important; }
  #pb_root .hero_flow { gap: .38rem; }
  #pb_root .hero_flow { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #pb_root .hero_flow_arrow { display: none !important; }
  #pb_root .hero_flow_step { min-height: 5.25rem; padding: .58rem .47rem; border-radius: 12px; }
  #pb_root .hero_flow_step > span { margin-bottom: .42rem; font-size: .48rem; }
  #pb_root .hero_flow_step strong { font-size: .58rem; }
  #pb_root .hero_flow_step small { font-size: .59rem; }
  #pb_root .hero_assurance { margin-top: .62rem; font-size: .69rem; }
  #pb_root .dashboard_grid { margin-top: .85rem !important; }
  #pb_root #project_section { padding: 1rem !important; border-radius: 20px !important; }
  #pb_root .operation_modes { gap: .5rem !important; margin-bottom: 1.05rem !important; }
  #pb_root .mode_button { grid-template-columns: 2.5rem minmax(0,1fr) 1.15rem; gap: .52rem; min-height: 5.15rem !important; padding: .62rem !important; border-radius: 13px !important; }
  #pb_root .mode_icon { width: 2.45rem; height: 2.45rem; border-radius: 12px; }
  #pb_root .mode_icon .svg_icon { width: 1.1rem; height: 1.1rem; }
  #pb_root .mode_route { gap: .22rem; font-size: .69rem; }
  #pb_root .mode_route i .nx-icon { width: .7rem; height: .7rem; }
  #pb_root .mode_copy > small { margin-top: .25rem; font-size: .62rem; line-height: 1.38; }
  #pb_root .mode_indicator { width: 1.08rem; height: 1.08rem; }
  #pb_root .card_header { gap: .5rem; margin-bottom: .9rem !important; padding-bottom: .8rem !important; }
  #pb_root .card_heading { gap: .6rem; }
  #pb_root .card_heading .heading_icon { width: 2.4rem; height: 2.4rem; border-radius: 11px; }
  #pb_root .card_title { font-size: .96rem !important; }
  #pb_root .card_hint { font-size: .69rem !important; }
  #pb_root .section_tag { padding: .34rem .48rem !important; font-size: .56rem !important; }
  #pb_root .build_workspace { grid-template-columns: 1fr !important; gap: .85rem !important; }
  #pb_root #drop_zone { min-height: 14.5rem !important; padding: 1rem !important; border-radius: 17px !important; }
  #pb_root #drop_zone::after { inset: 8px; }
  #pb_root .drop_visual { width: 3.8rem; height: 3.8rem; border-radius: 16px; }
  #pb_root .drop_visual .svg_icon { width: 1.35rem; height: 1.35rem; }
  #pb_root .drop_main { max-width: 24ch; font-size: .9rem !important; }
  #pb_root .drop_sub { font-size: .71rem !important; }
  #pb_root .upload_guards { gap: .35rem; }
  #pb_root .desktop_guard_title { display: flex; flex-direction: column; gap: .1rem; }
  #pb_root .desktop_guard_title small { font-size: .61rem; }
  #pb_root .guard_item { grid-template-columns: 1fr; justify-items: center; gap: .22rem; min-height: 4.45rem; padding: .5rem .25rem; text-align: center; }
  #pb_root .guard_item .svg_icon { grid-row: auto; width: .9rem; height: .9rem; }
  #pb_root .guard_item span { font-size: max(.8rem, 11px); }
  #pb_root .guard_item small { font-size: max(.7rem, 10px); }
  #pb_root .options_column { padding: .72rem; border-radius: 15px; }
  #pb_root #build_options_note { padding: .52rem .6rem; font-size: .65rem !important; }
  #pb_root .platform_picker_wrap { padding: .65rem; }
  #pb_root .platform_picker_title { font-size: .79rem; }
  #pb_root .platform_picker_hint { font-size: .62rem; }
  #pb_root .platform_card { min-height: 3.25rem !important; }
  #pb_root .advanced_opts > summary { font-size: .7rem !important; }
  #pb_root #run_btn { min-height: 3.45rem !important; border-radius: 12px !important; }
  #pb_root #journey_section, #pb_root #analysis_section, #pb_root #error_summary, #pb_root #console_section { border-radius: 18px !important; }
  #pb_root .status_dashboard { grid-template-columns: 5.5rem minmax(0,1fr); gap: .6rem; padding: .72rem; }
  #pb_root #console_head { align-items: flex-start; gap: .5rem; padding: .7rem; }
  #pb_root .console_limit_note { font-size: .59rem; }
  #pb_root .console_actions { flex-wrap: wrap; gap: .28rem; }
  #pb_root .console_actions .copy_btn { min-height: 2rem; padding: .35rem .48rem; font-size: .62rem; }
  #pb_root #term_out { max-height: 55vh; padding: .78rem !important; font-size: .7rem !important; }
  .nyxo-projects .np-shell { width: calc(100% - 26px); padding-top: .6rem; }
  .nyxo-projects .np-top { top: .35rem; min-height: 3.7rem; padding: .5rem .58rem; border-radius: 13px; }
  .nyxo-projects .np-brand { gap: .45rem; }
  .nyxo-projects .np-logo { width: 1.85rem; height: 1.85rem; }
  .nyxo-projects .np-brand-copy strong { font-size: .82rem; }
  .nyxo-projects .np-nav { gap: .3rem; }
  .nyxo-projects .np-nav .np-account { display: none; }
  .nyxo-projects .np-nav .np-btn, .nyxo-projects .np-nav a { min-height: 2.3rem; padding: .4rem .56rem; font-size: .68rem; }
  .nyxo-projects .np-hero { grid-template-columns: 1fr; gap: .2rem; min-height: 0; margin: .8rem 0; padding: 1.2rem; border-radius: 19px; }
  .nyxo-projects .np-hero h1 { max-width: 14ch; margin: .65rem 0; font-size: clamp(2rem,9vw,3rem); }
  .nyxo-projects .np-hero p { font-size: .86rem; }
  .nyxo-projects .np-hero-art { min-height: 170px; margin-top: .15rem; }
  .nyxo-projects .np-hero-art img { width: min(100%,390px); }
  .nyxo-projects .np-art-chip { padding: .3rem .45rem; font-size: .56rem; }
  .nyxo-projects .np-stats { gap: .45rem; margin-bottom: 1rem; }
  .nyxo-projects .np-stat { gap: .45rem; padding: .65rem .58rem; border-radius: 12px; }
  .nyxo-projects .np-stat-icon { width: 2rem; height: 2rem; border-radius: 9px; }
  .nyxo-projects .np-stat strong { font-size: 1rem; }
  .nyxo-projects .np-stat small { font-size: .6rem; }
  .nyxo-projects .np-toolbar { gap: .65rem; margin-top: 1.2rem; }
  .nyxo-projects .np-search { min-height: 2.85rem; }
  .nyxo-projects .np-filter { min-height: 2.2rem; padding: .35rem .62rem; font-size: .7rem; }
  .nyxo-projects .np-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  #pb_topbar { display: grid !important; grid-template-columns: minmax(0,1fr); grid-template-areas: "brand" "actions"; align-items: center; justify-content: stretch; row-gap: .38rem !important; }
  #pb_topbar .brand_lockup { grid-area: brand; width: 100%; min-width: 0; justify-content: space-between; }
  #pb_topbar .brand_copy { min-width: 0; }
  #pb_topbar .top-bar-items { grid-area: actions; display: flex; width: 100%; min-width: 0; justify-content: space-between !important; margin: 0; }
  #pb_topbar .desktop_search { left: .25rem !important; right: .25rem !important; }
}
@media (max-width: 360px) {
  #pb_topbar .nx-guide-btn { width: 42px; min-width: 42px; padding-inline: 0; }
  #pb_topbar .nx-guide-btn__text { display: none; }
}
/* Reflow instead of allowing the brand and actions to overlap at extreme zoom. */
@media (max-width: 220px) {
  #pb_topbar { display: flex !important; justify-content: flex-end !important; min-height: 54px; padding: 5px max(4px,env(safe-area-inset-right)) 5px max(4px,env(safe-area-inset-left)) !important; gap: 0 !important; }
  #pb_topbar .brand_lockup { display: none !important; }
  #pb_topbar .top-bar-items { display: flex !important; width: 100%; justify-content: space-around !important; gap: 0 !important; }
  #pb_topbar .top-bar-items .header_icon_btn { width: 38px !important; min-width: 38px !important; max-width: 38px !important; height: 38px !important; min-height: 38px !important; flex: 0 0 38px !important; }
}
@media (max-width: 380px) {
  #pb_root .dashboard_kicker bdi { display: none; }
  #pb_root .hero_flow_step small { font-size: .54rem; }
  #pb_root .mode_button { grid-template-columns: 2.2rem minmax(0,1fr) 1rem; gap: .38rem; }
  #pb_root .mode_icon { width: 2.15rem; height: 2.15rem; }
  #pb_root .section_tag { display: none; }
  #pb_root .guard_item small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #pb_root .hero_copy, #pb_root .hero_visual { animation: none !important; }
}

/* ============================================================================
   NYXO 9.4.25 — professional SVG decoration and responsive interface fixes
   Decorative artwork: Hero Patterns by Steve Schoger (MIT) in /static/vendor/hero
   Icons: Lucide (ISC)
   ============================================================================ */

/* 1. Hero backdrop: calm, tileable SVG patterns behind the content ---------- */
#pb_root .hero_panel { position: relative; isolation: isolate; }
#pb_root .hero_decor { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
#pb_root .hero_decor_layer { position: absolute; display: block; background-repeat: repeat; }
#pb_root .hero_decor_layer--circuit {
  inset: -8% -6% -8% 34%;
  background-image: url("/static/vendor/hero/circuit-board.svg");
  background-size: 13rem 13rem;
  opacity: .15;
  -webkit-mask-image: radial-gradient(ellipse at 70% 46%, #000 2%, rgba(0,0,0,.55) 48%, transparent 78%);
  mask-image: radial-gradient(ellipse at 70% 46%, #000 2%, rgba(0,0,0,.55) 48%, transparent 78%);
  animation: nx-decor-drift-a 74s linear infinite;
}
#pb_root .hero_decor_layer--hex {
  inset: -14% -8% auto auto;
  width: min(46%, 32rem);
  height: 142%;
  background-image: url("/static/vendor/hero/hexagons.svg");
  background-size: 4.6rem 8.05rem;
  opacity: .12;
  -webkit-mask-image: linear-gradient(232deg, #000 6%, rgba(0,0,0,.45) 52%, transparent 86%);
  mask-image: linear-gradient(232deg, #000 6%, rgba(0,0,0,.45) 52%, transparent 86%);
  animation: nx-decor-drift-b 96s linear infinite;
}
#pb_root .hero_decor_layer--grid {
  inset: 0;
  background-image: url("/static/vendor/hero/graph-paper.svg");
  background-size: 44px 44px;
  opacity: .07;
  -webkit-mask-image: linear-gradient(104deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(104deg, transparent 38%, #000 100%);
  animation: nx-decor-breathe 21s ease-in-out infinite;
}
@keyframes nx-decor-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-13rem, 13rem, 0); }
}
@keyframes nx-decor-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(4.6rem, 8.05rem, 0); }
}
@keyframes nx-decor-breathe {
  0%, 100% { opacity: .055; }
  50% { opacity: .1; }
}
/* The ambient page grid and the hero rule use the same licensed pattern. */
#pb_root .ambient_grid {
  background-image: url("/static/vendor/hero/graph-paper.svg");
  background-size: 46px 46px;
  opacity: .17;
}
#pb_root .hero_panel::before {
  background-image: url("/static/vendor/hero/graph-paper.svg");
  background-size: 38px 38px;
  opacity: .15;
}

/* 2. Platform cards: official artwork, even spacing, no clipped labels ----- */
#pb_root .platform_picker { grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .55rem; }
#pb_root .platform_card {
  grid-template-columns: 3rem minmax(0, 1fr) 1.55rem;
  gap: .7rem;
  min-height: 4.6rem;
  padding: .7rem .75rem;
  align-items: center;
}
#pb_root .platform_logo {
  width: 3rem; height: 3rem;
  border-radius: 13px;
  background: radial-gradient(circle at 32% 16%, rgba(var(--accent-rgb), .2), rgba(6, 10, 14, .92) 74%);
  border-color: rgba(var(--accent-rgb), .28);
}
#pb_root .platform_logo::after { display: none; }
#pb_root .platform_logo_image {
  width: 100%; height: 100%;
  padding: .5rem;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45));
}
#pb_root .platform_abbr { display: none; }
#pb_root .platform_card_copy { gap: .18rem; }
#pb_root .platform_card_name { font-size: .8rem; line-height: 1.3; }
#pb_root .platform_card_desc { font-size: .63rem; line-height: 1.35; }
#pb_root .platform_check { width: 1.55rem; height: 1.55rem; }

@media (max-width: 900px) {
  #pb_root .platform_picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #pb_root .platform_picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  #pb_root .platform_card {
    grid-template-columns: 2.35rem minmax(0, 1fr) 1.1rem;
    gap: .5rem;
    min-height: 4.1rem;
    padding: .55rem;
  }
  #pb_root .platform_logo { width: 2.35rem; height: 2.35rem; border-radius: 11px; }
  #pb_root .platform_logo_image { padding: .34rem; }
  #pb_root .platform_card_name { font-size: .72rem; }
  #pb_root .platform_card_desc { font-size: .58rem; }
  #pb_root .platform_check { width: 1.1rem; height: 1.1rem; }
  #pb_root .platform_picker_head { gap: .5rem; }
  #pb_root .platform_picker_hint { font-size: .6rem; }
}

/* 3. Mode cards and hero flow: no crowding on narrow screens -------------- */
@media (max-width: 560px) {
  #pb_root .operation_modes { grid-template-columns: 1fr !important; gap: .55rem !important; }
  #pb_root .mode_button {
    grid-template-columns: 2.7rem minmax(0, 1fr) 1.3rem !important;
    gap: .7rem !important;
    min-height: 4.5rem !important;
    padding: .8rem .9rem !important;
  }
  #pb_root .mode_icon { width: 2.7rem !important; height: 2.7rem !important; }
  #pb_root .mode_icon > img { width: 1.65rem; height: 1.65rem; }
  #pb_root .mode_route { font-size: .74em; }
  #pb_root .mode_button small { font-size: .62em; line-height: 1.45; }
  #pb_root .mode_button::after { content: none; }
}
/* Flow steps used to squeeze into five columns and clip their labels. */
@media (max-width: 760px) {
  #pb_root .hero_visual { width: 100%; }
  #pb_root .hero_flow { grid-template-columns: minmax(0, 1fr) !important; gap: .5rem !important; }
  #pb_root .hero_flow_step { min-height: 0 !important; padding: .72rem .85rem !important; }
  #pb_root .hero_flow_step > span { margin-bottom: .34rem; }
  #pb_root .hero_flow_arrow { width: 100%; height: .85rem; transform: rotate(90deg); opacity: .65; }
  #pb_root .hero_assurance { margin-top: .7rem; font-size: .72rem; }
}

/* 4. Motion preferences: decoration freezes, layout stays identical -------- */
html[data-nyxo-motion="off"] #pb_root .hero_decor_layer,
#pb_root .hero_decor.is-static .hero_decor_layer { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  #pb_root .hero_decor_layer { animation: none !important; }
}
@media (max-width: 560px) {
  #pb_root .hero_decor_layer--circuit { inset: -6% -18% -6% -18%; opacity: .1; }
  #pb_root .hero_decor_layer--hex { width: 70%; opacity: .09; }
}

/* ============================================================================
   Projects page — decorative artwork and mobile chrome
   ============================================================================ */
.nyxo-projects .np-hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, #0f1720, #080c11 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 22px 50px rgba(0, 0, 0, .26);
}
.nyxo-projects .np-hero-art::before { opacity: .5; }
.nyxo-projects .np-art-pattern {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: url("/static/vendor/hero/circuit-board.svg");
  background-size: 9.5rem 9.5rem;
  opacity: .17;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 6%, rgba(0, 0, 0, .5) 54%, transparent 82%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 6%, rgba(0, 0, 0, .5) 54%, transparent 82%);
  animation: np-art-drift 68s linear infinite;
}
.nyxo-projects .np-art-pattern--hex {
  inset: -22% -14% auto auto;
  width: 62%;
  height: 150%;
  background-image: url("/static/vendor/hero/hexagons.svg");
  background-size: 4.2rem 7.35rem;
  opacity: .13;
  -webkit-mask-image: linear-gradient(220deg, #000 10%, transparent 80%);
  mask-image: linear-gradient(220deg, #000 10%, transparent 80%);
  animation: np-art-drift-b 92s linear infinite;
}
@keyframes np-art-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-9.5rem, 9.5rem, 0); } }
@keyframes np-art-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(4.2rem, 7.35rem, 0); } }
/* Keep the three labels inside the panel at every width. */
.nyxo-projects .np-hero-art .np-art-chip.np-chip-zip { inset: auto; inset-block-start: 14px; inset-inline-start: 14px; }
.nyxo-projects .np-hero-art .np-art-chip.np-chip-java { inset: auto; inset-block-start: 14px; inset-inline-end: 14px; }
.nyxo-projects .np-hero-art .np-art-chip.np-chip-jar { inset: auto; inset-block-end: 14px; inset-inline-end: 14px; }
html[data-nyxo-motion="off"] .nyxo-projects .np-art-pattern { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .nyxo-projects .np-art-pattern { animation: none !important; } }
@media (max-width: 520px) {
  .nyxo-projects .np-hero-art { min-height: 168px; }
  .nyxo-projects .np-hero-art .np-art-chip { font-size: .56rem; padding: 5px 7px; }
  .nyxo-projects .np-hero-art .np-art-chip .np-icon { width: 12px; height: 12px; }
}
/* Header: brand, language switch and action stay on one calm row. */
.nyxo-projects .np-top { gap: 10px; }
.nyxo-projects .np-brand { flex: 0 1 auto; min-width: 0; gap: 9px; background: transparent; box-shadow: none; }
.nyxo-projects .np-logo { flex: 0 0 auto; }
.nyxo-projects .np-brand-copy { min-width: 0; }
.nyxo-projects .np-brand-copy strong {
  display: block;
  overflow: hidden;
  max-width: 9rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: none;
}
.nyxo-projects .np-nav { flex: 0 0 auto; min-width: 0; }
.nyxo-projects .np-nav .np-btn { white-space: nowrap; }
@media (max-width: 560px) {
  .nyxo-projects .np-brand-copy strong { max-width: 6.2rem; }
  .nyxo-projects .np-nav .np-btn { min-height: 34px; padding: 5px 8px; font-size: .72rem; }
  .nyxo-projects .np-nav .np-btn.primary { padding-inline: 9px; }
  .nyxo-projects .np-nav .np-btn.primary .np-icon { display: none; }
}
@media (max-width: 380px) {
  .nyxo-projects .np-brand-copy strong { max-width: 4.6rem; font-size: .76rem; }
  .nyxo-projects .np-nav .np-btn { font-size: .68rem; padding-inline: 7px; }
}
/* Filters must never clip; distribute them evenly instead of scrolling. */
@media (max-width: 860px) {
  .nyxo-projects .np-toolbar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .nyxo-projects .np-filters { display: flex; flex-wrap: wrap; width: 100%; gap: 6px; overflow: visible; padding: 2px 0; }
  .nyxo-projects .np-filter { flex: 1 1 auto; min-width: 0; justify-content: center; }
}

/* Platform monogram for marks the vendor never published (e.g. Bukkit). */
#pb_root .platform_monogram { position: relative; z-index: 1; color: var(--accent-text); font: 900 .95rem/1 var(--code-font, ui-monospace, monospace); letter-spacing: .02em; }
#pb_root .platform_picker { grid-auto-rows: 1fr; }
@media (max-width: 430px) {
  #pb_root .platform_picker { grid-template-columns: minmax(0, 1fr) !important; }
  #pb_root .platform_card { grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem; min-height: 3.6rem !important; padding: .55rem .6rem; gap: .55rem; }
  #pb_root .platform_logo { width: 2.5rem; height: 2.5rem; border-radius: 11px; }
  #pb_root .platform_logo_image { padding: .36rem; }
  #pb_root .platform_card_name { font-size: .76rem; }
  #pb_root .platform_card_desc { font-size: .6rem; }
  #pb_root .platform_check { width: 1.25rem; height: 1.25rem; }
  #pb_root .platform_monogram { font-size: .85rem; }
}
/* Project version is visible in NYXO but deliberately absent from download filenames. */
.nyxo-projects .np-version-chip { display:inline-flex; align-items:center; margin-inline-start:7px; padding:2px 7px; border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line)); border-radius:999px; background:color-mix(in srgb,var(--accent) 10%,transparent); color:var(--accent-soft); font:800 .66rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; vertical-align:middle; }

/* Calm, task-first dashboard refinement (v9.4.27). */
#pb_root .hero_panel {
  display: block !important;
  min-height: 0 !important;
  padding: clamp(1.25rem, 3vw, 2.15rem) !important;
  overflow: hidden !important;
}
#pb_root .hero_decor,
#pb_root .hero_visual { display: none !important; }
#pb_root .hero_copy { max-width: 62rem !important; }
#pb_root .hero_panel h2 {
  max-width: 28ch !important;
  margin: .55rem 0 .65rem !important;
  font-size: clamp(1.8rem, 3.4vw, 3rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
#pb_root .hero_panel p { max-width: 58ch !important; font-size: .98rem !important; line-height: 1.75 !important; }
#pb_root .dashboard_hero_actions { margin-top: 1.1rem !important; gap: .65rem !important; }
#pb_root .dashboard_grid { gap: 1.15rem !important; }
#pb_root #project_section { padding: clamp(1rem, 2.4vw, 1.55rem) !important; }
#pb_root .operation_modes { gap: .65rem !important; }
#pb_root .mode_button { min-height: 4.5rem !important; padding: .7rem .85rem !important; }
#pb_root .upload_guards { display: flex !important; flex-wrap: wrap; gap: .5rem !important; margin-top: .65rem !important; }
#pb_root .desktop_guard_title { display: none !important; }
#pb_root .guard_item { display: inline-flex !important; flex: 1 1 9rem; align-items: center !important; gap: .45rem !important; min-height: 2.3rem !important; padding: .45rem .6rem !important; }
#pb_root .guard_item small { display: none !important; }
#pb_root .guard_item span { font-size: .72rem !important; }
@media (max-width: 759px) {
  #pb_root .hero_panel { padding: 1.15rem !important; border-radius: 16px !important; }
  #pb_root .hero_panel h2 { max-width: 24ch !important; font-size: clamp(1.65rem, 7vw, 2.25rem) !important; }
  #pb_root .hero_panel p { font-size: .88rem !important; }
  #pb_root .dashboard_hero_actions { display: grid !important; grid-template-columns: 1fr 1fr; }
  #pb_root .dashboard_hero_actions a { min-height: 2.8rem !important; }
  #pb_root #project_section { padding: .8rem !important; }
  #pb_root .guard_item { flex-basis: 7.5rem; }
}

/* Original Lucide SVG assets, vendored from the upstream package. */
#pb_root img.lucide-asset{display:inline-block;object-fit:contain;filter:brightness(0) saturate(100%) invert(82%) sepia(36%) saturate(676%) hue-rotate(145deg) brightness(97%) contrast(91%)}
#pb_root .drop_visual img.lucide-asset{width:1.7em;height:1.7em}
#pb_root .guard_item img.lucide-asset{width:1.15em;height:1.15em;flex:none}
#pb_root .hero_assurance img.lucide-asset{width:1.15em;height:1.15em;flex:none}
