/* Presentation layer only: scoped to the existing workspace and learning module. */
body.sixive-app-mode{background:#f3f5fa}
.sixive-app-home .app-side{background:#0d1322;border-right:1px solid #ffffff0c;box-shadow:none}
.sixive-app-home .app-topbar{background:#fafbfe;border-bottom:1px solid #e2e7f0;box-shadow:none;min-height:70px}
.sixive-app-home .app-topbar .btn{border-radius:10px;font-size:12px;min-height:40px;padding:10px 16px}
.sixive-app-home .btn.primary{background:#465ae8;box-shadow:none;color:#fff}
.sixive-app-home .app-card{border:1px solid #e0e5ef;border-radius:18px;box-shadow:0 4px 18px #16234a04}
.sixive-app-home .welcome h1{font-size:clamp(28px,4vw,42px);line-height:1.2}
#sixiveAiLibraryView{padding:28px;max-width:1240px}
#sixiveAiLibraryView .learn-hub{display:grid;gap:24px}
#sixiveAiLibraryView .learn-hub>section,#sixiveAiLibraryView .learn-hub>aside{margin:0;min-height:0;width:100%}
#sixiveAiLibraryView .learn-hub>section:not(.learn-hero){padding:0}
#sixiveAiLibraryView .learn-hero{padding:32px;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#293867,transparent 65%),#111a30;box-shadow:none}
#sixiveAiLibraryView .learn-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.3;margin:16px 0 10px;letter-spacing:-.04em}
#sixiveAiLibraryView .learn-hero h1 span{background:none;color:#aebeff}
#sixiveAiLibraryView .learn-hero p{max-width:650px;font-size:14px}
#sixiveAiLibraryView .learn-hero-foot{margin-top:18px}
#sixiveAiLibraryView .learn-hub-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#sixiveAiLibraryView .learn-hub-actions:has(>a:only-child){grid-template-columns:1fr}
#sixiveAiLibraryView .learn-hub-action{padding:22px;border:1px solid #dfe5f1;border-radius:16px;background:#fff;box-shadow:none;min-height:0}
#sixiveAiLibraryView .learn-hub-action.featured{background:#f5f7ff;border-color:#dce2fc}
#sixiveAiLibraryView .learn-hub-action b{font-size:18px;line-height:1.5}
#sixiveAiLibraryView .learn-hub-action small{font-size:13px;line-height:1.7}
#sixiveAiLibraryView .learn-path{padding:20px;min-height:160px;background:#fff;border-radius:16px;box-shadow:none}
#sixiveAiLibraryView .learn-concept-brief{padding:20px 24px;border-radius:16px;background:#eef1fb;border-color:#dce3f4}
#sixiveAiLibraryView .learn-concept-brief h2{font-size:22px}
#sixiveAiLibraryView .learn-concept-brief p{font-size:13px}
#sixiveAiLibraryView .learn-section-head{margin:0 0 16px}
#sixiveAiLibraryView .learn-hub-search{border:0}
#sixiveAiLibraryView .learn-search-results:empty{display:none}
#sixiveAiLibraryView .learn-trust-note{padding:15px 18px;border-radius:14px;font-size:12px}
#sixiveAiLibraryView .learn-page-heading{box-shadow:none}
#sixiveAiLibraryView a:focus-visible,#sixiveAiLibraryView button:focus-visible{outline:2px solid #5268df;outline-offset:4px}
@media(max-width:640px){#sixiveAiLibraryView{padding:16px 14px 90px}#sixiveAiLibraryView .learn-hub{gap:18px}#sixiveAiLibraryView .learn-hero{padding:23px 20px}#sixiveAiLibraryView .learn-hero h1{font-size:32px}#sixiveAiLibraryView .learn-hub-actions{grid-template-columns:1fr}#sixiveAiLibraryView .learn-hub-action{padding:19px}#sixiveAiLibraryView .learn-concept-brief{padding:18px}.sixive-app-home .app-topbar{padding:10px 14px;gap:8px}.sixive-app-home .app-topbar .btn{padding:9px 11px;font-size:11px}}

/* Workspace overview: compact launchpad, original Factory and tools retained. */
body.sixive-app-mode>.ambient-3d,body.sixive-app-mode>#scrollProgress{display:none!important}
body.sixive-app-mode .sixive-app-home{background:#f3f5f9}
.sixive-app-home .app-workspace{max-width:1400px;padding:26px 32px 90px}
.sixive-app-home .sixive-workspace-tabs{position:static;width:max-content;max-width:100%;margin:0 0 26px;background:#e9edf5;border:0;border-radius:10px;padding:4px;gap:4px}
.sixive-app-home .sixive-workspace-tabs button{font-size:12px;font-weight:650;padding:9px 16px;border-radius:7px}
.sixive-app-home .app-topbar{height:64px;min-height:64px}
.sixive-app-home .app-side-nav button{font-size:12px;font-weight:600}
.desk-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.desk-kicker{font-size:9px;letter-spacing:.13em;font-weight:750;color:#71809d}
.desk-heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;line-height:1.35;margin:7px 0 5px;color:#19223d}
.desk-heading p{font-size:13px;color:#76819a;margin:0}
.desk-live-link{flex-shrink:0;font-size:11px;text-decoration:none;color:#5b6987;border:1px solid #d9e0ed;background:#fff;padding:9px 12px;border-radius:9px}
.desk-feature{display:grid;grid-template-columns:1fr 1.15fr;gap:30px;padding:28px;border-radius:20px;background:radial-gradient(ellipse at 90% 0,#2d3a60,transparent 70%),#111a2d;color:#f5f7ff;border:1px solid #263553}
.desk-feature .desk-kicker{color:#9caed4;font-size:8px}
.desk-feature h2{font-size:clamp(24px,2.5vw,31px);letter-spacing:-.025em;line-height:1.4;margin:12px 0 9px}
.desk-feature-copy p{font-size:12px;color:#a9b6d1;line-height:1.8;max-width:380px;margin:0 0 18px}
.sixive-app-home .desk-feature .btn.primary{background:#b9c9ff;color:#121d38;border:0;border-radius:9px;font-size:12px;padding:11px 16px;display:inline-flex;gap:25px;align-items:center}
.desk-pipeline{padding:18px;border:1px solid #ffffff16;background:#070f1e44;border-radius:13px;align-self:center;min-width:0;background-image:radial-gradient(#ffffff16 .6px,transparent .6px);background-size:15px 15px}
.desk-pipeline-head{display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.07em;color:#a0b2d8}.desk-pipeline-head small{font-size:9px;letter-spacing:0}
.desk-pipeline ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 10px;padding:0;list-style:none}
.desk-pipeline li{position:relative;padding:10px;border:1px solid #a1b3e133;border-radius:8px;background:#1b2740;display:grid;gap:4px;min-width:0}
.desk-pipeline li i{font-style:normal;font-size:9px;color:#879dc8}.desk-pipeline li b{font-size:10px;letter-spacing:.05em;color:#dbe4ff}.desk-pipeline li span{font-size:9px;color:#9badcf}
.desk-pipeline>p{font-size:9px;line-height:1.6;color:#8ea1c4;margin:0}
.desk-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:23px 0 12px}
.desk-section-heading h2{font-size:16px;color:#1a2744;margin:0;letter-spacing:-.02em}.desk-section-heading>span{font-size:10px;color:#8994ac}
.desk-launchers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.desk-launch{display:flex;align-items:center;gap:14px;text-decoration:none;text-align:left;color:#1c2946;background:#fff;border:1px solid #dee4ee;border-radius:13px;padding:18px;cursor:pointer;font-family:inherit;transition:border-color .15s,box-shadow .15s}
.desk-launch:hover{border-color:#9facdf;box-shadow:0 6px 20px #25376509}.desk-launch:focus-visible,.desk-shortcut-grid button:focus-visible,.desk-inline:focus-visible{outline:2px solid #5671db;outline-offset:3px}
.desk-icon{display:grid;place-items:center;flex-shrink:0;width:42px;height:44px;border-radius:11px;font-size:24px}
.desk-icon.lavender{background:#eeeafb;color:#7956be}.desk-icon.blue{background:#e8effc;color:#4469c7}.desk-icon.mint{background:#e7f5ef;color:#278971}.desk-icon.amber{background:#fbf0df;color:#ae7c3a}
.desk-launch small{font-size:8px;letter-spacing:.1em;color:#8a94a9}.desk-launch h3{font-size:15px;line-height:1.4;margin:4px 0;color:#22304f;font-weight:700}.desk-launch p{font-size:11px;color:#7b869e;line-height:1.65;margin:0}.desk-arrow{margin-left:auto;color:#98a4bf;font-size:18px;flex-shrink:0}
.desk-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.desk-saved,.desk-shortcuts{padding:20px;background:#fff;border:1px solid #e0e6ef;border-radius:14px;min-width:0}.desk-bottom .desk-section-heading{margin:0 0 15px}.desk-inline{border:0;background:none;color:#5269ac;font-family:inherit;font-size:11px;cursor:pointer}
.desk-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0 0 16px}.desk-stat-row>div{border-right:1px solid #e9edf4;padding:0 7px}.desk-stat-row>div:last-child{border:0}.desk-stat-row b{font-size:25px;line-height:1.3;color:#22304a;display:block}.desk-stat-row span{font-size:9px;line-height:1.4;color:#8390a9;display:block}.desk-saved .recent-empty{font-size:11px;padding:15px;border:1px dashed #dbe2ef;border-radius:9px;background:#fafbfe;line-height:1.7}.desk-saved .recent-list{max-height:175px;overflow:auto}
.desk-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.desk-shortcut-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;font-family:inherit;padding:10px 8px;background:#f8faff;border:1px solid #e8edf5;border-radius:9px;cursor:pointer;min-width:0;color:#304267}.desk-shortcut-grid button:hover{background:#eef2fe}.desk-shortcut-grid span{font-size:20px;color:#6980b7}.desk-shortcut-grid b{font-size:10px}.desk-shortcut-grid small{font-size:9px;color:#929db1;line-height:1.5}.desk-ecosystems{display:block;margin-top:14px;font-size:10px;color:#6f7fa5;text-decoration:none}
@media(min-width:1100px){body.sixive-app-mode .sixive-app-home{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:1100px){.desk-feature{gap:20px;padding:22px;grid-template-columns:1fr 1fr}.desk-bottom{grid-template-columns:1fr}.desk-heading{align-items:flex-start}.desk-live-link{font-size:10px}.desk-feature h2{font-size:24px}}
@media(max-width:760px){.sixive-app-home .app-workspace{padding:20px 20px 90px}.desk-feature{grid-template-columns:1fr}.desk-feature-copy p{max-width:100%}.desk-heading{flex-direction:column;gap:10px}.desk-launch{padding:15px;gap:10px}.desk-launch h3{font-size:13px}.desk-launch p{font-size:10px}.desk-launchers{gap:10px}.desk-icon{width:33px;height:36px;font-size:20px}.desk-section-heading>span{display:none}}
@media(max-width:520px){.sixive-app-home .app-workspace{padding:16px 14px 90px}.sixive-app-home .sixive-workspace-tabs{width:100%;margin-bottom:20px}.sixive-app-home .sixive-workspace-tabs button{font-size:10px;padding:9px 10px;flex:1}.desk-heading h1{font-size:25px}.desk-feature{padding:20px;gap:20px}.desk-feature h2{font-size:25px}.desk-pipeline{padding:13px}.desk-pipeline ol{gap:7px}.desk-pipeline li{padding:8px}.desk-pipeline li b{font-size:9px}.desk-pipeline li span{font-size:8px}.desk-launchers{grid-template-columns:1fr}.desk-launch h3{font-size:15px}.desk-launch p{font-size:11px}.desk-icon{width:40px;height:42px}.desk-launch{padding:16px}.desk-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-saved,.desk-shortcuts{padding:18px}.desk-launchers,.desk-bottom{gap:12px}.desk-stat-row span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.desk-launch{transition:none}}

/* Workspace help: keep the quick action visible and reveal explanation on demand. */
.desk-launch-wrap,.desk-shortcut-wrap{position:relative;min-width:0}
.desk-launch-wrap.is-open,.desk-shortcut-wrap.is-open{z-index:16}
.desk-launch-wrap>.desk-launch{width:100%;height:100%;box-sizing:border-box;padding-right:48px}
.desk-shortcut-wrap>button{width:100%;height:100%;padding-right:34px}
.desk-launch-wrap>.desk-help-wrap{width:38px;height:38px}
.desk-shortcut-wrap>.desk-help-wrap{width:36px;height:36px}
.desk-help-wrap>.desk-help-toggle{flex:none;width:100%;height:100%;box-sizing:border-box}
.desk-shortcut-wrap .desk-help-toggle{min-height:0!important;padding:0!important;border-radius:50%}
.desk-help-wrap{position:absolute;z-index:3;top:8px;right:8px}
.desk-help-toggle{display:grid;place-items:center;width:30px;height:30px;border:1px solid #dce4f1;border-radius:50%;background:#f7f9fd;color:#52648b;font:750 13px/1 system-ui,-apple-system,sans-serif;cursor:pointer;touch-action:manipulation}
.desk-help-toggle:hover,.desk-help-toggle[aria-expanded="true"]{border-color:#a9bbf5;background:#eef3ff;color:#3458cf}
.desk-help-toggle:focus-visible{outline:3px solid #5278ef66;outline-offset:2px}
.desk-help-popover{position:absolute;top:36px;right:0;width:min(300px,calc(100vw - 42px));padding:13px 14px;border:1px solid #dce5f5;border-radius:13px;background:#fff;color:#263553;box-shadow:0 14px 35px #16264a24;display:grid;gap:6px;text-align:left}
.desk-help-popover[hidden]{display:none!important}
.desk-help-popover b{font-size:12px;line-height:1.35}
.desk-help-popover span{font-size:11px;line-height:1.55;color:#65728e}
.desk-readiness{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:3px 0 2px;padding:4px 7px;border:1px solid #d8e6df;border-radius:999px;background:#effaf4;color:#246a4d;font-size:9px;font-weight:700;line-height:1.3;letter-spacing:0}
.desk-readiness.setup{border-color:#f0dfb9;background:#fff8e9;color:#825a14}
.desk-readiness.sample{border-color:#e2e5ed;background:#f4f6fa;color:#69748a}
.desk-feature-copy{position:relative}
.desk-feature-help{top:0;right:0}
.desk-feature-help .desk-help-toggle{border-color:#ffffff35;background:#ffffff12;color:#e4eaff}
.desk-feature-help .desk-help-toggle:hover,.desk-feature-help .desk-help-toggle[aria-expanded="true"]{background:#ffffff25;color:white}
.desk-feature-readiness{display:block;margin-top:9px;color:#b9c8e7;font-size:10px;line-height:1.5}
.desk-shortcut-wrap .desk-readiness{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:9px;line-height:1.35;padding:4px 7px;letter-spacing:0}
.desk-help-wrap{display:flex;align-items:center;justify-content:center}
.desk-help-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:0;text-align:center;font-size:16px;line-height:1}
.desk-shortcut-wrap .desk-help-toggle{flex-basis:36px;width:36px;height:36px}
@media(max-width:520px){.desk-help-popover{width:min(290px,calc(100vw - 36px));padding:12px}.desk-feature-help{top:-4px;right:-4px}.desk-feature-copy{padding-right:34px}.desk-shortcut-wrap .desk-help-toggle{flex-basis:36px;width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.desk-help-toggle{transition:none}}
/* Local system fonts: no remote font request; code keeps its monospace face. */
body,button,input,select,textarea,h1,h2,h3,h4{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi","Leelawadee UI",sans-serif!important}
#sixiveAiLibraryView .learn-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
#sixiveAiLibraryView a.learn-gallery-card,#sixiveAiLibraryView a.learn-gallery-card:visited{display:flex;flex-direction:column;gap:12px;min-width:0;padding:24px;background:#fff;color:#18243e;text-decoration:none;border:1px solid #e0e6f0;border-radius:20px;box-shadow:0 8px 24px #16234a05;transition:border-color .18s,transform .18s}
#sixiveAiLibraryView a.learn-gallery-card:hover{border-color:#7288ef;transform:translateY(-3px)}
#sixiveAiLibraryView a.learn-gallery-card:focus-visible{outline:3px solid #536be9;outline-offset:3px}
#sixiveAiLibraryView .learn-gallery-card h2{margin:4px 0 0;font-size:24px;letter-spacing:-.03em}
#sixiveAiLibraryView .learn-gallery-card p{margin:0;font-size:14px;line-height:1.7;color:#63718a}
#sixiveAiLibraryView .learn-gallery-card b{align-self:flex-start;font-size:11px;padding:6px 10px;border-radius:8px;background:#edf3ff;color:#3859ac;margin-top:auto}
#sixiveAiLibraryView .learn-gallery-card strong{font-size:13px;color:#425bd4;border-top:1px solid #edf0f6;padding-top:14px}
.ecosystem-card-top{display:flex;gap:12px;align-items:center;min-height:42px}
.ecosystem-card-top small{font-size:11px;color:#65728b}
.ecosystem-monogram{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:#18233d;color:#c9d9ff;font-size:15px;font-weight:800}
#byokOverlay .byok-card{width:min(760px,calc(100vw - 24px));max-height:90dvh;border-radius:22px;overflow:auto;background:#fff;box-shadow:0 24px 100px #07102b55}
#byokOverlay .byok-content{padding:22px}
#byokOverlay .byok-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
#byokOverlay .field{margin:0;min-width:0}
#byokOverlay .full{grid-column:1/-1}
#byokOverlay .field label{display:block;font-size:11px;letter-spacing:.03em;margin-bottom:8px;line-height:1.6}
#byokOverlay .field label span{display:block;float:none;font-size:10px;letter-spacing:0}
#byokOverlay input:not([type=checkbox]),#byokOverlay select{font-size:14px;min-height:44px;padding:11px 12px;border-radius:10px;width:100%;box-sizing:border-box}
#byokOverlay .byok-provider-locked{border-radius:12px;padding:14px;gap:12px}
#byokOverlay .byok-provider-locked small{font-size:11px}
#byokOverlay .byok-provider-locked>span{font-size:9px}
.byok-advanced{border:1px solid #e1e7f1;border-radius:12px;padding:14px;background:#f8faff}
.byok-advanced summary{cursor:pointer;font-size:13px;font-weight:700;color:#24324e}
.byok-advanced summary span{display:block;font-size:11px;font-weight:400;color:#68758e;margin-top:4px}
.byok-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
#byokOverlay .byok-note,#byokOverlay .gemini-mini-warning{font-size:11px;line-height:1.7;padding:12px;margin:10px 0;border-radius:10px}
#byokOverlay .legal-inline-checks{padding:14px;border-radius:12px;background:#f5f7fc;margin:16px 0}
#byokOverlay .legal-inline-checks label{font-size:12px;line-height:1.7;display:flex;gap:9px;align-items:flex-start;flex-wrap:wrap;margin:8px 0}
#byokOverlay input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#465ae8}
#byokOverlay .byok-actions{gap:12px;flex-wrap:wrap;padding-top:12px}
#byokOverlay .byok-actions .btn{font-size:12px;padding:11px 16px;border-radius:10px}
@media(max-width:600px){#sixiveAiLibraryView .learn-gallery-grid{grid-template-columns:1fr}#byokOverlay .byok-content{padding:16px}#byokOverlay .byok-fields,.byok-advanced-grid{grid-template-columns:1fr}#byokOverlay .byok-provider-locked{flex-wrap:wrap}#byokOverlay .byok-actions>div{display:flex;flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){#sixiveAiLibraryView a.learn-gallery-card{transition:none;transform:none}}

/* SIXIVE phase-one design system: confident workspace, restrained signal glow. */
body.sixive-app-mode{
  --sx-ink:#101a33;--sx-ink-soft:#192746;--sx-muted:#677590;--sx-line:#dce4f2;
  --sx-blue:#3b67ee;--sx-cyan:#34c9e8;--sx-violet:#8655ef;--sx-surface:#fff;
  color:var(--sx-ink);background:#f4f7fc;
}
body.sixive-app-mode .sixive-app-home{background:radial-gradient(ellipse at 88% 2%,#dff5ff88,transparent 30rem),radial-gradient(ellipse at 4% 36%,#eae4ff80,transparent 32rem),#f4f7fc}
.sixive-app-home .app-side{background:linear-gradient(180deg,#0b1224,#111b31 58%,#0d172a);border-right:1px solid #ffffff12}
.sixive-app-home .app-side-nav a,.sixive-app-home .app-side-nav button{transition:background .16s,color .16s,box-shadow .16s}
.sixive-app-home .app-side-nav a:hover,.sixive-app-home .app-side-nav button:hover,.sixive-app-home .app-side-nav .active{background:#ffffff0e;box-shadow:inset 2px 0 #52d7f4;color:#fff}
.sixive-app-home .app-topbar{background:#fbfcfff0;border-bottom-color:#e0e7f1;backdrop-filter:blur(16px)}
.sixive-app-home .app-topbar .btn{border-color:#dce4f1;background:#fff;color:#172442;box-shadow:0 2px 6px #11224b08}
.sixive-app-home .app-topbar .btn:hover{border-color:#a8b8f6;background:#f7f9ff}
.sixive-app-home .app-topbar .btn.primary{border-color:transparent;background:linear-gradient(110deg,#7951ef,#326def 68%,#20afd7);color:#fff;box-shadow:0 8px 22px #4b66df29}
.sixive-app-home .app-workspace{padding-bottom:32px}
.sixive-app-home .sixive-workspace-tabs{border:1px solid #e1e7f1;background:#e9edf5}
.sixive-app-home .sixive-workspace-tabs button{color:#63718e;transition:background .16s,color .16s,box-shadow .16s}
.sixive-app-home .sixive-workspace-tabs button.active,.sixive-app-home .sixive-workspace-tabs button[aria-selected="true"]{background:#fff;color:#3458cf;box-shadow:0 2px 8px #1d2c520e}
.desk-heading h1{color:#111d3b}
.desk-feature{position:relative;isolation:isolate;overflow:hidden;border-color:#243454;background:radial-gradient(ellipse at 88% 0,#155f8580,transparent 44%),radial-gradient(ellipse at 8% 120%,#6734bb4d,transparent 48%),linear-gradient(125deg,#101a33,#111d39 62%,#122644);box-shadow:0 18px 42px #111c3915}
.desk-feature:after{position:absolute;z-index:-1;inset:0;content:"";pointer-events:none;opacity:.17;background-image:radial-gradient(#c7eaff .65px,transparent .65px);background-size:22px 22px;mask-image:linear-gradient(115deg,transparent 25%,#000 100%)}
.desk-pipeline{border-color:#96b8ed30;background-color:#07132866;background-image:radial-gradient(#dceaff1d .7px,transparent .7px);background-size:16px 16px}
.desk-pipeline li{border-color:#9cb7ed30;background:linear-gradient(145deg,#243654,#1a2944)}
.desk-pipeline li:nth-child(3n+1){box-shadow:inset 2px 0 #56d4ec}
.desk-pipeline li:nth-child(3n+2){box-shadow:inset 2px 0 #7c88fa}
.desk-pipeline li:nth-child(3n){box-shadow:inset 2px 0 #b57cf2}
.sixive-app-home .desk-feature .btn.primary{background:linear-gradient(110deg,#7951ef,#3275f2 72%,#23abd2);color:#fff;box-shadow:0 8px 24px #326def40}
.desk-launch,.desk-saved,.desk-shortcuts{border-color:#dce4f0;box-shadow:0 5px 18px #17264907}
.desk-launch{transition:border-color .16s,transform .16s,box-shadow .16s}
.desk-launch:hover{transform:translateY(-2px);border-color:#a4b6f1;box-shadow:0 12px 28px #243b7112}
.desk-icon{box-shadow:inset 0 0 0 1px #ffffffb0}
.desk-stat-row b{color:#132342;font-variant-numeric:tabular-nums}
#sixiveAiLibraryView{--learn-ink:#111d39;--learn-muted:#63718d;--learn-line:#dce4f1;max-width:1320px;min-height:calc(100vh - 64px);padding:28px 32px 32px}
#sixiveAiLibraryView .learn-hero{border:1px solid #243554;background:radial-gradient(ellipse at 95% 0,#08799b55,transparent 35%),radial-gradient(ellipse at 4% 110%,#7439ce48,transparent 42%),linear-gradient(125deg,#101a33,#13213d 68%,#122b45);box-shadow:0 18px 42px #111c3914}
#sixiveAiLibraryView .learn-hero h1 span{background:linear-gradient(95deg,#9f86ff,#5bc9f0);color:transparent;background-clip:text;-webkit-background-clip:text}
#sixiveAiLibraryView .learn-eyebrow{border-color:#d9e4ff35;background:#ffffff08;color:#c9d8ff}
#sixiveAiLibraryView .learn-concept-brief{border:1px solid #cddafa;background:linear-gradient(110deg,#f4f6ff,#eff9ff);box-shadow:inset 3px 0 #7284f0}
#sixiveAiLibraryView .learn-concept-brief a{color:#405eda;font-weight:750}
#sixiveAiLibraryView .learn-path,#sixiveAiLibraryView .learn-concept,#sixiveAiLibraryView .learn-lesson-row,#sixiveAiLibraryView .learn-hub-action,#sixiveAiLibraryView .learn-gallery-card{border-color:#dce4f0;box-shadow:0 5px 18px #17264908}
#sixiveAiLibraryView .learn-path:hover,#sixiveAiLibraryView .learn-concept:hover,#sixiveAiLibraryView .learn-lesson-row:hover,#sixiveAiLibraryView .learn-hub-action:hover,#sixiveAiLibraryView .learn-gallery-card:hover{border-color:#a6b8f2;box-shadow:0 12px 28px #243b7112}
#sixiveAiLibraryView .learn-primary-link,#sixiveAiLibraryView .learn-open-factory{background:linear-gradient(110deg,#7951ef,#3275f2 72%,#23abd2);color:#fff;border:0;box-shadow:0 7px 20px #4266e52a}
#sixiveAiLibraryView .learn-primary-link:hover{filter:brightness(1.04)}
#sixiveAiLibraryView .learn-path-icon,#sixiveAiLibraryView .learn-lesson-index,#sixiveAiLibraryView .learn-source-icon{box-shadow:inset 0 0 0 1px #ffffffa6}
#sixiveAiLibraryView .learn-section-head h2,#sixiveAiLibraryView .learn-graph-heading h2{color:#152441}
#sixiveAiLibraryView .learn-back-link,#sixiveAiLibraryView .learn-path-footer a,#sixiveAiLibraryView .learn-flow-actions a{color:#435ed2}
#sixiveAiLibraryView .learn-flow-header{background:radial-gradient(ellipse at 94% 0,#d9f5ff 0,transparent 45%),linear-gradient(115deg,#fff,#f5f6ff);border-color:#d8e2f1}
#sixiveAiLibraryView .learn-flow-board{border-color:#293e60;background:radial-gradient(ellipse at 88% 0,#155c7a66,transparent 38%),radial-gradient(#d5e8ff10 .7px,transparent .7px) 0 0/19px 19px,#101a30;box-shadow:0 16px 36px #101a3019}
#sixiveAiLibraryView .learn-flow-board .learn-graph-node{background:linear-gradient(145deg,#1b2943,#202b47);border-color:#8295ba75}
#sixiveAiLibraryView .learn-flow-board .learn-graph-node.active{border-color:#55d3ed;box-shadow:0 0 0 3px #48c7e52b,0 12px 26px #0004}
#sixiveAiLibraryView .learn-node-detail,#sixiveAiLibraryView .learn-flow-contract>div{border-color:#dce4f0;box-shadow:0 4px 14px #17264908}
#sixiveAiLibraryView a:focus-visible,#sixiveAiLibraryView button:focus-visible,#sixiveAiLibraryView input:focus-visible{outline:3px solid #386eea;outline-offset:3px}
#sixiveAccountDock{position:sticky!important;top:auto!important;right:auto!important;bottom:10px!important;left:auto!important;width:max-content;max-width:calc(100vw - 24px);margin:18px 16px 10px auto;border:1px solid #536488!important;background:#14213a!important;box-shadow:0 8px 30px #0b142d33!important;padding:7px 9px!important;backdrop-filter:blur(12px)}
#sixiveAccountDock button{min-height:38px;padding:8px 12px;border:1px solid #ffffff24;border-radius:9px;background:#ffffff12;color:#fff;font:650 12px -apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi",sans-serif}
#sixiveAccountDock button:hover{background:#ffffff20}
#sixiveCloudStatus{max-width:180px;overflow-wrap:anywhere;font-size:11px;line-height:1.35;color:#dce8ff}
@media(max-width:760px){#sixiveAiLibraryView{padding:20px 20px 28px}.sixive-app-home .app-workspace{padding-bottom:28px}}
@media(max-width:520px){
  .sixive-app-home .app-workspace{padding-bottom:28px}
  .sixive-app-home .app-topbar{position:sticky;gap:7px;padding-inline:12px}
  .sixive-app-home .app-topbar .crumb{font-size:9px}
  .sixive-app-home .app-top-actions{gap:5px}
  .sixive-app-home .app-topbar .btn{min-height:38px;padding:8px 9px;font-size:10px}
  #sixiveAiLibraryView{padding:16px 14px 28px}
  #sixiveAiLibraryView .learn-hero{border-radius:19px}
  #sixiveAiLibraryView .learn-hero h1{line-height:1.08}
  #sixiveAiLibraryView .learn-flow-header{gap:10px}
  #sixiveAiLibraryView .learn-flow-header>span{max-width:100%;white-space:normal}
  #sixiveAiLibraryView .learn-flow-actions{gap:10px}
  #sixiveAiLibraryView .learn-flow-actions>a,#sixiveAiLibraryView .learn-flow-actions>button{min-height:42px;display:flex;align-items:center;justify-content:center;text-align:center}
  #sixiveAccountDock{margin:16px auto 10px!important;bottom:10px!important;justify-content:center!important;gap:8px!important}
  #sixiveAccountDock button{flex:0 0 auto;min-height:38px}
  #sixiveCloudStatus{max-width:145px;text-align:center;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.sixive-app-home .app-side-nav a,.sixive-app-home .app-side-nav button,.desk-launch{transition:none}.desk-launch:hover{transform:none}}

/* Account dock: clear save action, quiet offline state, no extra app chrome. */
#sixiveAccountDock{gap:10px!important;padding:6px!important;border-color:#8297c14d!important;border-radius:16px!important;background:radial-gradient(ellipse at 0 0,#2d4a7755,transparent 60%),linear-gradient(145deg,#172642,#101a30)!important;box-shadow:0 12px 32px #0b142d38,inset 0 1px #ffffff20!important}
#sixiveAccountDock button{min-height:40px;padding:9px 14px;border:1px solid #ffffff20;border-radius:11px;background:linear-gradient(110deg,#7951ef,#3970ed 70%,#28aeca);box-shadow:0 5px 16px #5369df3d;color:#fff;font-weight:750;transition:filter .16s,transform .16s,box-shadow .16s}
#sixiveAccountDock button:hover{background:linear-gradient(110deg,#8762f2,#4b7cf0 70%,#35b9d3);box-shadow:0 7px 20px #5369df55;transform:translateY(-1px)}
#sixiveAccountDock button:active{transform:translateY(0)}
#sixiveAccountDock button:focus-visible{outline:3px solid #65d7f4;outline-offset:3px}
#sixiveCloudStatus{display:inline-flex;align-items:center;gap:7px;max-width:160px;padding:7px 9px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff08;color:#d6e1f5;font-size:10px;font-weight:650;letter-spacing:.01em;white-space:nowrap}
#sixiveCloudStatus::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#86a4d6;box-shadow:0 0 0 3px #86a4d61c}
@media(max-width:520px){#sixiveAccountDock{gap:7px!important;padding:5px!important;border-radius:14px!important}#sixiveAccountDock button{min-height:38px;padding:8px 11px;font-size:11px}#sixiveCloudStatus{max-width:142px;padding:6px 7px;font-size:9px}}
@media(prefers-reduced-motion:reduce){#sixiveAccountDock button{transition:none}#sixiveAccountDock button:hover{transform:none}}

/* Product-wide polish: keep the current screens and behaviours. */
body.sixive-app-mode :is(button,input,select,textarea){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi","Leelawadee UI",sans-serif}
body.sixive-app-mode :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #43c9e9;outline-offset:3px}
body.sixive-app-mode :is(.app-card,.factory-card,.market-card,.legal-card,.bench,.graph-card,.plan,.creator,.agent-sale){min-width:0;border-color:#dce4f0;box-shadow:0 8px 26px #14254b0a}

/* Factory workbench: keep prompts and Workflow DNA inside their panels. */
.factory-overlay{padding:12px;background:#0b1325b8;backdrop-filter:blur(14px)}
.factory-shell{width:min(1500px,100%);height:min(940px,calc(100dvh - 24px));border:1px solid #c7d5ef;background:#f5f8fd;border-radius:24px;box-shadow:0 30px 100px #06112b70}
.factory-top{min-height:66px;padding:12px 18px;border-color:#e1e8f3;background:#ffffffed}
.factory-body{grid-template-columns:220px minmax(0,1fr)}
.factory-side{background:linear-gradient(180deg,#fff,#f5f8fe);border-color:#e0e7f2}
.factory-step{min-height:54px;padding:10px}.factory-step.active{border-color:#bbd8f0;box-shadow:inset 3px 0 #38b9dc,0 8px 22px #334b8510}
.factory-step.active .fs-num{background:linear-gradient(140deg,#7356ee,#217fe8 68%,#20bbd0)}
.factory-step b{font-size:10px}.factory-step small{font-size:8px;line-height:1.5}
.factory-save-state{font-size:9px;background:#f3f8ff;border-color:#dce8f5}
.factory-main{padding:clamp(16px,2.4vw,32px);background:radial-gradient(ellipse at 92% 0,#d8f7ff80,transparent 33rem),radial-gradient(ellipse at 0 94%,#e8defd80,transparent 35rem),#f5f8fd;scrollbar-gutter:stable}
.factory-head{align-items:center}.factory-head .k{color:#52709c;letter-spacing:.15em}
.factory-head h2{max-width:760px;color:#121f3c;line-height:1.14}
.factory-head p{max-width:680px;font-size:11px;line-height:1.7}
.factory-actions .btn,.factory-footer .btn{min-height:40px}
.factory-card{border-color:#dce6f3;border-radius:18px;box-shadow:0 8px 24px #1d34510b,inset 0 1px #ffffff}
.factory-grid2,.factory-grid3,.factory-field,.node-editor>*,.factory-card>*{min-width:0}
.factory-textarea,.factory-prompt,.public-preview,.protect-table{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}
.factory-textarea{font-size:12px;line-height:1.65;background:#fbfdff;border-color:#d6e1f0}
.factory-prompt,.public-preview{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:hidden;font-size:10px;line-height:1.65;border-color:#30436b;background:linear-gradient(145deg,#0d1830,#111c36)}
.factory-mode-row{flex-wrap:wrap}.factory-mode-row button{min-height:38px;font-size:9px}
.factory-graph{scrollbar-color:#9eb4d9 transparent;scrollbar-width:thin}
.factory-node{border-color:#d9e3f0;box-shadow:0 5px 15px #14294a0b}
.factory-node:hover,.factory-node.active{border-color:#54c5e4;box-shadow:0 0 0 3px #54c5e41a,0 12px 28px #10254217}
.protect-table{display:block;overflow-x:auto;overscroll-behavior-inline:contain}
.factory-status{overflow-wrap:anywhere}

/* Protect, trust and Marketplace share the same evidence-first visual language. */
#protect .privacy-grid{align-items:stretch;gap:16px}
#protect .privacy-copy,#protect .extractor{border-color:#dbe5f1;border-radius:20px;box-shadow:0 10px 28px #1728490a}
#protect .privacy-copy{background:linear-gradient(145deg,#fff,#f7f9ff)}
#protect .extractor{background:linear-gradient(145deg,#fff,#f8fbff)}
#protect .layer{min-width:0;background:#fbfcff;border-color:#e1e8f1}
#protect .mode-tabs{border:1px solid #e1e7f1;background:#eff3fa}
#protect .mode-tabs button{min-height:42px;font-size:10px}
#protect .mode-tabs button.active{color:#fff;background:#172441;box-shadow:0 5px 14px #101d3720}
#protect .prompt{max-width:100%;overflow-x:hidden;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;border:1px solid #283b61;background:linear-gradient(145deg,#0d1730,#111e3a);line-height:1.7}
#protect .extractor-actions{flex-wrap:wrap}#protect .extractor-actions .btn{min-height:40px}
#legal .legal-card{background:linear-gradient(145deg,#fff,#f9fbff);border-color:#dce5f2;border-radius:16px;box-shadow:0 7px 22px #17284909}
#legal .legal-status{border:1px solid #f0d7a7;border-radius:14px;background:#fff9ee;padding:14px 16px;color:#745725}
#legal .legal-status b{color:#795514}
.market-grid{align-items:stretch}.market-card{border-radius:18px;border-color:#dbe4f1;background:linear-gradient(160deg,#fff,#f9fbff);box-shadow:0 8px 24px #1626480c}
.market-card:before{height:2px;background:linear-gradient(90deg,#44cbe6,#5274ee,#9e62ed)}
.market-card :is(.desc,.model-line,.mini-runs,.market-price){min-width:0;overflow-wrap:anywhere}
.market-card .mini-flow{flex-wrap:wrap;gap:5px}.market-card .mini-flow span{max-width:100%;overflow-wrap:anywhere}
.market-card .market-actions .btn{min-height:40px}

/* Gemini BYOK is scannable; advanced settings remain opt-in. */
#byokOverlay.byok-overlay{align-items:center;justify-content:center;padding:14px;background:#0a1326b8;backdrop-filter:blur(14px)}
#byokOverlay .byok-card{width:min(820px,calc(100vw - 28px));max-height:min(92dvh,960px);border:1px solid #d8e3f2;border-radius:22px;box-shadow:0 28px 90px #06112b66}
#byokOverlay .byok-head{position:sticky;top:0;z-index:2;padding:18px 22px;background:#ffffffef;backdrop-filter:blur(14px);border-bottom:1px solid #e4eaf3}
#byokOverlay .byok-head h3{font-size:clamp(20px,3vw,26px);letter-spacing:-.035em;color:#14213d}
#byokOverlay .byok-content{padding:20px 22px 22px}
#byokOverlay .byok-provider-locked{background:linear-gradient(110deg,#f6f8ff,#f0fbff);border-color:#d9e5f4}
#byokOverlay .byok-provider-locked b{font-size:14px}
#byokOverlay .byok-fields{gap:16px;margin:18px 0}
#byokOverlay .field label{color:#53617e;font-weight:750}
#byokOverlay .byok-note,#byokOverlay .gemini-mini-warning{overflow-wrap:anywhere}
#byokOverlay .legal-inline-checks label{min-height:34px;align-items:flex-start}
#byokOverlay .byok-actions{position:sticky;bottom:-22px;margin:18px -22px -22px;padding:14px 22px;background:#ffffffed;border-top:1px solid #e5eaf2;backdrop-filter:blur(14px)}
#byokOverlay .byok-actions>div{display:flex;gap:8px;flex-wrap:wrap}
#byokOverlay .byok-actions .btn{min-height:42px}

/* Root app sections use the same type, border and focus treatment. */
body:not(.sixive-app-mode) .nav{border-color:#dce4f0;background:#ffffffdf;box-shadow:0 12px 36px #14254b0a}
body:not(.sixive-app-mode) .navlinks a{color:#53627f}
body:not(.sixive-app-mode) .navlinks a:hover{color:#355fd7;background:#eef3ff}
body:not(.sixive-app-mode) .hero{padding-top:66px;min-height:610px}
body:not(.sixive-app-mode) .hero-copy>p{max-width:650px}
body:not(.sixive-app-mode) .card,body:not(.sixive-app-mode) .path{box-shadow:0 8px 26px #14254b0a}
body:not(.sixive-app-mode) :is(.step,.privacy-copy,.extractor,.sixscore,.bench,.creator,.agent-sale,.market-card,.plan,.legal-card){border-color:#dce4f0}
body:not(.sixive-app-mode) .market-card{background:linear-gradient(155deg,#fff,#f8fbff)}
body:not(.sixive-app-mode) .extractor .prompt{overflow-x:hidden;overflow-wrap:anywhere;word-break:break-word}
body:not(.sixive-app-mode) main>section{padding-block:68px;scroll-margin-top:88px}

/* Standalone landing page: a light product shell keeps its dark Flow preview in focus. */
body.sixive-landing{--text:#14213e;--muted:#677590;--line:#dce4f0;--accent:#405fda;color-scheme:light;color:var(--text);background:radial-gradient(ellipse at 4% 0,#efeaff 0,transparent 32rem),radial-gradient(ellipse at 98% 12%,#def7ff 0,transparent 34rem),#f5f7fb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi","Leelawadee UI",sans-serif}
body.sixive-landing .nav{position:sticky;top:10px;z-index:10;min-height:68px;margin-top:10px;padding:9px 12px;border:1px solid #dce4f0;border-radius:18px;background:#ffffffec;box-shadow:0 10px 28px #14254b0d}
body.sixive-landing .brand{color:#14213e}body.sixive-landing .brand small{color:#7885a0}
body.sixive-landing .nav nav{gap:18px;color:#5c6a85}
body.sixive-landing .nav nav>a:not(.button){padding:8px;border-radius:8px}
body.sixive-landing .nav nav>a:not(.button):hover{color:#365ed0;background:#edf3ff}
body.sixive-landing .button{min-height:46px;border:0;background:linear-gradient(110deg,#7652e9,#386fed 70%,#22afd0);color:#fff;box-shadow:0 8px 20px #466eea2b}
body.sixive-landing .button:hover{background:linear-gradient(110deg,#805ef0,#4779f0 70%,#32bad6);transform:translateY(-1px)}
body.sixive-landing .button.small{min-height:40px}
body.sixive-landing .hero{min-height:0;padding:72px 0 56px;gap:42px}
body.sixive-landing .hero h1{font-size:clamp(42px,5.4vw,70px);line-height:1.08;letter-spacing:-.06em;color:#111d3b}
body.sixive-landing .hero h1 em{background:linear-gradient(100deg,#8f3fea,#4169ed 65%,#13a9d0);background-clip:text;-webkit-background-clip:text;color:transparent}
body.sixive-landing .eyebrow{color:#405fc8;border-color:#d8e3fb;background:#ffffffc9;box-shadow:none}
body.sixive-landing .lead{color:#5f6d88;line-height:1.75}body.sixive-landing .micro{color:#687792}
body.sixive-landing .flow-window{border-color:#26395a;border-radius:20px;background:linear-gradient(145deg,#111d36,#0c162a);box-shadow:0 20px 54px #13274a25}
body.sixive-landing .canvas{background-image:radial-gradient(#aecbff12 .7px,transparent .7px);background-size:20px 20px}
body.sixive-landing .flow li{border-color:#d5e1f51c;background:#172541}
body.sixive-landing .flow li{color:#dce7fb}
body.sixive-landing .flow strong{color:#f3f7ff}
body.sixive-landing .flow small{color:#a5b6d6}
body.sixive-landing .flow p{color:#c1cce0}
body.sixive-landing .flow .type{color:#afbed8}
body.sixive-landing .flow li.human{border-color:#e7bc7b70;box-shadow:inset 2px 0 #e6b663}
body.sixive-landing .canvas-heading{color:#aebedb}
body.sixive-landing .canvas-heading h2{color:#f2f6ff}
body.sixive-landing .ecosystem-strip{border-color:#dce4f0;color:#41516f}
body.sixive-landing .ecosystem-strip>span{color:#71809a}body.sixive-landing .ecosystem-strip a:hover{color:#315ed9}
body.sixive-landing .start{padding:58px 0}
body.sixive-landing .section-heading h2,body.sixive-landing .clarity h2{color:#14213e}
body.sixive-landing .section-heading p{color:#6d7a94}
body.sixive-landing .path{border-color:#dce4f0;border-radius:18px;background:linear-gradient(145deg,#fff,#f9fbff);box-shadow:0 8px 25px #14254b09}
body.sixive-landing .path:hover{border-color:#9bb2e7;box-shadow:0 14px 30px #14254b12}
body.sixive-landing .path.featured{background:linear-gradient(145deg,#fff,#f2f6ff);border-color:#c8d7f5;box-shadow:inset 3px 0 #5675e9,0 8px 25px #14254b09}
body.sixive-landing .path-number{color:#667895}body.sixive-landing .path-icon{border-color:#dfe7f3;background:#edf3ff;color:#4267d8}
body.sixive-landing .path h3{color:#15213e}body.sixive-landing .path p{color:#66748d;line-height:1.7}body.sixive-landing .path b{color:#385dc8}
body.sixive-landing .clarity{border-color:#d8e2f0;border-radius:20px;background:linear-gradient(115deg,#fff,#f1f7ff);box-shadow:0 14px 38px #14254b0a}
body.sixive-landing .clarity p{color:#5f6d87}
body.sixive-landing .pieces>span{border-color:#dce6f3;background:#fff;color:#293a5c}body.sixive-landing .pieces small{color:#71809a}
body.sixive-landing .details details,body.sixive-landing .footer{border-color:#dce4f0}
body.sixive-landing .details summary{color:#1a2947}body.sixive-landing .details p,body.sixive-landing .footer p{color:#66748d}
body.sixive-landing .footer>a:last-child{color:#385dc8}

/* Prepare page: a readable handoff form with the live result beside it. */
body.sixive-prepare{--bg:#f4f7fc;--surface:#fff;--line:#dce4f0;--text:#15213e;--muted:#687792;--accent:#496ce4;color-scheme:light;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi","Leelawadee UI",sans-serif;background:radial-gradient(ellipse at 90% 0,#e1f7ff 0,transparent 32rem),radial-gradient(ellipse at 0 28%,#eee8ff 0,transparent 36rem),#f4f7fc}
body.sixive-prepare header{max-width:1240px;min-height:66px;margin:12px auto 0;padding:12px 18px;border:1px solid #dce4f0;border-radius:16px;background:#ffffffed;color:#5e6c87;box-shadow:0 8px 24px #14254b0a}
body.sixive-prepare header a{color:#385dc8;font-weight:750}body.sixive-prepare main{padding-top:46px;padding-bottom:64px}
body.sixive-prepare .intro{max-width:780px;padding:24px 0 22px}
body.sixive-prepare .intro small,body.sixive-prepare .result>small{color:#4a6ed7}
body.sixive-prepare .intro h1{font-size:clamp(38px,6vw,62px);line-height:1.12;letter-spacing:-.055em;color:#14213e}
body.sixive-prepare .intro h1 span{background:linear-gradient(100deg,#8854e8,#3e70ed 70%,#17a8cd);background-clip:text;-webkit-background-clip:text;color:transparent}
body.sixive-prepare .intro p{color:#61708b;max-width:660px}
body.sixive-prepare .flow{justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px;border:1px solid #dce5f1;border-radius:14px;background:#ffffffbc;color:#5c6d8a}
body.sixive-prepare .flow span{padding:10px 13px;border:1px solid #dce5f0;border-radius:9px;background:#fff;color:#435575;font-size:12px;font-weight:700}
body.sixive-prepare .flow span:nth-of-type(1){border-color:#9eb6ed;background:#edf3ff;color:#355fcf;box-shadow:inset 2px 0 #55c4e4}
body.sixive-prepare .flow b{color:#8192b2}body.sixive-prepare .workspace{align-items:start;gap:16px}
body.sixive-prepare form,body.sixive-prepare .result{border:1px solid #dce4f0;border-radius:18px;background:#fff;box-shadow:0 12px 32px #14254b0b;padding:clamp(18px,2.4vw,28px)}
body.sixive-prepare .topline h2,body.sixive-prepare .result h2{color:#182644}
body.sixive-prepare label{color:#394a69;font-size:13px;font-weight:700}
body.sixive-prepare input,body.sixive-prepare textarea,body.sixive-prepare select{border-color:#d4deed;border-radius:10px;background:#fbfcff;color:#172440}
body.sixive-prepare :is(input,textarea,select):focus{border-color:#7192ed;box-shadow:0 0 0 3px #5477e51a}
body.sixive-prepare textarea{min-height:90px;overflow-wrap:anywhere}
body.sixive-prepare .primary{background:linear-gradient(110deg,#7951ef,#3970ed 70%,#24b0d1);box-shadow:0 8px 20px #496fe52c}
body.sixive-prepare .hint{color:#6c7a94;line-height:1.7}body.sixive-prepare summary{color:#385dc8;font-weight:700}
body.sixive-prepare .result{position:sticky;top:18px}
body.sixive-prepare #output{min-height:300px;border-color:#2a3a5d;background:linear-gradient(145deg,#0d1730,#12203c);color:#e6efff;overflow-wrap:anywhere;word-break:break-word}
body.sixive-prepare .result .actions button{min-height:42px}body.sixive-prepare #status{color:#385dc8}
body.sixive-prepare dt{color:#385dc8}body.sixive-prepare dd{color:#596985}
@media(max-width:760px){
  .factory-overlay{padding:0}.factory-shell{height:100dvh;border-radius:0}
  .factory-body{grid-template-columns:minmax(0,1fr)}.factory-side{scrollbar-width:thin}
  .factory-main{padding:16px 14px 28px}.factory-head h2{font-size:clamp(22px,6vw,28px)}
  .factory-actions{width:100%}.factory-actions .btn{flex:1}
  .factory-footer{align-items:flex-start;flex-direction:column}.factory-footer .btn{width:100%}
  #byokOverlay.byok-overlay{align-items:flex-start;padding:8px}
  #byokOverlay .byok-card{width:100%;max-height:calc(100dvh - 16px);border-radius:16px}
  #byokOverlay .byok-head{padding:14px 16px}#byokOverlay .byok-content{padding:15px 16px 18px}
  #byokOverlay .byok-actions{bottom:-18px;margin:16px -16px -18px;padding:12px 16px}
  #byokOverlay .byok-actions>div{width:100%}#byokOverlay .byok-actions>div .btn{flex:1}
  #byokOverlay .byok-actions .test-result{width:100%}
  body.sixive-prepare main{padding:30px 16px 44px}body.sixive-prepare .result{position:static}
  body.sixive-prepare .flow{display:flex;gap:7px}body.sixive-prepare .flow span{font-size:11px}
}
@media(max-width:520px){
  .factory-top{padding:10px 12px}.factory-brand small{font-size:7px}
  .factory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-textarea{min-height:230px;font-size:11px}
  .factory-graph{margin-inline:-4px}.factory-node{flex-basis:148px}
  #protect .privacy-grid{grid-template-columns:minmax(0,1fr)}#protect .layers{grid-template-columns:repeat(2,minmax(0,1fr))}
  #protect .mode-tabs{flex-direction:column}#protect .mode-tabs button{text-align:left}
  #protect .prompt{height:250px;padding:13px;font-size:10px}.market-grid{grid-template-columns:minmax(0,1fr)}.market-card{min-height:0}
  body.sixive-landing .nav{min-height:58px;padding:7px 9px}body.sixive-landing .nav nav{gap:7px}
  body.sixive-landing .nav nav>a:not(.button){display:none}body.sixive-landing .brand{font-size:16px;gap:8px}
  body.sixive-landing .brand img{width:31px;height:34px}body.sixive-landing .brand small{font-size:6px}
  body.sixive-landing .hero{padding:42px 0 34px;gap:24px}
  body.sixive-landing .hero h1{font-size:clamp(38px,10vw,52px)}
  body.sixive-landing .hero-stage{min-height:0}body.sixive-landing .center-card{padding:18px}
  body.sixive-landing .float{display:none}body.sixive-landing .ecosystem-strip{padding:17px 0}
  body.sixive-landing .clarity{padding:18px}
  body:not(.sixive-app-mode) .hero-stage{min-width:0;overflow:hidden}
  body:not(.sixive-app-mode) .hero-stage .float{display:none}
  body:not(.sixive-app-mode) .hero-copy,body:not(.sixive-app-mode) .hero-stage,body:not(.sixive-app-mode) .center-card{min-width:0;max-width:100%}
  body:not(.sixive-app-mode) .brand-core-shell{padding:18px 16px;border-radius:22px;overflow:hidden}
  body:not(.sixive-app-mode) .brand-core-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  body:not(.sixive-app-mode) .brand-core-visual{min-height:0;padding:10px 0}
  body:not(.sixive-app-mode) .brand-orbit-art{width:min(270px,100%);border-radius:22px;transform:none}
  body:not(.sixive-app-mode) .brand-core-logo{width:145px;height:145px}
  body:not(.sixive-app-mode) .brand-core-copy .brand-motto{font-size:clamp(34px,9vw,46px)}
  body:not(.sixive-app-mode) .brand-definition,body:not(.sixive-app-mode) .brand-values{grid-template-columns:minmax(0,1fr)}
  body:not(.sixive-app-mode) .core-loop{grid-template-columns:repeat(3,minmax(0,1fr))}
  body:not(.sixive-app-mode) .brand-core-shell :is(.brand-definition,.brand-values,.core-loop,.install-row){min-width:0}
  body:not(.sixive-app-mode) main>section{padding-block:42px}
  body.sixive-prepare header{margin:8px 8px 0;padding:10px 12px;font-size:11px}
  body.sixive-prepare main{padding:25px 14px 36px}body.sixive-prepare .intro{padding:12px 0 18px}
  body.sixive-prepare .intro h1{font-size:38px}
  body.sixive-prepare .flow{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px}
  body.sixive-prepare .flow b{display:none}body.sixive-prepare .flow span{padding:9px 8px;font-size:10px;text-align:center}
  body.sixive-prepare form,body.sixive-prepare .result{padding:17px}body.sixive-prepare #output{min-height:240px}
}
@media(prefers-reduced-motion:reduce){
  .factory-node,body.sixive-landing .path,body.sixive-landing .button{transition:none!important}
  .factory-node:hover,body.sixive-landing .path:hover,body.sixive-landing .button:hover{transform:none}
}

/* A calmer, task-oriented side rail shared by Workspace and AI Library. */
.sixive-app-home{grid-template-columns:248px minmax(0,1fr)!important}
.sixive-app-home .app-side{width:auto;box-sizing:border-box;position:sticky;top:0;height:100vh;min-height:100vh;overflow:auto;padding:18px 12px 14px;background:#101827;border-right:1px solid #ffffff12;box-shadow:none;gap:15px;z-index:30}
.sixive-app-home .app-side-brand{padding:3px 9px 16px;border-bottom:1px solid #ffffff12}
.sixive-app-home .app-side-brand img{width:34px;height:34px}
.sixive-app-home .app-side-brand b{font-size:15px;letter-spacing:.02em}
.sixive-app-home .app-side-brand small{font-size:7px;letter-spacing:.1em}
.sixive-app-home .app-side-nav{display:grid;align-content:start;gap:13px}
.sixive-app-home .app-nav-group{display:grid;gap:3px}
.sixive-app-home .app-nav-heading{padding:5px 11px 4px;color:#7f8ba4;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.sixive-app-home .app-side-nav a,.sixive-app-home .app-side-nav button{display:flex;align-items:center;gap:10px;min-height:38px;box-sizing:border-box;padding:8px 11px;border-radius:10px;background:transparent;color:#c0c9d8;text-align:left;text-decoration:none;font-size:12px;font-weight:550;line-height:1.2;transition:background .16s ease,color .16s ease,transform .16s ease}
.sixive-app-home .app-side-nav a:hover,.sixive-app-home .app-side-nav button:hover{background:#ffffff0b;color:#fff;transform:translateX(1px)}
.sixive-app-home .app-side-nav a.active,.sixive-app-home .app-side-nav button.active{background:#ffffff13;box-shadow:inset 2px 0 #62d8eb;color:#fff}
.sixive-app-home .app-side-nav .app-nav-icon{flex:0 0 18px;width:18px;text-align:center;font-size:16px;font-weight:500;color:#a7b7d0}
.sixive-app-home .app-side-nav .app-nav-primary{min-height:42px;border:1px solid #ffffff1c;background:#ffffff0a;color:#fff;font-weight:700}
.sixive-app-home .app-side-nav .app-nav-primary:hover{background:#ffffff13;border-color:#ffffff30}
.sixive-app-home .app-side-nav .app-nav-primary .app-nav-icon{font-size:19px}
.sixive-app-home .app-side-note{margin-top:auto;padding:10px 11px;border-color:#ffffff12;color:#8793aa;font-size:9px;line-height:1.5}
.sixive-app-home .app-topbar{display:flex;justify-content:flex-start;gap:14px}
.sixive-app-home .app-nav-toggle{width:36px;height:36px;flex:none;border:1px solid #e1e7f1;border-radius:10px;background:#fff;color:#354563;font-size:17px;cursor:pointer;transition:background .15s,border-color .15s}
.sixive-app-home .app-nav-toggle:hover{background:#f3f6fb;border-color:#bdc9dd}
.sixive-app-home .app-topbar .crumb{flex:1}
.sixive-app-home .app-side-scrim[hidden]{display:none!important}
body.sixive-nav-collapsed .sixive-app-home{grid-template-columns:76px minmax(0,1fr)!important}
body.sixive-nav-collapsed .sixive-app-home .app-side{padding-inline:9px}
body.sixive-nav-collapsed .sixive-app-home .app-side-brand{justify-content:center;padding-inline:0}
body.sixive-nav-collapsed .sixive-app-home .app-side-brand>div,body.sixive-nav-collapsed .sixive-app-home .app-nav-heading,body.sixive-nav-collapsed .sixive-app-home .app-nav-label,body.sixive-nav-collapsed .sixive-app-home .app-side-note{display:none}
body.sixive-nav-collapsed .sixive-app-home .app-nav-heading{display:none!important}
body.sixive-nav-collapsed .sixive-app-home .app-side-nav a,body.sixive-nav-collapsed .sixive-app-home .app-side-nav button{justify-content:center;padding-inline:6px}
body.sixive-nav-collapsed .sixive-app-home .app-side-nav .app-nav-icon{flex-basis:22px;font-size:18px}
@media(max-width:1000px){.sixive-app-home{grid-template-columns:220px minmax(0,1fr)!important}.sixive-app-home .app-workspace{padding:20px 18px 32px}.sixive-app-home .app-side-nav span{display:inline}.sixive-app-home .app-side-brand>div{display:block}.sixive-app-home .app-side-note{display:block}}
@media(max-width:640px){.sixive-app-home{grid-template-columns:1fr!important}.sixive-app-home .app-side{display:none;position:fixed;inset:0 auto 0 0;width:min(282px,86vw);height:100dvh;min-height:0;box-shadow:14px 0 45px #0d18334a}.sixive-app-home .app-side-nav .app-nav-label,.sixive-app-home .app-nav-heading,.sixive-app-home .app-side-note,.sixive-app-home .app-side-brand>div{display:initial}.sixive-app-home .app-side-brand>div{display:block}.sixive-app-home .app-nav-heading{display:block}.sixive-app-home .app-side-note{display:block}.sixive-app-home .app-side-nav a,.sixive-app-home .app-side-nav button{justify-content:flex-start}.sixive-app-home .app-side-nav .app-nav-icon{flex-basis:18px}.sixive-app-home .app-nav-toggle{display:grid;place-items:center}.sixive-app-home .app-main{min-width:0}.sixive-app-home .app-topbar{padding-inline:12px}.sixive-app-home .app-topbar .crumb{font-size:9px}.sixive-app-home .app-top-actions{gap:5px}.sixive-app-home .app-topbar .btn{padding:8px 9px;font-size:10px}body.sixive-mobile-nav-open .sixive-app-home .app-side{display:flex}body.sixive-mobile-nav-open .sixive-app-home .app-side-scrim{display:block;position:fixed;inset:0;z-index:25;border:0;background:#10182755;backdrop-filter:blur(1px)}}

/* Keep the Workspace rail compact, full-height, and smoothly collapsible. */
.sixive-app-home{transition:grid-template-columns .22s cubic-bezier(.2,.75,.25,1)}
.sixive-app-home .app-side{height:100dvh;min-height:100dvh;align-self:start;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sixive-app-home .app-side-nav{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content;grid-auto-rows:max-content;align-content:start!important;align-items:start;gap:10px!important;min-height:0!important;height:auto!important;max-height:none!important;flex:none!important;margin:0!important;padding:0!important}
.sixive-app-home .app-nav-primary-wrap,.sixive-app-home .app-nav-group{display:grid!important;grid-template-columns:minmax(0,1fr);align-content:start;align-self:start;gap:2px!important;min-width:0;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;flex:none!important}
.sixive-app-home .app-nav-heading{width:100%;min-height:32px!important;display:flex!important;justify-content:space-between!important;gap:8px!important;padding:6px 11px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#8390aa!important;font-family:inherit!important;font-size:9px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase;cursor:pointer;transform:none!important}
.sixive-app-home .app-nav-heading:hover{background:#ffffff08!important;color:#bac5d8!important}
.sixive-app-home .app-nav-chevron{font-size:13px;line-height:1;letter-spacing:0;transition:transform .2s ease;color:#6f7c95}
.sixive-app-home .app-nav-items{display:grid;grid-template-rows:1fr;min-height:0;transition:grid-template-rows .22s cubic-bezier(.2,.75,.25,1),opacity .18s ease;opacity:1}
.sixive-app-home .app-nav-items-inner{display:grid;align-content:start;gap:3px;min-height:0;overflow:hidden}
.sixive-app-home .app-nav-group.is-collapsed .app-nav-items{grid-template-rows:0fr;opacity:0}
.sixive-app-home .app-nav-group.is-collapsed .app-nav-chevron{transform:rotate(-90deg)}
.sixive-app-home .app-side-nav .app-nav-primary-wrap>.app-nav-primary{width:100%;justify-content:flex-start}
.sixive-app-home .app-nav-primary-wrap{margin-bottom:8px!important}
.sixive-app-home .app-side-spacer{flex:1 0 24px;min-height:24px}
.sixive-app-home .app-side-scrim{display:block;position:fixed;inset:0;z-index:25;border:0;background:#10182700;backdrop-filter:blur(0);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease,backdrop-filter .2s ease}
.sixive-app-home .app-workspace,.sixive-app-home .sixive-workspace-view{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.sixive-app-home .desk-feature,.sixive-app-home .desk-feature-copy,.sixive-app-home .desk-pipeline,.sixive-app-home .desk-launchers,.sixive-app-home .desk-launch,.sixive-app-home .desk-bottom,.sixive-app-home .desk-saved,.sixive-app-home .desk-shortcuts{min-width:0;max-width:100%;box-sizing:border-box}
.sixive-app-home .desk-feature{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.sixive-app-home .desk-pipeline-head{min-width:0;flex-wrap:wrap;align-items:center}
.sixive-app-home .desk-pipeline ol{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
.sixive-app-home .desk-pipeline li{min-width:0;overflow-wrap:anywhere}
.sixive-app-home .desk-launchers{grid-template-columns:repeat(2,minmax(0,1fr))}
.sixive-app-home .desk-launch>div{min-width:0;overflow-wrap:anywhere}
.sixive-app-home .desk-launch small,.sixive-app-home .desk-launch h3,.sixive-app-home .desk-launch p{overflow-wrap:anywhere}
.sixive-app-home .desk-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.sixive-app-home .desk-feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sixive-app-home .desk-pipeline ol{grid-template-columns:repeat(2,minmax(0,1fr))}.sixive-app-home .app-workspace{padding-inline:20px}}
@media(max-width:760px){.sixive-app-home{grid-template-columns:190px minmax(0,1fr)!important}.sixive-app-home .app-top-actions .btn.white{display:none}.sixive-app-home .app-topbar{gap:9px;padding-inline:12px}.sixive-app-home .app-topbar .crumb{min-width:0}.sixive-app-home .desk-feature{grid-template-columns:minmax(0,1fr)}.sixive-app-home .desk-pipeline ol{grid-template-columns:repeat(3,minmax(0,1fr))}.sixive-app-home .desk-launchers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sixive-app-home .app-side{display:flex;position:fixed;inset:0 auto 0 0;width:min(282px,86vw);height:100dvh;min-height:0;transform:translateX(-105%);visibility:hidden;transition:transform .23s cubic-bezier(.2,.75,.25,1),visibility .23s;box-shadow:14px 0 45px #0d18334a}.sixive-app-home .app-nav-heading{display:flex!important}.sixive-app-home .app-side-scrim{display:block}body.sixive-mobile-nav-open .sixive-app-home .app-side{display:flex;transform:translateX(0);visibility:visible}body.sixive-mobile-nav-open .sixive-app-home .app-side-scrim{opacity:1;visibility:visible;pointer-events:auto;background:#10182755;backdrop-filter:blur(1px)}.sixive-app-home .app-workspace{padding-inline:14px}.sixive-app-home .desk-pipeline ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sixive-app-home .desk-launchers{grid-template-columns:minmax(0,1fr)}.sixive-app-home .desk-feature{padding:18px}.sixive-app-home .desk-pipeline-head span{overflow-wrap:anywhere}.sixive-app-home .desk-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.sixive-app-home,.sixive-app-home .app-nav-items,.sixive-app-home .app-nav-chevron,.sixive-app-home .app-side,.sixive-app-home .app-side-scrim{transition:none!important}}

/* Premium finish: calmer depth, confident type, and clearer action surfaces. */
.sixive-app-home .app-main{min-width:0;min-height:100dvh;background:radial-gradient(ellipse at 94% 2%,#e6f7ff8c,transparent 28rem),radial-gradient(ellipse at 5% 32%,#f2eefe75,transparent 30rem),#f5f7fb}
.sixive-app-home .app-topbar{box-shadow:0 1px 0 #dce4f1a8}
.sixive-app-home .app-nav-toggle{box-shadow:0 3px 10px #1726490b}
.sixive-app-home .sixive-workspace-tabs{padding:4px;border:1px solid #dde5f2;border-radius:12px;background:#e9eef6;box-shadow:inset 0 1px 2px #18264808}
.sixive-app-home .sixive-workspace-tabs button{min-height:38px;padding-inline:17px;border:1px solid transparent;border-radius:9px;font-weight:700;letter-spacing:-.01em}
.sixive-app-home .sixive-workspace-tabs button[aria-selected="true"]{border-color:#e2e8f5;box-shadow:0 3px 9px #14264b12}
.sixive-app-home .desk-heading{margin-bottom:25px}
.sixive-app-home .desk-heading .desk-kicker{color:#5571d5;font-size:9px;font-weight:850;letter-spacing:.16em}
.sixive-app-home .desk-heading h1{font-size:clamp(27px,3.2vw,38px);line-height:1.16;letter-spacing:-.052em}
.sixive-app-home .desk-heading p{font-size:13px;line-height:1.65;color:#74819a}
.sixive-app-home .desk-feature{padding:clamp(22px,2.5vw,34px);border-radius:23px;box-shadow:0 22px 48px #1726491b,inset 0 1px #ffffff12}
.sixive-app-home .desk-feature-copy p{max-width:34ch;font-size:13px;line-height:1.75}
.sixive-app-home .desk-feature h2{max-width:16ch;letter-spacing:-.045em;line-height:1.22}
.sixive-app-home .desk-feature .btn.primary{min-height:44px;border-radius:12px;padding:12px 17px;font-weight:750;box-shadow:0 10px 24px #426bf54d, inset 0 1px #ffffff3d}
.sixive-app-home .desk-pipeline{padding:17px;border-radius:16px;box-shadow:inset 0 1px #ffffff12}
.sixive-app-home .desk-pipeline li{min-height:72px;align-content:center;border-radius:11px;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.sixive-app-home .desk-pipeline li:hover{transform:translateY(-2px);border-color:#b6d8ff70;background:linear-gradient(145deg,#2a3c5c,#1d2d4a)}
.sixive-app-home .desk-section-heading{margin-top:28px;margin-bottom:14px}
.sixive-app-home .desk-section-heading h2{font-size:17px;font-weight:760;letter-spacing:-.035em}
.sixive-app-home .desk-section-heading>span{color:#73819b}
.sixive-app-home .desk-launch{position:relative;min-height:108px;padding:19px;border-radius:17px;border-color:#dce4f0;background:linear-gradient(150deg,#ffffff,#fbfcff);box-shadow:0 8px 24px #1726490a,inset 0 1px #ffffff}
.sixive-app-home .desk-launch:hover{transform:translateY(-3px);border-color:#b7c7f2;background:#fff;box-shadow:0 16px 34px #243b7119}
.sixive-app-home .desk-icon{flex:0 0 44px;width:44px;height:46px;border-radius:14px;box-shadow:inset 0 0 0 1px #ffffffbd,0 5px 13px #1f376110}
.sixive-app-home .desk-launch small{font-size:8px;font-weight:850;letter-spacing:.14em;color:#73819d}
.sixive-app-home .desk-launch h3{font-size:15px;line-height:1.35;letter-spacing:-.02em;color:#172544}
.sixive-app-home .desk-launch p{font-size:11px;line-height:1.55;color:#6d7b96}
.sixive-app-home .desk-arrow{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-left:auto;border-radius:50%;background:#f1f4fb;color:#6478ba;transition:transform .18s,background .18s,color .18s}
.sixive-app-home .desk-launch:hover .desk-arrow{transform:translate(2px,-2px);background:#e8edff;color:#425ed3}
.sixive-app-home .desk-bottom{gap:14px;margin-top:22px}
.sixive-app-home .desk-saved,.sixive-app-home .desk-shortcuts{min-height:218px;padding:20px;border-radius:17px;background:linear-gradient(155deg,#fff,#fbfcff);box-shadow:0 8px 24px #17264908}
.sixive-app-home .desk-saved .recent-empty{min-height:54px;display:grid;place-items:center;color:#7c89a1}
.sixive-app-home .desk-stat-row b{font-size:26px;letter-spacing:-.045em}
.sixive-app-home .desk-shortcut-grid button{min-height:78px;padding:11px;border-radius:12px;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.sixive-app-home .desk-shortcut-grid button:hover{transform:translateY(-2px);border-color:#c4d0ef;background:#fff;box-shadow:0 7px 16px #1726490c}
.sixive-app-home .desk-ecosystems{color:#60739c;font-weight:650}
.sixive-app-home :focus-visible{outline:3px solid #6a83fa!important;outline-offset:3px}
@media(max-width:760px){.sixive-app-home .desk-feature{padding:22px;border-radius:19px}.sixive-app-home .desk-pipeline li{min-height:68px}.sixive-app-home .desk-launch{min-height:102px;padding:14px;border-radius:15px}.sixive-app-home .desk-icon{flex-basis:38px;width:38px;height:40px}.sixive-app-home .desk-bottom{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.sixive-app-home .sixive-workspace-tabs button{min-width:0;padding-inline:8px;letter-spacing:-.025em}.sixive-app-home .desk-heading{margin-bottom:18px}.sixive-app-home .desk-heading h1{font-size:27px}.sixive-app-home .desk-feature{padding:19px}.sixive-app-home .desk-feature h2{font-size:25px}.sixive-app-home .desk-launch{min-height:96px;padding:15px}.sixive-app-home .desk-bottom{gap:11px}.sixive-app-home .desk-saved,.sixive-app-home .desk-shortcuts{min-height:0;padding:16px}}
@media(prefers-reduced-motion:reduce){.sixive-app-home .desk-pipeline li,.sixive-app-home .desk-arrow,.sixive-app-home .desk-shortcut-grid button{transition:none!important}}

/* Keep primary navigation scrollable while account and settings stay anchored below it. */
.sixive-app-home .app-side{display:flex;flex-direction:column;align-self:stretch;height:100dvh;min-height:100dvh;max-height:100dvh;overflow:hidden;padding-bottom:12px}
.sixive-app-home .app-side-nav{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff22 transparent;padding-bottom:12px!important}
.sixive-app-home .app-side-footer{flex:0 0 auto;display:grid;gap:7px;min-width:0;margin-top:auto;padding-top:10px;border-top:1px solid #ffffff13}
.sixive-app-home .app-side-footer .app-nav-settings{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid #ffffff13;border-radius:11px;background:#ffffff08;color:#d0daeb;font-family:inherit;font-size:12px;font-weight:650;line-height:1.25;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}
.sixive-app-home .app-side-footer .app-nav-settings:hover{background:#ffffff12;border-color:#ffffff24;color:#fff}
.sixive-app-home .app-side-footer .app-nav-settings .app-nav-icon{flex:0 0 18px;width:18px;color:#a9b8d2;text-align:center;font-size:15px}
.sixive-app-home .app-side-note{margin:0 8px!important;padding:2px 3px!important;border:0!important;color:#78869e;font-size:9px;line-height:1.35}
.sixive-app-home #sixiveAccountDock{position:static!important;inset:auto!important;width:100%;max-width:100%;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-start;margin:3px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;gap:6px!important}
.sixive-app-home #sixiveAccountDock button{width:100%;min-width:0;min-height:40px;display:flex;align-items:center;justify-content:flex-start;padding:9px 11px;border:1px solid #ffffff1b;border-radius:11px;background:linear-gradient(110deg,#7951ef,#3970ed 70%,#28aeca);box-shadow:0 5px 16px #5369df35;color:#fff;font-family:inherit;font-size:12px;font-weight:750;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
.sixive-app-home #sixiveCloudStatus{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:9px}
body.sixive-nav-collapsed .sixive-app-home .app-side-footer{gap:5px}
body.sixive-nav-collapsed .sixive-app-home .app-side-footer .app-nav-settings{justify-content:center;padding-inline:6px}
body.sixive-nav-collapsed .sixive-app-home #sixiveAccountDock{justify-content:center}
body.sixive-nav-collapsed .sixive-app-home #sixiveAccountDock button{justify-content:center;padding-inline:6px;font-size:0}
body.sixive-nav-collapsed .sixive-app-home #sixiveAccountDock button::before{content:"◉";font-size:17px}
body.sixive-nav-collapsed .sixive-app-home #sixiveCloudStatus{display:none}
@media(max-width:640px){.sixive-app-home .app-side{height:100dvh;max-height:100dvh;padding-bottom:12px}.sixive-app-home .app-side-footer{padding-bottom:env(safe-area-inset-bottom,0px)}}

/* On phones the off-canvas rail must not reserve a desktop grid column. */
@media(max-width:640px){
  .sixive-app-home{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)!important}
  body.sixive-nav-collapsed .sixive-app-home{grid-template-columns:minmax(0,1fr)!important}
  .sixive-app-home .app-main{grid-column:1/-1;width:100%;min-width:0}
  .sixive-app-home .app-topbar{width:100%;min-width:0;box-sizing:border-box}
  .sixive-app-home .app-topbar .crumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sixive-app-home .app-workspace{width:100%;min-width:0;box-sizing:border-box;padding-inline:16px}
  .sixive-app-home .sixive-workspace-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}
  .sixive-app-home .sixive-workspace-tabs button{min-width:0;padding-inline:4px;white-space:nowrap;font-size:clamp(9px,2.8vw,11px)}
  .sixive-app-home .desk-feature{grid-template-columns:minmax(0,1fr)}
  .sixive-app-home .desk-pipeline ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
