/* Native Lumior Mac proportions: 40px tabs, 52px rail, 280px board list.
   1600 × 1000 reference artboard. The containing frame scales only the complete
   illustration; HTML typography and SVG graphics stay resolution independent. */
@font-face{font-family:SceneInter;src:url('./assets/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;background:#191a1b;color:#ffffffd9;font-family:-apple-system,BlinkMacSystemFont,SceneInter,sans-serif;-webkit-font-smoothing:antialiased}
html{overflow:hidden}
body{display:grid;place-items:center;overflow:hidden}
.scene-frame{position:relative;width:100%;aspect-ratio:8/5;overflow:hidden;background:#191a1b}
.mac-window{position:absolute;left:0;top:0;width:1600px;height:1000px;overflow:hidden;background:#191a1b;transform:scale(var(--scene-scale,1));transform-origin:0 0;user-select:none}
.glyph{display:block;width:20px;height:20px;flex:none;object-fit:contain;pointer-events:none}
.window-tabs{display:flex;align-items:center;width:100%;height:40px;color:#ffffff99;font-size:12px;line-height:20px}
.tabs-navigation{position:relative;display:flex;align-items:center;gap:12px;width:332px;flex:0 0 332px;height:40px;padding-left:92px}
.tabs-navigation:after{position:absolute;right:0;top:12px;content:'';width:1px;height:16px;background:#ffffff1a}
.tabs-navigation>span{display:grid;place-items:center;width:24px;height:24px}
.tabs-navigation .glyph{width:16px;height:16px}
.traffic-lights{position:absolute;left:20px;top:14px;display:flex;gap:8px}
.traffic-lights i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px #0002;background:#ff5f57}
.traffic-lights i:nth-child(2){background:#febc2e}.traffic-lights i:nth-child(3){background:#28c840}
.history-icon{opacity:.35}.forward{transform:scaleX(-1)}
.board-tab{display:flex;align-items:center;gap:8px;width:228px;height:32px;padding:0 12px;margin:4px 8px;background:#ffffff16;border-radius:8px;color:#ffffffcc}
.board-tab>.glyph{width:16px;height:16px}.board-tab>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.new-tab{display:grid;place-items:center;width:24px;height:24px}.new-tab svg{width:16px;height:16px}
.workspace-body{display:flex;height:960px;padding-right:8px;padding-bottom:8px}
.workspace-sidebar{display:flex;width:332px;flex:none;height:100%;color:#ffffff99}
.workspace-rail{display:flex;align-items:center;flex-direction:column;gap:12px;position:relative;width:52px;flex:none;height:100%;padding-top:14px}
.rail-item{display:grid;place-items:center;width:32px;height:32px;border-radius:12px}.rail-item.selected{background:#ffffff1a}
.rail-menu{display:grid;place-items:center;width:32px;height:32px;border-radius:12px;margin-top:auto;background:#0d0d0d}
.rail-menu img{display:block;width:24px;height:24px;object-fit:contain;border-radius:6px}
.board-panel{width:280px;height:100%;background:#0d0d0dcc;border-right:1px solid #ffffff0a;border-radius:16px 0 0 16px}
.board-actions{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:8px;height:32px;margin:12px 8px 0}
.search-field,.new-board{height:32px;display:flex;align-items:center;border:1px solid #ffffff1a;border-radius:12px;background:#191919e6;color:#ffffff99}
.search-field{justify-content:space-between;gap:8px;padding:0 5px 0 11px;font-size:12px;line-height:18px}
.shortcut{display:flex;align-items:center;justify-content:center;gap:2px;min-width:32px;height:20px;border-radius:6px;background:#ffffff1a}
.shortcut .glyph{width:14px;height:14px}.new-board{justify-content:center}.new-board .glyph{width:16px;height:16px}
.board-list{margin-top:24px;padding:0 8px}.list-label{margin:0 8px 4px;font-size:12px;line-height:20px;color:#ffffff66;font-weight:400}
.recent-board{display:flex;align-items:center;min-width:0;height:32px;padding:0 8px;border-radius:12px;font-size:14px;line-height:20px}
.recent-board.active{background:#ffffff1a;color:#ffffffcc}.recent-board>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.workspace{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:#0d0d0d;border-radius:0 16px 16px 0}
.workspace-heading{position:absolute;inset:0 0 auto;z-index:10;display:flex;align-items:flex-start;gap:8px;height:64px;padding:0 8px;font-size:14px;line-height:20px;color:#fff;background:linear-gradient(180deg,#0e0e0ed1,transparent)}
.workspace-heading>span{display:block;margin-top:12px;padding:6px 4px;font-weight:600;max-width:calc(100% - 140px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-actions{display:flex;align-items:center;gap:8px;height:40px;margin-top:8px;margin-left:auto;padding:4px;border-radius:16px;background:#191919e6}
.header-actions>span{display:grid;place-items:center;width:32px;height:32px;padding:6px}.header-actions .glyph{filter:brightness(0) invert(1);opacity:.6}
.canvas{position:absolute;inset:0;background-image:radial-gradient(circle,#ffffff1b .55px,transparent .9px);background-size:20.16px 20.16px;background-position:0 0}
.world{position:absolute;left:40.8px;top:102px;width:3800px;height:2600px;transform:scale(.32);transform-origin:0 0}
.canvas-section{position:absolute;z-index:0;border:1px solid color-mix(in srgb,var(--section-color) 24%,transparent);border-radius:8px;background:color-mix(in srgb,var(--section-color) 9%,transparent)}
.section-label{position:absolute;left:-1px;bottom:calc(100% + 25px);display:flex;align-items:center;white-space:nowrap;height:24px;padding:2px 8px;margin:0;border-radius:8px;background:color-mix(in srgb,var(--section-color) 24%,#151515);color:color-mix(in srgb,var(--section-color) 40%,white);font-size:14px;line-height:20px;font-weight:600;transform:scale(3.125);transform-origin:bottom left}
.connections{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;z-index:1}
.connections path{fill:none;stroke:#8a929d;stroke-width:3;vector-effect:non-scaling-stroke}
.card{position:absolute;z-index:2;border:1px solid #ffffff14;border-radius:16px;background:#191919;color:#ffffffd9}
.type-label{position:absolute;left:0;top:-24px;max-width:100%;display:flex;align-items:center;gap:5px;height:18px;color:#ffffff99;font-size:12px;line-height:18px;white-space:nowrap}
.type-label .glyph{width:12px;height:12px;opacity:.75;filter:brightness(0) invert(1)}
.type-label>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-note{padding:16px 24px}.card-inner{height:100%;overflow:hidden;overflow-wrap:anywhere}.card-note h2{margin:0 0 12px;font-size:24px;font-weight:600;line-height:31px;letter-spacing:-.7px;color:#fafafa}
.note-body{font-size:14px;line-height:21px}.note-body p{margin:0;padding:2px 0;white-space:normal}.note-body p+p{margin-top:12px}.note-body h3{margin:8px 0;font-size:18px;line-height:25.2px;letter-spacing:0}.note-body strong{font-weight:600}.content-link{color:#b8d6f0;text-decoration:underline;text-underline-offset:2px}
.card-text{padding:0;background:transparent;border-color:transparent}.canvas-title{height:100%;overflow:hidden;padding:8px;font-size:64px;line-height:1.2;letter-spacing:1px;font-weight:600;white-space:pre-wrap;color:#fafafa}
.card-pdf{height:auto!important}.paper-preview{border-radius:15px;overflow:hidden;background:white}.paper-preview>img{display:block;width:100%;height:auto}
.card-image{height:auto!important;padding:0}.image-content{overflow:hidden;border-radius:15px}.image-content>img{display:block;width:100%;height:auto}.image-content>p{margin:0;padding:10px 12px 12px;color:#fff;font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
.card-video{padding:0}.video-picture{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:15px}.video-picture>img{display:block;width:100%;height:100%;object-fit:cover}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#1119;color:white}.video-play>svg{width:20px;height:20px}
.video-duration{position:absolute;right:10px;bottom:10px;padding:3px 5px;font-size:11px;line-height:14px;background:#000b;border-radius:4px;color:white;font-variant-numeric:tabular-nums}
.video-caption{padding:10px 12px}.video-caption h2{font-size:14px;line-height:20px;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:#fafafa}.video-caption p{font-size:12px;line-height:16px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ffffff99}
.edge-label{position:absolute;z-index:5;max-width:264px;min-height:28px;padding:4px 10px;border:1px solid #ffffff20;border-radius:7px;background:#202020;color:#c7c7c7;font-size:12px;font-weight:500;line-height:18px;box-shadow:0 2px 8px #0003;white-space:nowrap;transform:translate(-50%,-50%) scale(3.125);transform-origin:center}
.canvas-tools{position:absolute;z-index:11;left:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;flex-direction:column;gap:8px;width:48px;height:208px;padding:7px 0;border:1px solid #ffffff14;border-radius:24px;background:#191919}
.canvas-tools>span{display:grid;place-items:center;width:32px;height:32px;flex:none}.canvas-tools .glyph{opacity:.6;filter:brightness(0) invert(1)}.canvas-tools .add-tool{border-radius:50%;background:#fff}.canvas-tools .add-tool .glyph{filter:none;opacity:1}
.bottom-controls{position:absolute;z-index:11;left:8px;bottom:8px;display:flex;align-items:center;gap:8px}.zoom{display:flex;align-items:center;gap:4px;width:121px;height:40px;padding:4px;border-radius:16px;background:#191919e6;color:#ffffff99;font-size:14px;line-height:20px}.zoom>span{display:grid;place-items:center;width:32px;height:32px;flex:none}.zoom>.zoom-number{width:41px}.zoom .glyph{width:16px;height:16px;filter:brightness(0) invert(1);opacity:.6}
.flashlight{display:grid;place-items:center;width:40px;height:40px;padding:10px;border-radius:16px;background:#191919e6}.flashlight .glyph{opacity:.6;filter:brightness(0) invert(1)}
.canvas-hint{position:absolute;z-index:10;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font-size:12px;line-height:24px;color:#666;white-space:nowrap}.canvas-hint>span:last-child{display:grid;place-items:center;width:20px;height:20px;border:1px solid #ffffff14;border-radius:50%;font-size:11px;line-height:18px}

/* One rich canvas, with the application's compact floating AI window. */
.scene-symbols{position:absolute;width:0;height:0;overflow:hidden}.ui-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}.purple{color:#bba4e4}.lime{color:#b4cf61}
.rail-item{color:#aaa}.rail-item .ui-icon{width:20px;height:20px}.rail-menu{background:transparent}.rail-menu img{border-radius:0}.board-actions{margin-top:14px}.search-field{font-size:11px}.sidebar-home{height:36px;display:flex;align-items:center;gap:10px;padding:0 16px;margin:12px 8px 0;font-size:14px}.sidebar-home .ui-icon{width:18px;height:18px}.board-list{margin-top:24px}.list-label.spaced{margin-top:30px}.recent-board{gap:8px;font-size:12px}.recent-board .ui-icon{width:17px;height:17px}.folder-item,.recent-file{height:34px;padding:0 8px;display:flex;align-items:center;gap:9px;font-size:12px}.folder-item .ui-icon,.recent-file .ui-icon{width:17px;height:17px}.folder-item.nested{padding-left:22px;color:#ffffff70}.recent-file>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.canvas-tools{border:0;box-shadow:inset 0 0 0 1px #ffffff14}.canvas-hint{left:47%}
.floating-ai{position:absolute;z-index:30;right:20px;bottom:20px;width:460px;height:524px;display:flex;flex-direction:column;overflow:hidden;background:#191919f5;border:1px solid #ffffff20;border-radius:16px;box-shadow:0 20px 80px #000b,0 0 0 1px #0005;backdrop-filter:blur(24px);font-size:14px;line-height:20px;color:#ffffffd9}
.ai-window-header{height:44px;min-height:44px;display:flex;align-items:center;padding:6px 12px 6px 16px;gap:8px;color:#c6c6ca}.ai-window-title{display:flex;align-items:center;gap:5px;font-size:12px}.ai-window-title>.ui-icon{width:12px;height:12px;color:#777}.ai-window-actions{margin-left:auto;display:flex;gap:8px;color:#9a9a9f}.ai-window-actions>span{display:grid;place-items:center;width:28px;height:28px}.ai-window-actions .ui-icon{width:16px;height:16px}
.ai-window-messages{flex:1;min-height:0;padding:11px 24px 0;overflow:hidden}.ai-question{width:max-content;max-width:360px;margin:0 0 24px auto;padding:10px 14px;background:#2d2d2d;border-radius:15px;font-size:13px;line-height:19px;color:#dedee2}.ai-answer{font-size:13px;line-height:19px;color:#c8c8ce}.answer-intro{margin:0 0 13px;color:#e2e2e6}.answer-point{margin:0 0 10px}.answer-point strong{font-weight:560;font-size:13px;color:#e0e0e5}.answer-point p{margin:2px 0 0;color:#a4a4ae;font-size:12px;line-height:18px}.ai-citation{display:inline-flex;align-items:center;vertical-align:middle;gap:3px;font-size:9px;line-height:15px;padding:0 4px;border:1px solid #ffffff12;border-radius:4px;background:#ffffff08;color:#c0c3ba}.ai-citation .ui-icon{width:10px;height:10px}.ai-answer-actions{display:flex;align-items:center;gap:8px;margin-top:12px;color:#777780}.ai-answer-actions>span{display:grid;place-items:center;width:24px;height:24px}.ai-answer-actions .ui-icon{width:14px;height:14px}.ai-answer-actions .save-note{display:flex;align-items:center;gap:4px;width:auto;padding:2px 9px;background:#eee;color:#191919;border-radius:9px;font-size:10px;line-height:20px;font-weight:600}
.ai-window-composer{flex:none;margin:8px;padding:9px 10px 8px;border:1px solid #ffffff29;border-radius:12px;background:#222}.ai-reference-files{display:flex;gap:7px}.ai-reference-file{position:relative;display:flex;align-items:center;gap:6px;width:169px;height:39px;padding:4px 20px 4px 5px;border:1px solid #ffffff1a;border-radius:7px;background:#1a1a1b;color:#b9b9c1;font-size:9px;line-height:13px}.reference-preview{width:23px;height:28px;display:grid;place-items:center;background:#36333d;border-radius:3px;color:#c0b4ce;font-size:11px;flex:none}.ai-reference-file small{display:block;font-size:8px;color:#73737f}.ai-reference-file i{position:absolute;right:6px;top:7px;font-style:normal;color:#6b6b75}.ai-window-composer>p{font-size:12px;line-height:19px;color:#81818b;margin:10px 0 9px}.compose-actions{display:flex;align-items:center;gap:10px;color:#9696a1;height:25px}.compose-actions>span{display:grid;place-items:center;width:23px;height:23px}.compose-actions .ui-icon{width:16px;height:16px}.compose-actions .auto-model{display:flex;align-items:center;width:auto;gap:4px;margin-left:auto;font-size:10px}.auto-model .ui-icon{width:10px;height:10px}.compose-actions .ai-send{width:26px;height:26px;border-radius:50%;background:#eee;color:#262626}.ai-send .ui-icon{width:16px;height:16px}
