:root {
  color-scheme: dark;
  --bg: #0a1019;
  --panel: #101925;
  --panel-2: #142131;
  --panel-3: #1b2b3d;
  --panel-hover: #1d3042;
  --line: #26394c;
  --line-soft: #1d2d40;
  --text: #edf6f5;
  --text-2: #b6c9cf;
  --muted: #8097a5;
  --muted-2: #5d7482;
  --accent: #b9f27c;
  --accent-strong: #99dc59;
  --accent-soft: rgba(185, 242, 124, .12);
  --green: #b9f27c;
  --green-soft: rgba(185, 242, 124, .12);
  --pink: #ff9fb0;
  --blue: #87d9f2;
  --amber: #f4c879;
  --teal: #65ddc6;
  --orange: #f5a97d;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --radius: 13px;
  --sidebar-width: 246px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f4f0;
  --panel: #fffefa;
  --panel-2: #faf9f5;
  --panel-3: #f1f0eb;
  --panel-hover: #f2f0fa;
  --line: #e5e3dc;
  --line-soft: #eeece6;
  --text: #22212a;
  --text-2: #595968;
  --muted: #858391;
  --muted-2: #a09eaa;
  --accent: #6d5de3;
  --accent-strong: #5b4bd1;
  --accent-soft: rgba(109,93,227,.09);
  --green: #508c30;
  --green-soft: rgba(91,150,58,.10);
  --pink: #a54b7a;
  --blue: #426cba;
  --amber: #a77a24;
  --teal: #258875;
  --orange: #b36831;
  --shadow: 0 24px 80px rgba(38,34,72,.14);
}
:root[data-theme="oled"] {
  color-scheme: dark;
  --bg: #000;
  --panel: #060708;
  --panel-2: #0a0b0d;
  --panel-3: #111316;
  --panel-hover: #17191d;
  --line: #1b1d21;
  --line-soft: #111317;
  --shadow: 0 24px 80px rgba(0,0,0,.7);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon-library { position: absolute; height: 0; width: 0; overflow: hidden; }
.icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); height: 100vh; position: sticky; top: 0; flex: 0 0 var(--sidebar-width); display: flex; flex-direction: column; padding: 19px 13px 10px; background: var(--panel); border-right: 1px solid var(--line); z-index: 20; }
.sidebar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; padding-bottom: 21px; }.sidebar-head .brand { padding: 0 10px; min-width: 0; }.sidebar-toggle, .sidebar-toggle-top { flex: 0 0 auto; }.sidebar-toggle-top { margin-right: 10px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 21px; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; background: linear-gradient(140deg, #9f8aff, #6d62d9); border-radius: 10px; display: grid; place-items: center; color: #fff; box-shadow: 0 5px 18px rgba(131,113,255,.2); }
.brand-mark .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-copy strong { font-size: 15px; letter-spacing: -.55px; line-height: 1.1; font-weight: 690; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: 1px; font-weight: 700; }
.workspace-picker { border: 1px solid var(--line); background: var(--panel-2); border-radius: 10px; padding: 9px 9px; display: flex; align-items: center; gap: 9px; text-align: left; margin: 0 2px 24px; cursor: pointer; color: var(--text); }
.workspace-picker:hover { border-color: var(--muted-2); }
.workspace-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #dcd5ff; background: linear-gradient(140deg,#6659c5,#353257); font-size: 12px; font-weight: 700; }
.workspace-picker > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.workspace-picker b { font-size: 11px; font-weight: 600; }
.workspace-picker small { font-size: 9px; color: var(--muted); }
.workspace-caret { color: var(--muted); font-size: 16px; }
.sidebar-scroll { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.nav-label { margin: 0 10px 8px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: 1.1px; }
.primary-nav, .service-nav, .project-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item, .service-item, .project-item { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--text-2); text-align: left; cursor: pointer; min-height: 35px; padding: 7px 10px; border-radius: 7px; width: 100%; transition: background .14s ease, color .14s ease; }
.nav-item:hover, .service-item:hover, .project-item:hover { background: var(--panel-hover); color: var(--text); }
.nav-item.active { color: var(--text); background: var(--accent-soft); }
.nav-item.active .icon { color: var(--accent); }
.nav-item .icon { width: 16px; height: 16px; color: var(--muted); }
.nav-item > span:nth-child(2), .service-item > span:nth-child(2), .project-item > span:nth-child(2) { flex: 1; font-size: 11px; }
.nav-count, .service-item small, .project-item small { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.soon-badge { font-size: 8px; letter-spacing: .5px; color: var(--teal); background: rgba(96,203,180,.1); border: 1px solid rgba(96,203,180,.2); padding: 2px 4px; border-radius: 4px; font-weight: 700; }
.nav-divider { height: 1px; background: var(--line-soft); margin: 17px 9px; }
.nav-section-head { display: flex; justify-content: space-between; align-items: center; }
.tiny-plus { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 17px; line-height: 1; padding: 0 9px 7px; }
.tiny-plus:hover { color: var(--text); }
.service-item { min-height: 31px; gap: 9px; padding-top: 6px; padding-bottom: 6px; }
.service-item.selected, .project-item.selected { color: var(--text); background: var(--panel-3); }
.service-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px currentColor; flex: 0 0 auto; }
.dot-violet { background: #a494ff; color: #a494ff; }.dot-blue { background: #86aaff; color: #86aaff; }.dot-pink { background: #e59ac2; color: #e59ac2; }.dot-orange { background: #e8a771; color: #e8a771; }.dot-amber { background: #e8c574; color: #e8c574; }.dot-teal { background: #75d1bf; color: #75d1bf; }
.project-item { min-height: 31px; gap: 9px; padding-top: 6px; padding-bottom: 6px; }
.category-mark { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; }.mark-pink { background: var(--pink); }.mark-amber { background: var(--amber); }.mark-blue { background: var(--blue); }.mark-violet { background: var(--accent); }.mark-teal { background: var(--teal); }
.sidebar-bottom { flex: 0 0 auto; padding-top: 12px; }
.storage-status { display: flex; align-items: center; gap: 8px; padding: 10px 10px 13px; border-bottom: 1px solid var(--line-soft); margin-bottom: 7px; }
.status-pip, .live-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(184,239,125,.65); flex: 0 0 auto; }
.storage-status > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.storage-status b { font-size: 10px; font-weight: 600; }.storage-status small { color: var(--muted); font-size: 9px; }
.settings-link { min-height: 32px; }
.sidebar-foot { display: flex; align-items: center; gap: 6px; color: var(--muted); padding: 11px 10px 2px; font-size: 9px; }
.sidebar-foot b { color: var(--text-2); font-weight: 600; }.mini-atlas { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; color: var(--accent); background: var(--accent-soft); }.mini-atlas .icon { width: 13px; height: 13px; }
.offline-label { margin-left: auto; font-size: 7px; letter-spacing: .7px; color: var(--green); }
.main-column { flex: 1; min-width: 0; }
.topbar { height: 59px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px); }
.breadcrumbs { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }.breadcrumbs .icon { width: 12px; height: 12px; }.breadcrumbs strong { color: var(--text-2); font-weight: 550; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }.global-search { width: min(298px, 28vw); height: 32px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 7px; padding: 0 8px; cursor: pointer; text-align: left; }.global-search:hover { border-color: var(--muted-2); color: var(--text-2); }.global-search .icon { width: 14px; height: 14px; }.global-search span { font-size: 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.global-search kbd, kbd { border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); border-radius: 4px; padding: 2px 5px; font-family: inherit; font-size: 9px; white-space: nowrap; }.topbar-divider { width: 1px; height: 20px; background: var(--line); }.icon-button { display: inline-grid; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 7px; width: 31px; height: 31px; cursor: pointer; }.icon-button:hover { color: var(--text); background: var(--panel-hover); }.icon-button .icon { width: 17px; height: 17px; }.avatar-button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #7363d3; background: linear-gradient(135deg,#4a436d,#29283a); color: #ded8ff; font-size: 10px; font-weight: 700; cursor: pointer; }.mobile-menu { display: none; }
#main-content { max-width: 1470px; margin: 0 auto; padding: 0 42px; outline: none; }
.welcome-row { min-height: 184px; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.welcome-copy { position: relative; z-index: 1; padding: 28px 0; }.eyebrow, .section-kicker { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: 1.2px; }.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }.eyebrow-line { width: 15px; height: 1px; background: var(--accent); }.eyebrow-dot { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.welcome-copy h1 { margin: 0 0 8px; font-size: clamp(27px, 3vw, 37px); font-weight: 570; letter-spacing: -1.7px; line-height: 1.13; }.welcome-copy h1 em, .secondary-heading h1 em { color: var(--accent); font-style: normal; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -1.8px; }.welcome-copy p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .05px; }
.welcome-art { width: 305px; height: 168px; position: absolute; right: 0; top: 6px; opacity: .72; pointer-events: none; overflow: hidden; }.welcome-art:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--bg) 0%,transparent 43%,transparent); }
.orbit { position: absolute; border: 1px solid rgba(162,146,255,.24); border-radius: 50%; transform: rotate(-29deg); }.orbit-one { width: 300px; height: 86px; top: 43px; left: 20px; }.orbit-two { width: 270px; height: 110px; top: 29px; left: 28px; transform: rotate(22deg); }.orbit-three { width: 240px; height: 145px; top: 13px; left: 45px; transform: rotate(-54deg); }.orbit-core { position:absolute; top:68px; left:151px; width:35px; height:35px; border:1px solid rgba(178,159,255,.75); border-radius:50%; display:grid; place-items:center; color:var(--accent); background:var(--accent-soft); box-shadow:0 0 28px rgba(146,128,255,.18); }.orbit-core .icon { width:19px; height:19px; }.orbit-star { position:absolute; width:4px; height:4px; background:var(--green); border-radius:50%; box-shadow:0 0 12px var(--green); }.star-a { top:45px; left:213px; }.star-b { top:120px; left:102px; width:3px; height:3px; }.star-c { top:33px; left:82px; width:2px; height:2px; }.orbit-word { position:absolute; color:var(--muted); font-size:7px; letter-spacing:1.1px; }.orbit-word-a { top:42px; right:3px; }.orbit-word-b { bottom:23px; right:22px; }.orbit-word-c { top:31px; left:16px; }
.stats-strip { min-height: 78px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }.stat-item { display:flex; align-items:center; gap:10px; min-width:148px; }.stat-item > span:last-child { display:flex; flex-direction:column; gap:3px; }.stat-item b { font-size:15px; letter-spacing:-.3px; font-weight:650; font-variant-numeric:tabular-nums; }.stat-item small { color:var(--muted); font-size:9px; }.stat-icon { width:27px; height:27px; border-radius:8px; display:grid; place-items:center; font-size:14px; background:var(--accent-soft); color:var(--accent); }.stat-icon.cyan { background:rgba(115,197,227,.1); color:#8ecce4; }.stat-icon.amber { background:rgba(226,181,97,.1); color:var(--amber); }.stat-separator { width:1px; height:30px; background:var(--line); }.stat-note { margin-left:auto; color:var(--muted); font-size:9px; display:flex; align-items:center; gap:7px; }
.content-section { padding-top: 32px; }.section-heading { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:20px; }.section-heading .section-kicker { margin-bottom:7px; }.section-heading h2 { margin:0; font-size:19px; letter-spacing:-.65px; font-weight:620; }.result-total { display:inline-flex; align-items:center; justify-content:center; vertical-align:3px; margin-left:5px; min-width:19px; height:18px; padding:0 5px; font-size:9px; font-weight:600; color:var(--muted); background:var(--panel-3); border-radius:5px; letter-spacing:0; }
.primary-button, .secondary-button { min-height:34px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid transparent; border-radius:7px; cursor:pointer; white-space:nowrap; font-size:10px; font-weight:620; transition:transform .14s ease, background .14s ease, border-color .14s ease; }.primary-button { background:var(--accent); color:#161323; box-shadow:0 3px 11px rgba(142,123,250,.16); }.primary-button:hover { background:color-mix(in srgb,var(--accent) 86%,white); transform:translateY(-1px); }.primary-button .icon { width:14px; height:14px; }.primary-button kbd { border-color:rgba(23,20,39,.18); color:rgba(23,20,39,.63); background:rgba(255,255,255,.15); padding:1px 4px; font-size:8px; }.secondary-button { color:var(--text-2); border-color:var(--line); background:var(--panel); }.secondary-button:hover { border-color:var(--muted-2); color:var(--text); }.secondary-button .icon { width:14px; height:14px; }
.toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid var(--line); }.filter-tabs { display:flex; align-items:center; gap:17px; overflow:auto; scrollbar-width:none; }.filter-tabs::-webkit-scrollbar { display:none; }.category-tab { height:38px; position:relative; display:flex; align-items:center; gap:6px; border:0; padding:0 1px; white-space:nowrap; background:transparent; color:var(--muted); cursor:pointer; font-size:10px; }.category-tab:hover { color:var(--text-2); }.category-tab.active { color:var(--text); }.category-tab.active:after { content:""; position:absolute; height:2px; left:0; right:0; bottom:-1px; background:var(--accent); border-radius:2px 2px 0 0; }.category-tab span { display:inline-grid; place-items:center; font-size:8px; color:var(--muted); background:var(--panel-3); border-radius:4px; min-width:16px; height:15px; padding:0 3px; }
.toolbar-right { display:flex; align-items:center; gap:8px; }.filter-button, .view-toggle { height:29px; border:1px solid var(--line); background:var(--panel); color:var(--text-2); border-radius:6px; display:flex; align-items:center; gap:6px; padding:0 8px; cursor:pointer; font-size:9px; white-space:nowrap; }.filter-button:hover, .view-toggle:hover { border-color:var(--muted-2); }.filter-button .icon { width:13px; height:13px; color:var(--muted); }.chevron-down { color:var(--muted); font-size:13px; }.view-toggle { gap:0; padding:0 3px; font-size:14px; }.view-toggle span { width:22px; text-align:center; color:var(--muted); }.view-toggle span.active { color:var(--accent); }.active-filter-row { display:flex; align-items:center; gap:7px; padding-top:12px; }.active-filter { border:1px solid var(--line); border-radius:20px; background:var(--panel-2); color:var(--text-2); padding:4px 8px; font-size:9px; cursor:pointer; }.active-filter span { color:var(--muted); margin-left:4px; }.clear-all { border:0; background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }.clear-all:hover { color:var(--text); }
.prompt-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; padding:17px 0 10px; }.prompt-card { min-width:0; min-height:243px; background:var(--panel); border:1px solid var(--line); border-radius:11px; padding:14px 14px 0; display:flex; flex-direction:column; cursor:pointer; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; overflow:hidden; }.prompt-card:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--accent) 36%,var(--line)); box-shadow:0 8px 25px rgba(0,0,0,.09); }.card-topline { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }.service-badge { display:inline-flex; align-items:center; gap:6px; color:var(--text-2); background:var(--panel-3); border:1px solid var(--line-soft); padding:4px 7px; border-radius:5px; font-size:9px; font-weight:550; white-space:nowrap; }.service-badge .service-dot { width:6px; height:6px; }.favorite-button { display:grid; place-items:center; width:26px; height:26px; border:0; border-radius:6px; background:transparent; color:var(--muted); cursor:pointer; }.favorite-button:hover { color:var(--amber); background:rgba(226,181,97,.08); }.favorite-button .icon { width:15px; height:15px; }.favorite-button.is-favorite { color:var(--amber); }.favorite-button.is-favorite .icon { fill:currentColor; }.card-type-row { display:flex; align-items:center; gap:7px; margin-bottom:7px; overflow:hidden; }.type-label { color:var(--accent); font-size:8px; font-weight:700; letter-spacing:.55px; text-transform:uppercase; white-space:nowrap; }.category-label { color:var(--muted); font-size:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.card-type-row .category-label:before { content:"/"; color:var(--muted-2); margin-right:7px; }.prompt-card h3 { margin:0 0 6px; font-size:13px; line-height:1.4; letter-spacing:-.2px; font-weight:620; }.card-description { min-height:31px; margin:0; color:var(--muted); font-size:10px; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }.card-tags { display:flex; gap:5px; margin:12px 0 11px; overflow:hidden; white-space:nowrap; }.tag { color:var(--muted); border:1px solid var(--line-soft); background:var(--panel-2); border-radius:4px; padding:3px 5px; font-size:8px; line-height:1; white-space:nowrap; }.card-meta { display:flex; align-items:center; gap:7px; margin-top:auto; padding:9px 0 10px; color:var(--muted); font-size:8px; border-top:1px solid var(--line-soft); }.difficulty { display:inline-flex; align-items:center; gap:5px; }.difficulty-dot { width:5px; height:5px; border-radius:50%; background:var(--green); }.difficulty-dot.intermediate { background:var(--amber); }.difficulty-dot.advanced { background:var(--pink); }.meta-separator { width:2px; height:2px; background:var(--muted-2); border-radius:50%; }.card-meta-spacer { flex:1; }.card-read-time { font-size:7px; letter-spacing:.7px; color:var(--muted-2); font-weight:700; }.card-actions { margin:0 -14px; min-height:37px; display:flex; border-top:1px solid var(--line-soft); }.card-actions button { display:flex; align-items:center; justify-content:center; gap:6px; border:0; cursor:pointer; font-size:9px; }.card-copy { flex:1; color:var(--muted); background:transparent; }.card-copy .icon { width:12px; height:12px; }.card-copy:hover { color:var(--text); background:var(--panel-2); }.card-use { min-width:94px; padding:0 11px; color:var(--accent); background:var(--accent-soft); font-weight:620; }.card-use:hover { background:color-mix(in srgb,var(--accent) 20%,transparent); }.card-use span { font-size:12px; }
.prompt-grid.list-view { grid-template-columns:1fr; }.list-view .prompt-card { min-height:0; display:grid; grid-template-columns:minmax(155px,.8fr) minmax(180px,1.2fr) minmax(150px,.8fr) auto; align-items:center; column-gap:15px; padding:10px 12px; }.list-view .card-topline { margin:0; }.list-view .favorite-button { position:absolute; margin-left:125px; }.list-view .card-type-row { display:none; }.list-view .prompt-card h3 { margin:0; }.list-view .card-description { display:none; }.list-view .card-tags { display:none; }.list-view .card-meta { border:0; margin:0; padding:0; }.list-view .card-actions { border:0; margin:0; min-height:30px; }.list-view .card-copy { display:none; }.list-view .card-use { border-radius:5px; }
.library-footer { display:flex; align-items:center; justify-content:space-between; padding:13px 0 25px; color:var(--muted); font-size:9px; }.library-footer b { color:var(--text-2); font-weight:550; }.footer-source { display:flex; align-items:center; gap:6px; }.footer-source .live-dot { width:5px; height:5px; }
.empty-state { text-align:center; padding:50px 20px; color:var(--muted); }.empty-state h3 { margin:11px 0 6px; color:var(--text); font-size:15px; }.empty-state p { margin:0 0 12px; font-size:11px; }.empty-illustration { width:42px; height:42px; border:1px solid var(--line); background:var(--panel); color:var(--accent); display:grid; place-items:center; border-radius:13px; margin:auto; }.text-button { color:var(--accent); border:0; background:transparent; cursor:pointer; font-size:10px; }
.app-footer { display:flex; align-items:center; justify-content:space-between; padding:15px 0 20px; border-top:1px solid var(--line-soft); color:var(--muted-2); font-size:8px; letter-spacing:.4px; }.app-footer > span { display:flex; align-items:center; gap:6px; }.app-footer .icon { width:13px; height:13px; color:var(--accent); }.footer-sep { color:var(--muted-2); margin:0 2px; }
.page-panel[hidden] { display:none; }.secondary-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; padding:42px 0 28px; border-bottom:1px solid var(--line); }.secondary-heading .section-kicker { margin-bottom:10px; }.secondary-heading h1 { margin:0 0 7px; font-size:32px; letter-spacing:-1.4px; font-weight:560; }.secondary-heading p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }.secondary-heading code, .privacy-callout code, .vault-empty code, .editor-heading code { color:var(--accent); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.95em; background:var(--accent-soft); padding:2px 4px; border-radius:4px; }
.privacy-callout { display:flex; gap:10px; max-width:720px; margin:21px 0; padding:12px 14px; border:1px solid rgba(128,211,183,.19); background:rgba(128,211,183,.045); border-radius:8px; color:var(--muted); font-size:10px; line-height:1.55; }.privacy-callout b { color:var(--teal); font-weight:600; }.privacy-icon { color:var(--teal); font-size:16px; }.vault-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:2px 0 32px; }.vault-card { border:1px solid var(--line); background:var(--panel); border-radius:10px; padding:14px; min-height:175px; }.vault-card-top { display:flex; justify-content:space-between; align-items:center; }.vault-symbol { width:27px; height:27px; display:grid; place-items:center; border-radius:8px; color:var(--accent); background:var(--accent-soft); font-size:11px; font-weight:700; }.text-icon-button { color:var(--muted); background:transparent; border:0; cursor:pointer; font-size:17px; }.text-icon-button:hover { color:var(--pink); }.vault-kind { margin-top:13px; color:var(--muted); font-size:8px; letter-spacing:.8px; font-weight:700; }.vault-card h3 { margin:5px 0 5px; font-size:13px; }.vault-card p { color:var(--muted); font-size:10px; line-height:1.5; margin:0 0 10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }.vault-card code { display:inline-block; padding:4px 6px; border:1px solid var(--line); background:var(--panel-2); color:var(--accent); font-size:9px; border-radius:5px; font-family:ui-monospace,monospace; }.copy-key { margin-left:7px; border:0; color:var(--muted); background:transparent; cursor:pointer; font-size:9px; }.copy-key .icon { width:11px; height:11px; vertical-align:-2px; }.vault-empty { grid-column:1/-1; text-align:center; padding:54px 20px; border:1px dashed var(--line); border-radius:12px; }.vault-empty-icon { margin:auto auto 12px; width:42px; height:42px; display:grid; place-items:center; color:var(--accent); background:var(--accent-soft); border-radius:13px; font-size:21px; }.vault-empty h3 { margin:0 0 7px; font-size:15px; }.vault-empty p { max-width:400px; margin:0 auto 16px; color:var(--muted); font-size:10px; line-height:1.6; }
.beta-pill { color:var(--teal); border:1px solid rgba(127,214,196,.26); background:rgba(127,214,196,.08); border-radius:5px; padding:5px 8px; font-size:8px; font-weight:750; letter-spacing:.7px; }.workflow-intro { display:flex; align-items:center; gap:16px; margin:26px 0 15px; padding:20px; background:linear-gradient(115deg,var(--accent-soft),transparent 76%),var(--panel); border:1px solid var(--line); border-radius:12px; }.workflow-orbit { width:47px; height:47px; display:grid; place-items:center; border:1px solid rgba(162,146,255,.3); background:var(--accent-soft); color:var(--accent); border-radius:50%; flex:0 0 auto; }.workflow-orbit .icon { width:21px; height:21px; }.eyebrow-small { color:var(--muted); font-size:8px; letter-spacing:1px; font-weight:700; }.workflow-intro h2 { margin:4px 0; font-size:16px; letter-spacing:-.5px; }.workflow-intro p { margin:0; color:var(--muted); font-size:10px; }.workflow-steps { max-width:750px; }.workflow-step { display:flex; align-items:center; gap:13px; padding:13px; border:1px solid var(--line); background:var(--panel); border-radius:9px; }.step-number { color:var(--muted-2); font:10px ui-monospace,monospace; }.workflow-icon { width:31px; height:31px; border-radius:8px; display:grid; place-items:center; }.violet-bg { color:var(--accent); background:var(--accent-soft); }.blue-bg { color:var(--blue); background:rgba(125,157,255,.12); }.orange-bg { color:var(--orange); background:rgba(232,167,113,.12); }.workflow-step > div { flex:1; }.workflow-step b { display:block; margin-bottom:4px; font-size:11px; }.workflow-step p { margin:0; color:var(--muted); font-size:9px; }.step-service { color:var(--text-2); background:var(--panel-3); border-radius:5px; padding:5px 7px; font-size:9px; }.workflow-connector { margin-left:29px; width:1px; height:14px; background:var(--line); }.workflow-note { max-width:750px; margin:13px 0 25px; padding-left:10px; color:var(--muted); border-left:2px solid var(--amber); font-size:9px; line-height:1.55; }
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:24px 0 12px; }.settings-card { display:flex; align-items:flex-start; gap:13px; min-height:140px; border:1px solid var(--line); background:var(--panel); padding:16px; border-radius:10px; }.settings-card-icon { flex:0 0 auto; display:grid; place-items:center; width:29px; height:29px; border-radius:8px; background:var(--panel-3); color:var(--accent); font-size:15px; }.settings-card > div:nth-child(2) { flex:1; }.settings-card h3 { margin:1px 0 5px; font-size:12px; }.settings-card p { margin:0 0 13px; max-width:350px; color:var(--muted); font-size:9px; line-height:1.5; }.theme-options { display:flex; flex-wrap:wrap; gap:6px; }.theme-option { display:flex; align-items:center; gap:5px; padding:5px 7px; background:var(--panel-2); border:1px solid var(--line); border-radius:6px; color:var(--text-2); font-size:9px; cursor:pointer; }.theme-option.selected { border-color:var(--accent); color:var(--text); }.theme-swatch { display:inline-block; width:11px; height:11px; border:1px solid var(--line); border-radius:3px; background:#151820; }.theme-swatch.light { background:#f5f4f0; }.theme-swatch.oled { background:#000; }.theme-check { color:var(--accent); margin-left:3px; }.settings-actions { display:flex; gap:7px; }.settings-actions .secondary-button { min-height:29px; padding:0 9px; font-size:9px; }.storage-details { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:9px; }.storage-details span:first-child { display:flex; align-items:center; gap:6px; }.shortcut-list { display:grid; grid-template-columns:1fr auto; align-items:center; gap:7px 20px; color:var(--muted); font-size:9px; }.shortcut-list kbd { justify-self:end; }.settings-footnote { max-width:650px; border-top:1px solid var(--line-soft); padding:14px 0 28px; color:var(--muted-2); font-size:9px; line-height:1.5; }
.modal { width:min(900px,calc(100vw - 36px)); max-height:min(88vh,900px); overflow:auto; padding:0; border:1px solid var(--line); border-radius:14px; background:var(--panel); color:var(--text); box-shadow:var(--shadow); }.modal::backdrop { background:rgba(5,6,9,.68); backdrop-filter:blur(4px); }.modal-close-wrap { position:sticky; top:0; z-index:4; height:0; }.modal-close { position:absolute; right:12px; top:12px; background:var(--panel-3); color:var(--muted); }.modal-close .icon { width:15px; height:15px; }.detail-modal { width:min(950px,calc(100vw - 36px)); }.detail-heading { display:flex; gap:18px; justify-content:space-between; padding:28px 30px 21px; border-bottom:1px solid var(--line); }.detail-heading h2 { margin:10px 0 6px; font-size:22px; letter-spacing:-.8px; }.detail-heading p { max-width:650px; margin:0; color:var(--muted); font-size:11px; line-height:1.55; }.detail-badges { display:flex; gap:8px; align-items:center; }.detail-badges .category-label:before { content:""; }.detail-favorite { margin:7px 26px 0 0; flex:0 0 auto; }.detail-layout { display:grid; grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr); min-height:290px; }.detail-form-pane, .detail-preview-pane { padding:22px 26px; }.detail-form-pane { border-right:1px solid var(--line); }.pane-label { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; color:var(--muted); font-size:8px; font-weight:750; letter-spacing:1px; }.pane-label span { font-size:8px; letter-spacing:.4px; color:var(--muted-2); }.mono-chip { padding:3px 5px; background:var(--panel-3); border:1px solid var(--line); border-radius:4px; font-family:ui-monospace,monospace; }.variable-fields { display:flex; flex-direction:column; gap:12px; }.variable-field { display:flex; flex-direction:column; gap:6px; }.variable-field > span { display:flex; align-items:center; justify-content:space-between; gap:8px; }.variable-field b { color:var(--text-2); font-size:9px; font-weight:600; }.variable-field small { color:var(--accent); font:8px ui-monospace,monospace; }.variable-field input, .variable-field select, .editor-form input, .editor-form textarea, .editor-form select { width:100%; border:1px solid var(--line); background:var(--panel-2); color:var(--text); border-radius:6px; min-height:33px; padding:8px 9px; outline:none; font-size:10px; }.variable-field input::placeholder, .editor-form input::placeholder, .editor-form textarea::placeholder { color:var(--muted-2); }.variable-field input:focus, .variable-field select:focus, .editor-form input:focus, .editor-form textarea:focus, .editor-form select:focus { border-color:var(--accent); }.no-variables { padding:17px 10px; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:7px; font-size:10px; }.vault-hint { display:flex; justify-content:space-between; width:100%; margin-top:15px; padding:9px 0 0; border:0; border-top:1px solid var(--line-soft); background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }.vault-hint span { color:var(--accent); }.prompt-preview { min-height:181px; max-height:340px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; margin:0; padding:13px; border:1px solid var(--line); border-radius:7px; background:var(--panel-2); color:var(--text-2); font:10px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; }.detail-actions { display:flex; gap:8px; margin-top:12px; }.detail-actions .primary-button { min-height:32px; }.detail-actions .secondary-button { min-height:32px; font-size:9px; }.detail-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding:13px 26px; color:var(--muted); font-size:9px; }.bottom-sep { color:var(--muted-2); padding:0 7px; }.detail-tags { display:flex; gap:5px; flex-wrap:wrap; }
.editor-modal, .vault-modal { width:min(580px,calc(100vw - 30px)); }.editor-heading { padding:28px 28px 18px; border-bottom:1px solid var(--line); }.editor-heading .section-kicker { margin-bottom:9px; }.editor-heading h2 { margin:0 0 6px; font-size:20px; letter-spacing:-.6px; }.editor-heading p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }.editor-form { display:flex; flex-direction:column; gap:13px; padding:20px 28px 26px; }.editor-form label { display:flex; flex-direction:column; gap:6px; color:var(--text-2); font-size:9px; font-weight:600; }.editor-form input, .editor-form select { min-height:34px; }.editor-form textarea { resize:vertical; min-height:145px; font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; }.editor-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.editor-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:6px; color:var(--muted); font-size:9px; }.editor-foot .primary-button { min-height:32px; }
.command-modal { width:min(570px,calc(100vw - 26px)); max-height:min(75vh,610px); overflow:hidden; border-radius:12px; margin-top:12vh; }.command-search-row { display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--line); }.command-search-row .icon { color:var(--accent); }.command-search-row input { flex:1; min-width:0; border:0; background:transparent; outline:none; color:var(--text); font-size:12px; }.command-search-row input::placeholder { color:var(--muted); }.command-results { max-height:calc(75vh - 105px); overflow:auto; padding:9px; }.command-group-label { color:var(--muted); font-size:8px; letter-spacing:.9px; font-weight:750; padding:7px 7px 5px; }.command-result { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:8px; border:0; border-radius:7px; background:transparent; cursor:pointer; }.command-result:hover, .command-result.selected { background:var(--panel-3); }.command-result-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:7px; color:var(--accent); background:var(--accent-soft); }.command-result-icon .icon { width:14px; height:14px; }.command-result > span:nth-child(2) { display:flex; flex-direction:column; gap:3px; flex:1; }.command-result b { font-size:10px; font-weight:550; }.command-result small { color:var(--muted); font-size:8px; }.command-result kbd { opacity:0; }.command-result.selected kbd { opacity:1; }.command-empty { text-align:center; padding:28px 12px; color:var(--muted); font-size:10px; }.command-hint { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding:9px 14px; color:var(--muted-2); font-size:8px; }.hint-dot { padding:0 5px; }
.toast-region { position:fixed; z-index:100; bottom:20px; right:20px; display:flex; flex-direction:column; align-items:flex-end; gap:7px; pointer-events:none; }.toast { display:flex; align-items:center; gap:9px; min-width:205px; max-width:min(380px,calc(100vw - 40px)); padding:10px 13px; border:1px solid var(--line); border-radius:8px; color:var(--text); background:var(--panel-2); box-shadow:var(--shadow); font-size:10px; animation:toast-in .18s ease-out; }.toast-mark { width:16px; height:16px; display:grid; place-items:center; border-radius:50%; color:#1b2516; background:var(--green); font-size:9px; font-weight:800; }.toast.error .toast-mark { color:#2a1111; background:var(--pink); }.toast.leaving { opacity:0; transform:translateY(4px); transition:.2s ease; }@keyframes toast-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@media (min-width: 1450px) { #main-content { padding-left:56px; padding-right:56px; }.prompt-grid { gap:15px; }.prompt-card { min-height:253px; } }
@media (max-width: 1120px) { :root { --sidebar-width:220px; } #main-content { padding:0 29px; }.topbar { padding:0 29px; }.prompt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.filter-tabs { gap:13px; }.category-tab { font-size:9px; } }
@media (max-width: 760px) { :root { --sidebar-width:245px; }.sidebar { position:fixed; left:0; top:0; bottom:0; transform:translateX(-102%); transition:transform .2s ease; box-shadow:var(--shadow); }.sidebar.mobile-open { transform:translateX(0); }.main-column { width:100%; }.topbar { height:54px; padding:0 16px; gap:8px; }.mobile-menu { display:inline-grid; }.breadcrumbs { margin-right:auto; }.topbar-actions { gap:8px; }.global-search { width:35px; border:0; background:transparent; padding:0; justify-content:center; }.global-search span,.global-search kbd { display:none; }.topbar-divider { display:none; } #main-content { padding:0 18px; }.welcome-row { min-height:155px; }.welcome-copy h1 { max-width:420px; font-size:29px; }.welcome-copy p { font-size:11px; }.welcome-art { right:-120px; opacity:.48; }.stats-strip { gap:12px; min-height:70px; }.stat-item { min-width:auto; gap:7px; }.stat-item small { font-size:8px; }.stat-item b { font-size:13px; }.stat-icon { width:24px; height:24px; }.stat-separator { height:25px; }.stat-note { display:none; }.content-section { padding-top:24px; }.filter-tabs { max-width:calc(100vw - 155px); }.toolbar { align-items:center; }.toolbar-right { gap:5px; }.filter-button { padding:0 6px; }.view-toggle { display:none; }.prompt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.prompt-card { min-height:251px; padding:11px 10px 0; }.card-actions { margin:0 -10px; }.card-copy { font-size:8px!important; }.card-use { min-width:76px; padding:0 5px; font-size:8px!important; }.card-tags { gap:3px; }.tag { font-size:7px; padding:3px 4px; }.secondary-heading { padding-top:30px; }.vault-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.settings-grid { grid-template-columns:1fr; }.detail-layout { grid-template-columns:1fr; }.detail-form-pane { border-right:0; border-bottom:1px solid var(--line); }.detail-heading { padding:24px 20px 17px; }.detail-form-pane,.detail-preview-pane { padding:17px 20px; }.detail-bottom { padding:12px 20px; }.detail-tags { display:none; }.app-footer { gap:8px; }.app-footer > span:last-child { font-size:7px; } }
@media (max-width: 510px) { #main-content { padding:0 14px; }.topbar { padding:0 10px; }.breadcrumbs { font-size:9px; }.welcome-row { min-height:145px; }.welcome-copy h1 { max-width:320px; font-size:26px; }.welcome-art { right:-166px; opacity:.36; }.stats-strip { gap:8px; justify-content:space-between; }.stat-item { gap:5px; }.stat-item small { max-width:79px; line-height:1.2; }.stat-icon { width:22px; height:22px; border-radius:6px; font-size:12px; }.stat-separator { display:none; }.section-heading { align-items:center; margin-bottom:14px; }.section-heading h2 { font-size:17px; }.section-heading .primary-button { width:34px; min-width:34px; padding:0; }.section-heading .primary-button span,.section-heading .primary-button kbd { display:none; }.filter-tabs { max-width:calc(100vw - 118px); gap:12px; }.category-tab { font-size:8px; }.filter-button { font-size:8px; gap:4px; }.prompt-grid { grid-template-columns:1fr; gap:9px; }.prompt-card { min-height:0; padding:13px 13px 0; }.card-topline { margin-bottom:10px; }.card-description { min-height:0; }.card-tags { margin:9px 0; }.card-actions { margin:0 -13px; }.list-view .prompt-card { display:flex; align-items:stretch; }.list-view .card-topline { margin-bottom:10px; }.list-view .favorite-button { position:static; margin-left:0; }.list-view .card-type-row { display:flex; }.list-view .card-description { display:-webkit-box; }.list-view .card-tags { display:flex; }.list-view .card-meta { border-top:1px solid var(--line-soft); padding:9px 0; }.list-view .card-actions { margin:0 -13px; border-top:1px solid var(--line-soft); }.list-view .card-copy { display:flex; }.library-footer { padding-bottom:20px; }.app-footer { flex-direction:column; align-items:flex-start; }.secondary-heading { align-items:flex-start; flex-direction:column; gap:12px; }.secondary-heading h1 { font-size:27px; }.vault-grid { grid-template-columns:1fr; }.settings-card { padding:13px; }.detail-modal { width:calc(100vw - 16px); max-height:92vh; }.detail-heading h2 { font-size:18px; }.detail-heading { gap:7px; }.detail-favorite { margin-right:22px; }.detail-actions { flex-wrap:wrap; }.detail-actions .primary-button { flex:1; }.editor-row { grid-template-columns:1fr; }.editor-form { padding:17px 19px 22px; }.editor-heading { padding:24px 19px 16px; }.command-modal { margin-top:8vh; }.toast-region { bottom:12px; right:12px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

.version-panel { padding: 0 26px 16px; border-top: 1px solid var(--line-soft); }.version-panel-heading { display:flex; justify-content:space-between; padding:12px 0 7px; color:var(--text-2); font-size:9px; }.version-panel-heading span { color:var(--muted); }.version-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 0; border-top:1px solid var(--line-soft); }.version-row > span { display:flex; flex-direction:column; gap:3px; }.version-row b { color:var(--text-2); font-size:9px; font-weight:550; }.version-row small { color:var(--muted); font-size:8px; }.version-row .secondary-button { min-height:26px; font-size:8px; }
@media (max-width:760px) { .version-panel { padding-left:20px; padding-right:20px; } }


/* Atlas Nocturne — mineral-night surfaces, contour glow, and field-green signal. */
body { background: radial-gradient(ellipse at 82% 0%, rgba(54,120,142,.11), transparent 33rem), var(--bg); }
.brand-mark { color:#102018; background:linear-gradient(140deg,#d3ff9c,#62d8c1); box-shadow:0 5px 22px rgba(123,226,164,.2); }
.welcome-row:before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 86% 44%,rgba(92,194,188,.08),transparent 38%),repeating-radial-gradient(ellipse at 91% 53%,transparent 0 17px,rgba(126,217,204,.055) 18px 19px,transparent 20px 34px); mask-image:linear-gradient(90deg,transparent 14%,#000 70%); }
.orbit { border-color:rgba(126,217,204,.24); }.orbit-core { border-color:rgba(185,242,124,.56); box-shadow:0 0 28px rgba(101,221,198,.16); }.orbit-core .icon { color:var(--green); }
.primary-button { box-shadow:0 4px 18px rgba(185,242,124,.11); }.primary-button:hover { box-shadow:0 6px 22px rgba(185,242,124,.2); }
.workflow-ide-root { padding:22px 0 38px; }
.workflow-ide { color:var(--text); }
.workflow-banner { display:flex; align-items:center; gap:13px; padding:15px 17px; border:1px solid rgba(101,221,198,.2); background:linear-gradient(105deg,rgba(101,221,198,.08),rgba(185,242,124,.035) 57%,var(--panel)); border-radius:11px; margin-bottom:17px; }
.workflow-banner-mark { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; color:var(--green); background:var(--accent-soft); font-size:19px; }
.workflow-banner > div:nth-child(2) { flex:1; min-width:0; }.workflow-banner b { font-size:11px; font-weight:650; }.workflow-banner p { margin:4px 0 0; color:var(--muted); font-size:9px; line-height:1.45; }
.local-badge,.result-local-tag { color:var(--green); border:1px solid rgba(185,242,124,.18); background:rgba(185,242,124,.055); border-radius:5px; padding:5px 7px; font-size:7px; font-weight:750; letter-spacing:.7px; white-space:nowrap; }
.workflow-layout { display:grid; grid-template-columns:minmax(0,1.42fr) minmax(270px,.78fr); gap:14px; align-items:start; }
.workflow-builder-panel,.provider-panel { min-width:0; border:1px solid var(--line); border-radius:11px; background:color-mix(in srgb,var(--panel) 94%,transparent); box-shadow:0 12px 42px rgba(0,0,0,.08); }
.workflow-builder-panel { padding:17px; }.provider-panel { padding:16px; }
.workflow-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.workflow-panel-heading > div { min-width:0; }.workflow-panel-heading h2 { margin:5px 0 4px; font-size:15px; letter-spacing:-.4px; font-weight:630; }.workflow-panel-heading p { margin:0; color:var(--muted); font-size:9px; line-height:1.45; }
.workflow-kicker { color:var(--teal); font-size:7px; font-weight:780; letter-spacing:1px; }.workflow-new-button { min-height:29px; font-size:8px; padding:0 9px; }
.workflow-toolbar { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(150px,1fr) auto; gap:9px; align-items:end; margin:17px 0 12px; padding:11px; border:1px solid var(--line-soft); background:var(--panel-2); border-radius:8px; }
.workflow-label { min-width:0; display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:7px; font-weight:750; letter-spacing:.55px; text-transform:uppercase; }.workflow-label input,.workflow-label select,.workflow-label textarea { width:100%; min-width:0; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:6px; padding:8px 9px; outline:none; font-size:10px; letter-spacing:0; text-transform:none; font-weight:450; transition:border-color .14s,box-shadow .14s; }.workflow-label input,.workflow-label select { height:32px; }.workflow-label textarea { resize:vertical; min-height:78px; line-height:1.55; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:9px; }.workflow-label input:focus,.workflow-label select:focus,.workflow-label textarea:focus { border-color:var(--teal); box-shadow:0 0 0 2px rgba(101,221,198,.1); }.workflow-label input::placeholder,.workflow-label textarea::placeholder { color:var(--muted-2); }.workflow-label input:disabled { opacity:.55; cursor:not-allowed; }.workflow-save-button { min-height:32px; font-size:8px; }
.workflow-input-panel { padding:12px; border:1px solid rgba(135,217,242,.14); background:linear-gradient(110deg,rgba(135,217,242,.055),transparent 75%); border-radius:8px; }.workflow-input-heading { display:flex; align-items:center; gap:8px; margin-bottom:10px; }.workflow-input-heading > span { width:21px; height:21px; display:grid; place-items:center; border-radius:6px; background:rgba(135,217,242,.12); color:var(--blue); font-size:8px; font-weight:750; }.workflow-input-heading > div { display:flex; flex-direction:column; gap:2px; }.workflow-input-heading b { color:var(--text-2); font-size:9px; }.workflow-input-heading small { color:var(--muted); font-size:8px; }.workflow-input-fields { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pipeline-steps-heading { display:flex; justify-content:space-between; align-items:center; margin:16px 1px 8px; }.pipeline-steps-heading > div { display:flex; align-items:center; gap:8px; }.pipeline-steps-heading .text-button { font-size:8px; }.step-count { color:var(--muted); background:var(--panel-3); padding:3px 6px; border-radius:4px; font-size:7px; }.pipeline-steps { display:flex; flex-direction:column; gap:8px; }.pipeline-step-card { display:grid; grid-template-columns:29px minmax(0,1fr); gap:9px; padding:11px 10px 11px 7px; border:1px solid var(--line); border-radius:8px; background:linear-gradient(135deg,var(--panel-2),var(--panel)); }.pipeline-step-index { display:flex; flex-direction:column; align-items:center; gap:7px; color:var(--teal); font-size:8px; font-weight:750; }.pipeline-step-index i { width:1px; flex:1; min-height:20px; background:linear-gradient(var(--teal),var(--line)); opacity:.42; }.pipeline-step-card:last-child .pipeline-step-index i { opacity:.08; }.pipeline-step-body { min-width:0; }.pipeline-step-title-row { display:flex; align-items:flex-end; gap:9px; margin-bottom:8px; }.step-title-field { flex:1; }.pipeline-step-actions { display:flex; gap:3px; padding-bottom:1px; }.step-icon-button { width:24px; height:26px; display:grid; place-items:center; border:1px solid var(--line); border-radius:5px; background:var(--panel); color:var(--text-2); font-size:11px; cursor:pointer; }.step-icon-button:hover:not(:disabled) { color:var(--green); border-color:var(--muted-2); }.step-icon-button.remove:hover:not(:disabled) { color:var(--pink); border-color:var(--pink); }.step-icon-button:disabled { opacity:.35; cursor:not-allowed; }.pipeline-step-config { display:grid; grid-template-columns:.78fr 1.22fr; gap:8px; margin-bottom:8px; }.step-variable-hint { margin-top:6px; color:var(--muted); font-size:7px; line-height:1.5; }.step-variable-hint code { color:var(--teal); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:7px; background:rgba(101,221,198,.065); padding:2px 3px; border-radius:3px; }
.workflow-run-controls { display:flex; align-items:center; gap:10px; margin:13px 0 15px; }.workflow-run-button { min-height:36px; min-width:132px; font-size:9px; }.workflow-run-button:disabled { cursor:not-allowed; opacity:.55; transform:none; }.run-cost-note { color:var(--muted); font-size:8px; line-height:1.4; }.button-spinner { width:11px; height:11px; border:1px solid rgba(16,32,24,.25); border-top-color:#142213; border-radius:50%; animation:workflow-spin .7s linear infinite; }@keyframes workflow-spin { to { transform:rotate(360deg); } }
.workflow-results { border-top:1px solid var(--line); padding-top:13px; }.workflow-results-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }.workflow-results-heading h3 { margin:4px 0 0; font-size:12px; letter-spacing:-.2px; }.workflow-results-body { display:flex; flex-direction:column; gap:7px; }.workflow-run-empty { display:flex; align-items:center; gap:10px; min-height:60px; border:1px dashed var(--line); border-radius:7px; padding:10px; color:var(--muted); }.run-empty-icon { width:25px; height:25px; display:grid; place-items:center; border-radius:7px; color:var(--teal); background:rgba(101,221,198,.08); font-size:15px; }.workflow-run-empty > span:last-child { display:flex; flex-direction:column; gap:4px; }.workflow-run-empty b { color:var(--text-2); font-size:8px; }.workflow-run-empty small { font-size:8px; }.run-state { display:flex; align-items:center; gap:6px; font-size:8px; padding:5px 1px; }.run-state i { width:15px; height:15px; display:grid; place-items:center; border-radius:50%; font-style:normal; background:var(--accent-soft); color:var(--green); font-weight:750; }.run-state.running { color:var(--blue); }.run-state.running i { width:8px; height:8px; border:1px solid var(--blue); border-right-color:transparent; background:transparent; animation:workflow-spin .7s linear infinite; }.run-state.success { color:var(--green); }.run-state.error { color:var(--pink); }.run-state.error i { color:var(--pink); background:rgba(255,159,176,.1); }
.workflow-output-card { border:1px solid var(--line); border-radius:7px; background:var(--panel-2); overflow:hidden; }.output-step-meta { display:flex; align-items:center; gap:7px; padding:7px 9px; border-bottom:1px solid var(--line-soft); }.output-step-meta > span { color:var(--teal); font-size:7px; font-weight:750; }.output-step-meta b { color:var(--text-2); font-size:8px; font-weight:620; }.output-step-meta small { margin-left:auto; color:var(--muted); font-size:7px; }.workflow-output-card pre { max-height:270px; overflow:auto; margin:0; padding:9px; color:var(--text-2); white-space:pre-wrap; overflow-wrap:anywhere; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:8px; line-height:1.6; }
.provider-heading { align-items:flex-start; }.clear-key-button { padding:3px 0; color:var(--muted); font-size:8px; }.provider-privacy-note { display:flex; gap:8px; margin:12px 0; padding:10px; border:1px solid rgba(185,242,124,.15); border-radius:7px; background:rgba(185,242,124,.045); color:var(--green); }.provider-privacy-note > span { font-size:9px; padding-top:1px; }.provider-privacy-note b { font-size:8px; font-weight:700; }.provider-privacy-note p { margin:4px 0 0; color:var(--muted); font-size:7px; line-height:1.5; }.provider-test-list { display:flex; flex-direction:column; gap:8px; }.provider-test-card { padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); }.provider-test-head { display:flex; align-items:center; gap:8px; margin-bottom:9px; }.provider-mark { width:24px; height:24px; display:grid; place-items:center; border-radius:7px; font-size:12px; }.provider-mark.violet { color:var(--accent); background:var(--accent-soft); }.provider-mark.blue { color:var(--blue); background:rgba(135,217,242,.1); }.provider-mark.teal { color:var(--teal); background:rgba(101,221,198,.1); }.provider-test-head > span:nth-child(2) { display:flex; flex-direction:column; gap:2px; flex:1; }.provider-test-head b { color:var(--text-2); font-size:9px; }.provider-test-head small { color:var(--muted); font-size:7px; }.provider-indicator { width:6px; height:6px; border-radius:50%; background:var(--muted-2); }.provider-indicator.success { background:var(--green); box-shadow:0 0 8px var(--green); }.provider-indicator.error { background:var(--pink); }.provider-indicator.busy { background:var(--blue); animation:workflow-pulse .7s ease-in-out infinite alternate; }@keyframes workflow-pulse { to { opacity:.35; } }.provider-test-card > .workflow-label + .workflow-label { margin-top:7px; }.provider-test-card .workflow-label input { height:30px; padding:6px 8px; font-size:9px; }.provider-test-actions { display:flex; align-items:center; gap:8px; margin-top:8px; }.provider-test-actions .secondary-button { min-height:27px; padding:0 8px; font-size:8px; }.provider-test-actions button:disabled { cursor:not-allowed; opacity:.5; }.provider-test-status { color:var(--muted); font-size:7px; }.provider-test-status.success { color:var(--green); }.provider-test-status.error { color:var(--pink); }.provider-test-status.busy { color:var(--blue); }.provider-test-output { margin:8px 0 0; padding:7px; color:var(--text-2); background:var(--bg); border-radius:5px; font-size:8px; line-height:1.45; }.backend-status { display:flex; align-items:center; gap:7px; margin-top:10px; padding:8px; border-radius:6px; background:var(--panel-3); color:var(--muted); font-size:7px; line-height:1.45; }.backend-status.ready { color:var(--green); background:rgba(185,242,124,.055); }.backend-status-dot { width:6px; height:6px; flex:0 0 auto; border-radius:50%; background:var(--muted-2); }.backend-status.ready .backend-status-dot { background:var(--green); box-shadow:0 0 7px var(--green); }.provider-cost-warning { margin:9px 1px 0; color:var(--muted-2); font-size:7px; line-height:1.5; }
.workflow-ide .text-button:disabled { opacity:.4; cursor:not-allowed; }.workflow-ide button[hidden] { display:none; }
@media (max-width:1120px) { .workflow-layout { grid-template-columns:1fr; }.provider-test-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }.provider-panel { min-width:0; }.workflow-builder-panel,.provider-panel { padding:14px; } }
@media (max-width:760px) { .workflow-ide-root { padding-top:15px; }.workflow-banner { align-items:flex-start; padding:12px; }.workflow-banner p { max-width:38ch; }.local-badge { font-size:6px; padding:4px 5px; }.workflow-layout { gap:10px; }.workflow-toolbar { grid-template-columns:1fr 1fr; }.workflow-select-label { grid-column:1/-1; }.workflow-save-button { grid-column:2; justify-self:end; min-width:88px; }.provider-test-list { grid-template-columns:1fr; }.workflow-run-controls { align-items:flex-start; flex-direction:column; }.workflow-run-button { width:100%; } }
@media (max-width:510px) { .workflow-banner-mark { display:none; }.workflow-banner { flex-wrap:wrap; }.local-badge { margin-left:auto; }.workflow-builder-panel,.provider-panel { padding:11px; }.workflow-panel-heading h2 { font-size:13px; }.workflow-new-button { min-height:26px; font-size:7px; }.workflow-toolbar { padding:8px; gap:7px; }.workflow-input-fields { grid-template-columns:1fr; }.pipeline-step-card { grid-template-columns:23px minmax(0,1fr); gap:6px; padding:8px 7px 8px 4px; }.pipeline-step-title-row { align-items:flex-start; }.pipeline-step-actions { gap:2px; }.step-icon-button { width:22px; height:24px; }.pipeline-step-config { grid-template-columns:1fr; gap:7px; }.workflow-label { font-size:6px; }.workflow-label input,.workflow-label select { font-size:9px; }.workflow-label textarea { font-size:8px; }.step-variable-hint { font-size:6px; }.workflow-run-button { min-width:0; }.output-step-meta { flex-wrap:wrap; }.output-step-meta small { width:100%; margin-left:20px; }.provider-test-card { padding:9px; } }

.theme-swatch.dark { background:linear-gradient(135deg,#0a1019 0 48%,#b9f27c 49% 57%,#65ddc6 58%); }

[hidden] { display:none !important; }

/* generator */
.gen-row { display: flex; gap: 12px; flex-wrap: wrap; }
.gen-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 140px; font-size: 12px; color: var(--text-muted, #8fa3bd); }
.gen-field select, .gen-field input { padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit; font-size: 13px; }
.gen-field:focus-within { border-color: transparent; }
.gen-field select:focus, .gen-field input:focus { outline: 2px solid rgba(124,92,255,.55); }

/* filters, builder, paging */
.filter-select select { padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit; font-size: 13px; cursor: pointer; max-width: 170px; }
.filter-select select:focus-visible { outline: 2px solid rgba(124,92,255,.6); }
[data-theme="light"] .filter-select select, [data-theme="light"] .gen-field select, [data-theme="light"] .gen-field input, [data-theme="light"] .gen-field textarea { border-color: rgba(0,0,0,.18); background: #fff; }
.toolbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.load-more-row { display: flex; justify-content: center; padding: 18px 0 6px; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 980px) { .builder-layout { grid-template-columns: 1fr; } }
.builder-form { display: flex; flex-direction: column; gap: 14px; }
.builder-preview { position: sticky; top: 76px; }
.gen-field textarea { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit; font: inherit; resize: vertical; }
.gen-field textarea:focus { outline: 2px solid rgba(124,92,255,.55); }
.gen-field select:disabled { opacity: .45; cursor: not-allowed; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 10px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: inherit; cursor: pointer; }
.chip:hover { border-color: rgba(124,92,255,.6); }
.chip[aria-pressed="true"] { background: rgba(124,92,255,.25); border-color: rgba(124,92,255,.8); }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.primary-button:disabled, .secondary-button:disabled { opacity: .5; cursor: not-allowed; }
#gen-results { margin-top: 16px; }

.library-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); min-width: 200px; }
.library-search:focus-within { outline: 2px solid rgba(124,92,255,.6); }
.library-search .icon { width: 15px; height: 15px; opacity: .6; flex: none; }
.library-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: inherit; font: inherit; font-size: 13px; }
[data-theme="light"] .library-search { border-color: rgba(0,0,0,.18); background: #fff; }

/* Sidebar collapse */
.sidebar { transition: width .2s ease, flex-basis .2s ease, padding .2s ease; overflow: hidden; }
@media (min-width: 761px) {
  .sidebar-collapsed .sidebar { width: 64px; flex-basis: 64px; padding-left: 8px; padding-right: 8px; }
  .sidebar-collapsed .sidebar-head { flex-direction: column; align-items: center; gap: 10px; }
  .sidebar-collapsed .sidebar-head .brand { padding: 0; }
  .sidebar-collapsed .brand-copy, .sidebar-collapsed .workspace-picker, .sidebar-collapsed .nav-label, .sidebar-collapsed .nav-section-head,
  .sidebar-collapsed .service-nav, .sidebar-collapsed .project-nav, .sidebar-collapsed .nav-divider, .sidebar-collapsed .nav-count,
  .sidebar-collapsed .soon-badge, .sidebar-collapsed .nav-dot, .sidebar-collapsed .storage-status, .sidebar-collapsed .sidebar-foot > span:not(.mini-atlas),
  .sidebar-collapsed .nav-item > span { display: none; }
  .sidebar-collapsed .sidebar-foot { justify-content: center; padding-left: 0; padding-right: 0; }
  .sidebar-collapsed .nav-item { justify-content: center; padding-left: 0; padding-right: 0; }
  .sidebar-collapsed .sidebar-toggle .icon { transform: scaleX(-1); }
  .sidebar-collapsed .sidebar-scroll { overflow-x: hidden; }
}
@media (max-width: 760px) { .sidebar-toggle, .sidebar-toggle-top { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.breadcrumbs { margin-right: auto; }
.account-body { flex: 1; min-width: 0; }.account-body .pf-msg:first-child { display: none; }
