/* Sidus Lab uses the brand's paper, ink, type and cobalt on an open canvas. */
body.in-lab{overflow:hidden}body.in-lab>.site-header,body.in-lab>.site-footer{display:none}body.in-lab #main{margin:0}body.in-lab #route-page{min-height:0}.lc-workspace{position:relative;width:100%;height:100dvh;overflow:hidden;background:var(--paper);font:var(--sidus-font-size-lab)/var(--sidus-leading-label) var(--sidus-font-sans);color:var(--ink)}.lc-workspace button,.lc-workspace a{touch-action:manipulation}.lc-workspace button:disabled{opacity:.4;cursor:not-allowed}.lc-icon{width:19px;height:19px;display:block;flex-shrink:0}.lc-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:3px}.lc-icon-button:hover{background:#181a1d08}.lc-canvas{position:absolute;inset:0;overflow:hidden;touch-action:none;background-image:radial-gradient(#d9d9d5 0.7px,transparent .7px);background-size:24px 24px;outline:none!important}.lc-canvas[data-tool=hand],.lc-canvas.panning{cursor:grab}.lc-canvas.panning{cursor:grabbing}.lc-canvas.connecting{cursor:crosshair}.lc-world{position:absolute;inset:0;transform-origin:0 0;pointer-events:none}.lc-nodes{position:absolute;inset:0}.lc-edges{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.lc-edge{fill:none;stroke:#a0a1ad;stroke-width:1.15;pointer-events:none}.lc-edge.selected{stroke:var(--blue);stroke-width:2}.lc-edge.pending{stroke:var(--blue);stroke-dasharray:5 4}.lc-edge-hit{fill:none;stroke:transparent;stroke-width:15;pointer-events:stroke;cursor:pointer}.lc-node{position:absolute;left:0;top:0;pointer-events:auto;user-select:none;cursor:move;outline:none}.lc-node-picture{width:100%;aspect-ratio:1;background:#edeeeb;position:relative}.lc-node-picture>img{width:100%;height:100%;object-fit:cover;pointer-events:none}.lc-node.selected .lc-node-picture{outline:none}.lc-node:focus-visible .lc-node-picture{outline:none}.lc-node-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:var(--sidus-font-size-meta);line-height:var(--sidus-leading-label);height:auto;min-height:32px;}.lc-node-caption>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lc-node-caption>button{opacity:0;flex-shrink:0}.lc-node:hover .lc-node-caption>button,.lc-node.selected .lc-node-caption>button{opacity:1}.lc-port{position:absolute;width:8px;height:8px;border:1.5px solid var(--blue);background:var(--paper);border-radius:50%;top:calc((100% - 32px)/2);z-index:2;cursor:crosshair}.lc-port::after{content:'';position:absolute;inset:-9px}.lc-port.input{left:-8px}.lc-port.output{right:-8px}.lc-node-toolbar{display:flex;position:absolute;left:50%;bottom:calc(100% + 16px);transform:translateX(-50%);background:white;border:1px solid var(--line);box-shadow:0 3px 14px #181a1d07;border-radius:3px;white-space:nowrap;cursor:default}.lc-node-toolbar button{padding:12px;display:flex;align-items:center;gap:5px;font-size:12px}.lc-node-toolbar button:hover{background:#f1f1ee}.lc-node-toolbar .lc-icon{width:15px;height:15px}.lc-node.note .lc-node-picture{height:132px;aspect-ratio:auto;padding:20px;background:#f2f1e8;border:1px solid #e5e3d6;overflow:hidden}.lc-node.note .lc-node-picture>.eyebrow{font-size:8px;margin-bottom:15px}.lc-node.note .lc-node-picture>p:last-child{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.lc-no-photo{height:100%;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted);font-size:11px}.lc-no-photo .lc-icon{width:35px;height:35px;opacity:.45}
.lc-header{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 30px;z-index:8;pointer-events:none;background:linear-gradient(var(--paper) 50%,#f7f7f500)}.lc-header>*{pointer-events:auto}.lc-brand-project{display:flex;align-items:center;gap:18px;min-width:0}.lc-brand{width:104px;display:block;flex-shrink:0}.lc-brand img{width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;mix-blend-mode:multiply}.lc-lab-label{font-size:9px;letter-spacing:.3em;padding:10px 20px;border-inline:1px solid var(--line)}.lc-project-toggle{display:flex;align-items:center;gap:14px;min-width:0;font-size:14px;font-weight:500;max-width:240px}.lc-project-toggle>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lc-project-toggle .lc-icon{width:14px}.lc-save-status{font-size:10px;color:var(--muted);white-space:nowrap}.lc-header-actions{display:flex;align-items:center;gap:24px;flex-shrink:0}.lc-header-actions>button{display:flex;align-items:center;gap:10px;font-size:12px}.lc-header-actions .lc-icon{width:14px;height:14px}.lc-header-actions .lc-make{padding:13px 18px;background:var(--ink);color:white;border-radius:1px}.lc-make .lc-icon{filter:invert(1)}.lc-account{display:grid;place-items:center;width:35px;height:35px;border:1px solid #9d9ea0;border-radius:50%;font-size:13px}
.lc-project-panel{position:absolute;left:210px;top:80px;width:300px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 35px #181a1d15;padding:12px;z-index:15;max-height:calc(100dvh - 120px);overflow:auto}.lc-search{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:8px 5px 15px}.lc-search input{min-width:0;width:100%;border:0;outline:none;font-size:12px;background:none}.lc-search .lc-icon{width:16px}.lc-project-panel>button{display:flex;gap:12px;align-items:center;padding:15px 8px;width:100%;text-align:left}.lc-project-panel button:hover{background:#f5f5f3}.lc-project-panel .lc-icon{width:17px;height:17px}#lc-project-list{max-height:300px;overflow:auto}#lc-project-list>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 8px;text-align:left}#lc-project-list>button.current{background:#eff0fe}#lc-project-list>button>span:nth-child(2){flex:1;min-width:0}#lc-project-list strong{font-size:12px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#lc-project-list small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.lc-project-thumb{width:32px;height:36px;background:#eee;display:grid;place-items:center}.lc-picker-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:10px;padding:15px 5px 5px;font-size:11px}.lc-picker-footer button{display:flex;align-items:center;gap:6px}.lc-picker-empty{font-size:12px;color:var(--muted);padding:20px 8px}
.lc-empty{position:absolute;left:50%;top:24%;transform:translateX(-50%);width:min(540px,80%);text-align:center;pointer-events:none}.lc-empty>*{pointer-events:auto}.lc-empty>.eyebrow{font-size:9px;color:var(--muted);margin-bottom:26px}.lc-empty h1{font-size:clamp(38px,4.5vw,64px);line-height:1;letter-spacing:-.055em;font-weight:550}.lc-empty>p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.7;margin:22px 0}.lc-empty>div{display:flex;justify-content:center;gap:14px}.lc-empty>div button{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px;background:var(--paper);font-size:12px}.lc-empty .lc-icon{width:15px;height:15px}.lc-example-link{margin-top:24px;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:4px}
.lc-side-tools{position:absolute;right:24px;top:40%;display:flex;flex-direction:column;align-items:center;background:#fff;border:1px solid var(--line);border-radius:4px;padding:4px;z-index:4}.lc-side-tools>button{width:34px;height:36px;display:grid;place-items:center;border-radius:3px}.lc-side-tools>span{width:24px;border-top:1px solid var(--line);margin:5px}.lc-side-tools>button:hover,.lc-side-tools>button[aria-pressed=true]{background:#eeeef0}.lc-zoom{position:absolute;bottom:24px;right:24px;display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:3px;padding:3px;z-index:5}.lc-zoom button{min-width:30px;height:34px;display:grid;place-items:center;font-size:11px}.lc-zoom button:hover{background:#f3f3ef}.lc-zoom .lc-icon{width:15px;height:15px}.lc-zoom #lc-fit{border-left:1px solid var(--line);margin-left:5px;padding-left:10px;min-width:40px}
.lc-composer-stack{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 440px));z-index:6;display:flex;flex-direction:column;gap:12px;pointer-events:none}.lc-composer-stack>*{pointer-events:auto}.lc-composer{position:relative;background:#fff;border:1px solid var(--line);border-radius:8px;padding:17px 18px 13px;box-shadow:0 8px 32px #181a1d06}.lc-composer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:15px}.lc-composer-heading>.eyebrow{font-size:8px;letter-spacing:.22em}.lc-agent-state{font-size:9px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.lc-spec-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.lc-spec-chips>button:not(.lc-icon-button){display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--line);border-radius:3px;font-size:10px;background:#fcfcfb}.lc-spec-chips .lc-icon{width:13px;height:13px}.lc-spec-chips #lc-composer-collapse{margin-left:auto;width:25px;height:26px}.lc-spec-chips>button:hover{border-color:var(--blue)}.lc-composer textarea{font-size:14px;line-height:1.5;width:100%;background:none;border:0;resize:none;min-height:55px;max-height:100px;padding:15px 0 0;color:var(--ink);outline:none}.lc-composer textarea::placeholder{color:#929399}.lc-composer-actions{display:flex;align-items:center;gap:8px;margin-top:5px}.lc-composer-actions>.lc-icon-button{border:1px solid var(--line);width:32px;height:32px}.lc-composer-actions>.lc-icon-button .lc-icon{width:18px;height:18px}.lc-send{margin-left:auto;background:var(--blue);color:#fff;border-radius:2px;width:45px;height:45px;display:grid;place-items:center;flex-shrink:0}.lc-send:hover{background:#1726b4}.lc-send .lc-icon{filter:invert(1);width:23px;height:23px}.lc-selection-context{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden}.lc-selection-context>button{max-width:150px;display:flex;align-items:center;gap:6px;background:#f5f5f3;border:1px solid #e3e3df;border-radius:3px;padding:3px 7px 3px 3px;font-size:10px;min-width:0}.lc-selection-context img{width:27px;height:27px;object-fit:cover}.lc-selection-context>button>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lc-selection-context>span{font-size:10px}.lc-composer.collapsed form{display:none}.lc-composer.collapsed .lc-composer-heading{display:none}.lc-composer.collapsed{padding:10px 16px}.lc-add-menu{position:absolute;bottom:75px;left:16px;background:white;box-shadow:0 5px 25px #0001;border:1px solid var(--line);border-radius:4px;padding:6px;min-width:210px;z-index:12}.lc-add-menu>button{display:flex;align-items:center;gap:12px;padding:12px 10px;width:100%;text-align:left;font-size:12px}.lc-add-menu>button:hover{background:#f2f2ef}
.lc-panel{border:1px solid var(--line);border-radius:7px;background:#fff;max-height:min(540px,calc(100dvh - 355px));overflow-y:auto;box-shadow:0 6px 30px #181a1d0a;padding:15px 18px}.lc-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.lc-panel-heading h2{font-size:19px;font-weight:500;letter-spacing:-.035em}.lc-panel-heading>.eyebrow{font-size:8px}.lc-panel .lab-choice-card{border:0;background:none;padding:0;border-radius:0;box-shadow:none;max-width:none}.lc-panel .lab-choice-card h2{font-size:26px;margin-bottom:15px;font-weight:500}.lc-panel .lab-gems{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:none}.lc-panel .lab-gem{padding:8px}.lc-panel .lab-gem>.gem-art,.lc-panel .lab-gem>img{height:100px;aspect-ratio:1;width:100%;object-fit:cover}.lc-panel .lab-gem strong{font-size:11px}.lc-panel .lab-gem span,.lc-panel .lab-gem small{font-size:9px}.lc-panel .lab-card-actions{gap:12px;margin-top:18px}.lc-panel .lab-card-actions>span{font-size:10px}.lc-panel .primary-button{min-height:38px;font-size:11px;padding:10px 14px;background:var(--ink)}.lc-panel .lab-metals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lc-panel .lab-size-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.lc-panel .lab-size-options button{min-height:36px}.lc-panel .lab-choice-card>p{font-size:12px;line-height:1.5}.lc-panel .lab-skip{font-size:11px;margin-top:12px}.lc-resource-list{display:grid;gap:5px}.lc-resource-list>button{display:flex;gap:10px;align-items:center;text-align:left;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.lc-resource-list>button>span{margin-left:auto;color:var(--muted);font-size:10px}.lc-resource-list>p{color:var(--muted);line-height:1.7;font-size:12px;margin-bottom:20px}
.lc-history-toggle{position:absolute;left:25px;bottom:24px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;padding:13px 15px;border-radius:3px;z-index:7;font-size:12px}.lc-history-toggle>.lc-icon{width:16px;height:16px}.lc-history{position:absolute;left:25px;bottom:82px;width:310px;max-height:calc(100dvh - 185px);background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px;z-index:8;box-shadow:0 5px 25px #181a1d0a;display:flex;flex-direction:column}.lc-history .lc-panel-heading{margin-bottom:8px}.lc-preview-note{font-size:10px;color:var(--muted);line-height:1.7;padding-bottom:15px;border-bottom:1px solid var(--line)}.lc-messages{overflow:auto}.lc-messages article{padding:18px 0;border-bottom:1px solid #ececea}.lc-messages article>span{font-size:9px;letter-spacing:.06em;color:var(--muted)}.lc-messages article>p{font-size:12px;line-height:1.65;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.lc-messages article.guide{color:var(--muted)}.lc-history-empty{padding:30px 0;font-size:12px;line-height:1.8;color:var(--muted)}.lc-example-badge{position:absolute;top:87px;left:31px;color:var(--muted);font-size:10px;pointer-events:none}.lc-live{position:absolute;left:50%;top:90px;transform:translateX(-50%);font-size:11px;background:var(--paper);color:var(--muted);pointer-events:none}.lc-dialog{border:1px solid var(--line);border-radius:8px;padding:25px;width:min(490px,calc(100% - 32px));max-height:85dvh;overflow:auto;background:var(--paper);color:var(--ink)}.lc-dialog::backdrop{background:#181a1d55}.lc-dialog p{font-size:13px;line-height:1.7;margin:15px 0}.lc-dialog .primary-button{font-size:12px;padding:13px 18px}.lc-inspect-image{width:100%;max-height:300px;object-fit:contain;background:#eaeae6;margin-bottom:22px}.lc-dialog .field{font-size:var(--sidus-font-size-label);}.lc-dialog .field input{font-size:var(--sidus-font-size-input);padding:12px}.lc-dialog .form-actions{gap:16px}.lc-dialog .text-link{font-size:11px}
@media(min-width:1600px){.lc-composer-stack{width:700px}.lc-header{padding:25px 35px}.lc-brand{width:112px}}
@media(max-width:1100px){.lc-header{padding:16px 20px}.lc-brand-project{gap:12px}.lc-brand{width:85px}.lc-lab-label{padding-inline:12px}.lc-project-toggle{max-width:180px;font-size:12px}.lc-save-status{display:none}.lc-header-actions{gap:15px}.lc-composer-stack{width:min(620px,calc(100% - 240px))}.lc-history-toggle span{display:none}.lc-history-toggle>.lc-icon:last-child{display:none}.lc-history-toggle{padding:13px}.lc-history{left:20px}.lc-zoom{right:18px}.lc-project-panel{left:160px}}
@media(max-width:700px){.lc-header{padding:10px 14px;gap:10px}.lc-brand-project{gap:8px}.lc-brand{width:68px}.lc-lab-label{display:none}.lc-project-toggle{font-size:11px;max-width:125px;gap:5px}.lc-project-toggle .lc-icon{width:11px}.lc-brand-project>#lab-new-project{width:27px}.lc-header-actions{gap:8px}.lc-header-actions>button:not(.lc-make){display:none}.lc-header-actions .lc-make{font-size:10px;padding:9px}.lc-make .lc-icon{display:none}.lc-account{width:28px;height:28px;font-size:11px}.lc-project-panel{left:14px;top:62px;width:min(315px,calc(100% - 28px))}.lc-composer-stack{width:calc(100% - 24px);bottom:65px}.lc-composer{padding:12px;border-radius:7px}.lc-composer-heading{margin-bottom:10px}.lc-composer-heading>.eyebrow{font-size:7px}.lc-spec-chips{gap:5px}.lc-spec-chips>button:not(.lc-icon-button){font-size:9px;padding:6px 7px}.lc-composer textarea{font-size:16px;min-height:52px;padding-top:12px}.lc-send{width:39px;height:39px}.lc-selection-context>button{max-width:135px}.lc-side-tools{right:12px;top:90px;padding:3px}.lc-side-tools>button{height:32px;width:30px}.lc-side-tools>button:nth-last-child(-n+2),.lc-side-tools>span{display:none}.lc-history-toggle{bottom:14px;left:13px;padding:10px 12px;height:37px}.lc-history-toggle span{display:block;font-size:10px}.lc-zoom{right:13px;bottom:14px;padding:0}.lc-zoom button{height:35px;min-width:27px;font-size:10px}.lc-zoom #lc-fit{min-width:33px}.lc-history{left:12px;bottom:64px;width:calc(100% - 24px);max-height:calc(100dvh - 145px);z-index:10}.lc-empty{top:20%;width:85%}.lc-empty h1{font-size:40px}.lc-empty>.eyebrow{font-size:7px;margin-bottom:20px}.lc-empty>p:not(.eyebrow){font-size:12px;margin:18px 0}.lc-empty>div{gap:8px}.lc-empty>div button{font-size:10px;padding:10px 9px;gap:6px}.lc-example-link{font-size:10px;margin-top:18px}.lc-panel{max-height:calc(100dvh - 340px);padding:12px}.lc-panel .lab-gems{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-panel .lab-gem>.gem-art,.lc-panel .lab-gem>img{height:95px}.lc-panel .lab-choice-card h2{font-size:22px}.lc-panel .lab-size-options{grid-template-columns:repeat(5,minmax(0,1fr))}.lc-panel .lab-card-actions{flex-wrap:wrap}.lc-panel .lab-card-actions>.primary-button{margin-left:auto}.lc-example-badge{top:64px;left:15px;font-size:8px;max-width:220px}.lc-live{top:75px;font-size:9px;max-width:240px;text-align:center}.lc-node-toolbar button{padding:10px;font-size:13px}.lc-add-menu{bottom:62px}.lc-dialog{padding:20px}}
@media(max-width:360px){.lc-header-actions .lc-account{display:none}.lc-project-toggle{max-width:107px}.lc-empty h1{font-size:34px}.lc-composer-stack{bottom:61px}.lc-spec-chips>button:not(.lc-icon-button){font-size:8px;padding:6px}.lc-agent-state{font-size:8px}}
@media(prefers-reduced-motion:reduce){.lc-workspace *{scroll-behavior:auto!important;transition:none!important}}

.lc-node.gem .lc-node-picture{aspect-ratio:4/3}

/* Screen-sized connection handles remain usable when zoomed out. */
.lc-port{width:calc(12px / var(--canvas-zoom,1));height:calc(12px / var(--canvas-zoom,1));transform:translateY(-50%);border-width:calc(1.5px / var(--canvas-zoom,1))}.lc-port.input{left:calc(-6px / var(--canvas-zoom,1))}.lc-port.output{right:calc(-6px / var(--canvas-zoom,1))}.lc-port::after{inset:calc(-7px / var(--canvas-zoom,1))}.lc-port:hover,.lc-port:focus-visible{background:var(--blue);outline:3px solid #2937ce25}.lc-node.connection-target .lc-node-picture{outline:none}.lc-node.connection-target .lc-port{background:var(--blue)}.lc-canvas.connecting .lc-node{cursor:crosshair}.lc-connection-hint{position:absolute;top:112px;left:50%;transform:translateX(-50%);padding:10px 15px;background:var(--paper);border:1px solid var(--line);border-radius:4px;box-shadow:0 3px 14px #181a1d07;pointer-events:none;font-size:12px;max-width:calc(100% - 40px);text-align:center;z-index:5}.lc-connection-hint[hidden]{display:none}
.lc-workspace .lc-port{touch-action:none}

/* A connection has distinct resting, hover and selected states. */
.lc-edges [data-edge],.lc-edges [data-edge]:focus,.lc-edges [data-edge]:focus-visible{outline:none;box-shadow:none}.lc-edge-hit{stroke-width:28}.lc-edge-halo{fill:none;stroke:var(--blue);stroke-width:11;opacity:0;pointer-events:none}.lc-edge-group:hover .lc-edge,.lc-edge-group:focus-visible .lc-edge{stroke:var(--blue);stroke-width:2.5}.lc-edge-group:hover .lc-edge-halo,.lc-edge-group:focus-visible .lc-edge-halo{opacity:.07}.lc-edge-group.is-selected .lc-edge{stroke:var(--blue);stroke-width:3;stroke-linecap:round}.lc-edge-group.is-selected .lc-edge-halo{opacity:.13}.lc-edges.has-edge-selection .lc-edge-group:not(.is-selected):not(:hover) .lc-edge{stroke:#c8c9d0}.lc-node.edge-source .lc-port.output,.lc-node.edge-target .lc-port.input{background:var(--blue);box-shadow:0 0 0 calc(4px / var(--canvas-zoom,1)) #2937ce22}.lc-edge-toolbar{position:absolute;transform:translate(-50%,-100%);z-index:4;display:flex;align-items:center;background:var(--paper);border:1px solid #2937ce33;box-shadow:0 4px 16px #181a1d10;border-radius:5px;overflow:hidden;white-space:nowrap}.lc-edge-toolbar[hidden]{display:none}.lc-edge-toolbar>span{display:flex;align-items:center;gap:7px;padding:0 11px;color:var(--blue);font-size:11px}.lc-edge-toolbar .lc-icon{width:15px;height:15px}.lc-edge-toolbar>button{display:grid;place-items:center;width:38px;height:36px;border-left:1px solid var(--line)}.lc-edge-toolbar>button:hover,.lc-edge-toolbar>button:focus-visible{background:#f5e9e7}.lc-edge-toolbar>button:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}

/* Selection is carried by ports and captions, without boxing in the artwork. */
.lc-node.selected .lc-port,.lc-node:focus-visible .lc-port{background:var(--blue);box-shadow:0 0 0 calc(3px / var(--canvas-zoom,1)) #2937ce22}.lc-node.selected .lc-node-caption>span,.lc-node:focus-visible .lc-node-caption>span,.lc-node.connection-target .lc-node-caption>span{color:var(--blue)}

/* Live conversation stays above the composer, leaving the image surface open. */
.lc-history{width:350px;bottom:260px;max-height:calc(100dvh - 365px)}
.lc-messages .agent-reply{color:var(--ink)}
.lc-agent-actions,.lc-agent-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.lc-agent-action{border:1px solid var(--line);padding:9px 11px;border-radius:3px;font-size:11px;background:var(--paper);text-align:left}
.lc-agent-action:hover{border-color:var(--blue);color:var(--blue)}
.lc-agent-sources button{font-size:10px;color:var(--blue);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc-agent-footnote{display:block;color:var(--muted);font-size:9px;margin-top:15px}
.lc-brief-card{border-left:2px solid var(--blue);padding:13px 13px 15px;background:#f6f6f3;margin-top:14px}
.lc-brief-card>.eyebrow{display:block;color:var(--muted);font-size:8px;letter-spacing:.08em;margin-bottom:10px}
.lc-brief-card strong{display:block;font-size:14px;font-weight:500}.lc-brief-card p,.lc-brief-card li{font-size:12px;line-height:1.7;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.lc-brief-card summary{font-size:11px;cursor:pointer;padding:8px 0}.lc-brief-card ul{padding-left:16px}.lc-brief-card .lc-agent-action{margin-top:10px}
.lc-thinking{color:var(--blue)}.lc-agent-warning{font-size:11px!important;color:#80613b}
.lc-inline-choice.lc-panel{box-shadow:none;max-height:none;padding:15px 0;border:0;border-top:1px solid var(--line);border-radius:0;margin-top:15px;overflow:visible}
.lc-inline-choice.lc-panel .lab-gems{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-inline-choice.lc-panel .lab-size-options{grid-template-columns:repeat(5,minmax(0,1fr))}.lc-inline-choice.lc-panel .lab-card-actions{flex-wrap:wrap}
.lc-node.note.agent-brief .lc-node-picture{height:220px;background:#fff;border:1px solid var(--line)}.lc-node.note.agent-brief .lc-node-picture>.eyebrow{color:var(--blue)}.lc-node.note.agent-brief .lc-node-picture>p:last-child{font-size:12px;line-height:1.7}
.lc-edge-toolbar label{display:flex;align-items:center;gap:8px;padding:0 10px;font-size:10px;color:var(--muted)}.lc-edge-toolbar select{font:inherit;font-size:11px;color:var(--blue);background:transparent;border:0;padding:8px 0;max-width:110px}
@media(max-width:1100px){.lc-history{width:320px}}
@media(max-width:700px){.lc-history{left:12px;width:calc(100% - 24px);bottom:275px;max-height:calc(100dvh - 355px);padding:14px}.lc-preview-note{font-size:9px;padding-bottom:10px}.lc-history .lc-panel-heading h2{font-size:17px}.lc-messages article{padding:14px 0}.lc-edge-toolbar label{font-size:9px}}

/* Keep preview separate from the select/deselect action, including unavailable stones. */
.lab-gem-option{display:flex;flex-direction:column;gap:6px;min-width:0}.lab-gem-option>.lab-gem{width:100%;flex:1 0 auto}.lab-gem-preview{font-size:10px;color:var(--muted);padding:6px 8px;border:1px solid var(--line);border-radius:4px;background:var(--paper);text-align:center}.lab-gem-preview:hover{color:var(--ink);background:#edf0e7}.lab-gem-preview:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* Two independent dimensions, combined against the gemstone catalog. */
.lab-gem-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lab-gem-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted);min-width:0}
.lab-gem-filters select{width:100%;min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font:inherit;font-size:12px;padding:10px 8px}
.lab-gem-filters select:focus-visible,.lab-gem-results button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.lab-gem-results{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px;color:var(--muted)}
.lab-gem-results button{font:inherit;color:var(--ink);text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.lab-gem-results+.lab-gems{margin-top:12px}
.lab-gem-empty{padding:22px 14px;border:1px dashed var(--line);border-radius:5px;font-size:12px;line-height:1.7;color:var(--muted)}

.lc-panel .lab-gem>.lc-no-photo{height:100px;min-height:0}
/* Material-bound creation panel: screen-sized controls track the selected node. */
.lc-image-composer{position:absolute;z-index:7;width:480px;max-width:calc(100vw - 28px);padding:16px 18px;background:#fff;border:1px solid #deded9;border-radius:8px;box-shadow:0 8px 35px #1b1d2514;max-height:calc(100dvh - 110px);overflow:auto;cursor:default}.lc-image-composer[hidden],.lc-composer-stack[hidden]{display:none!important}.lc-image-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.lc-image-heading>span{display:flex;align-items:center;gap:8px;min-width:0}.lc-image-heading strong{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:255px}.lc-image-heading button{font-size:10px;color:var(--muted);white-space:nowrap}.lc-image-references{display:flex;gap:8px;align-items:center;padding:13px 0;flex-wrap:wrap}.lc-image-references>button{position:relative;width:45px;height:45px;border:1px solid var(--line);border-radius:5px;overflow:hidden}.lc-image-references img{width:100%;height:100%;object-fit:cover}.lc-image-references button span{position:absolute;top:0;left:0;background:#20232bd9;color:#fff;padding:1px 4px;font-size:9px}.lc-image-references>span{font-size:10px;color:var(--muted);max-width:200px}.lc-image-composer textarea{width:100%;font:var(--sidus-font-size-input)/var(--sidus-leading-input) var(--sidus-font-sans);resize:vertical;min-height:75px;max-height:200px;border:0;background:none;color:var(--ink);padding:0 0 12px}.lc-image-composer textarea:focus{outline:none}.lc-image-composer textarea:focus-visible{box-shadow:0 1px var(--blue)}.lc-image-settings{display:flex;gap:12px;border-top:1px solid #edede8;padding-top:9px}.lc-image-settings label{display:grid;font-size:9px;color:var(--muted);gap:4px}.lc-image-settings label:first-child{flex:1}.lc-image-settings select{font-size:11px;border:0;padding:4px 0;color:var(--ink);background:transparent;max-width:200px}.lc-image-footer{display:flex;align-items:center;gap:10px;padding-top:10px;font-size:10px}.lc-image-footer>span{color:var(--muted);margin-left:auto}.lc-generate-button{padding:10px 12px;background:var(--blue);color:white;border-radius:4px;font-size:11px;white-space:nowrap}.lc-generation-status{font-size:10px;line-height:1.5;color:var(--muted);margin-top:8px}.lc-generation-recipe{border-top:1px solid var(--line);padding-top:10px;margin-top:10px;font-size:11px}.lc-generation-recipe summary{cursor:pointer}.lc-generation-recipe p,.lc-generation-recipe pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;margin:12px 0;line-height:1.6}.lc-generation-recipe small{color:var(--muted)}.lc-generation-recipe button{margin-top:10px;color:var(--blue)}.lc-publish-pick{display:flex;align-items:center;width:100%;gap:14px;padding:12px 0;text-align:left;border-bottom:1px solid var(--line)}.lc-publish-pick img{width:75px;height:75px;object-fit:cover}.lc-publish-pick span{font-size:13px}@media(max-width:600px){.lc-image-composer{padding:12px;max-height:55dvh}.lc-image-settings{gap:8px}.lc-image-heading strong{max-width:175px}.lc-image-settings select{max-width:160px}.lc-image-footer{flex-wrap:wrap}.lc-image-footer>span{font-size:9px}}
.lc-node-add{position:absolute;left:calc(100% + 20px);top:calc(50% - 30px);width:28px;height:28px;display:grid;place-items:center;background:var(--paper);border:1px solid #bfc0c8;border-radius:50%;cursor:pointer;z-index:4}.lc-node-add:hover{background:var(--blue);border-color:var(--blue)}.lc-node-add:hover .lc-icon{filter:invert(1)}.lc-node-add .lc-icon{width:16px;height:16px}.lc-node.prompt .lc-node-picture{height:282px;aspect-ratio:auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0;overflow:hidden}.lc-prompt-handle{height:34px;padding:9px 12px;font-size:11px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}.lc-prompt-handle span{color:var(--muted);font-size:9px;white-space:nowrap}.lc-prompt-summary{padding:20px;font-size:13px;color:var(--muted);white-space:pre-wrap;max-height:190px;overflow:hidden}.lc-node.prompt.selected .lc-prompt-summary{visibility:hidden}.lc-node.prompt .lc-node-caption{display:none;font-size:var(--sidus-font-size-meta);height:auto;min-height:32px;line-height:var(--sidus-leading-label);}.lc-side-tools.lc-bottom-tools{top:auto;right:auto;left:50%;bottom:20px;transform:translateX(-50%);display:flex;flex-direction:row;gap:4px;padding:6px 10px;background:#fff;border-radius:7px;z-index:15;border:1px solid var(--line);box-shadow:0 4px 20px #1c20210d}.lc-bottom-tools>span{height:26px;width:1px;background:var(--line);align-self:center}.lc-bottom-tools>button{width:35px;height:35px}.lc-add-menu{position:absolute;left:50%;transform:translateX(-50%);bottom:82px;z-index:16}.lc-composer-stack{bottom:86px}.lc-image-composer{padding-top:12px}.lc-image-heading{margin-bottom:2px}@media(max-width:700px){.lc-side-tools.lc-bottom-tools{bottom:12px;gap:1px;padding:5px}.lc-bottom-tools>button{width:31px;height:31px}.lc-bottom-tools>button:nth-last-child(-n+2),.lc-bottom-tools>span{display:flex}.lc-history-toggle{bottom:64px}.lc-zoom{bottom:64px}.lc-add-menu{bottom:62px}.lc-composer-stack{bottom:110px}.lc-header-actions>button[data-project-action=share]{display:block;font-size:10px}.lc-header-actions .lc-make{display:none}}
.lc-prompt-handle strong{font-weight:400;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lc-dialog:has(#lc-publish-form) .lc-inspect-image{max-height:150px;margin-bottom:12px}#lc-publish-form textarea{min-height:70px}.lc-image-footer [data-claim-usd]{color:var(--blue)}
/* Explicit localhost-only input bridge for repeatable Jev interaction tests. */
.lc-debug-input{position:absolute;right:12px;top:90px;z-index:40;width:330px;max-width:calc(100vw - 24px);padding:12px;background:#fffef7;border:1px solid #c7c2a8;border-radius:6px;box-shadow:0 6px 24px #19191915;font-size:11px}.lc-debug-input header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lc-debug-input [data-debug-body]{max-height:calc(100dvh - 180px);overflow:auto;padding-top:10px}.lc-debug-input label{display:flex;flex-direction:column;gap:4px;min-width:0}.lc-debug-input input,.lc-debug-input select,.lc-debug-input textarea{font:inherit;background:white;border:1px solid #d8d5c8;border-radius:3px;padding:5px;width:100%;min-width:0;color:#252820}.lc-debug-input input[type=checkbox]{width:auto}.lc-debug-input button{padding:6px 7px;border:1px solid #d8d5c8;border-radius:3px;background:#f8f7ef;font:inherit}.lc-debug-input button:hover{border-color:var(--blue);color:var(--blue)}.lc-debug-row{display:flex;flex-wrap:wrap;gap:6px;align-items:end;margin:8px 0}.lc-debug-row>label{flex:1}.lc-debug-input output{display:block;font:10px/1.5 monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;margin-top:8px}.lc-debug-input [hidden]{display:none!important}

.lc-debug-input.dock-left{left:12px;right:auto}

/* Canvas objects: shared paper, ink, cobalt and Helvetica. */
.lc-node{cursor:default;background:#fff;border:1px solid var(--line);border-radius:2px;box-shadow:0 2px 10px #181a1d03}
.lc-node.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.lc-node:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.lc-node-header{height:38px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:var(--sidus-font-size-label);cursor:grab;touch-action:none;line-height:var(--sidus-leading-panel);}
.lc-node-header>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.lc-node-header .lc-icon{width:15px;height:15px}
.lc-node-header .lc-node-kind{font-size:var(--sidus-font-size-eyebrow);color:var(--muted);text-transform:uppercase;letter-spacing:.13em;flex:none}
.lc-node-caption{margin:0;padding:8px 12px;height:auto;font-size:var(--sidus-font-size-meta);color:var(--muted);min-height:32px;line-height:var(--sidus-leading-label);}
.lc-node .lc-port{top:50%}.lc-node .lc-node-add{top:calc(50% - 14px)}
.lc-node.conversation-active .lc-node-header{border-bottom-color:var(--blue);font-size:var(--sidus-font-size-label);line-height:var(--sidus-leading-panel);}
.lc-node.conversation-active .lc-node-header::before{content:'';width:5px;height:5px;background:var(--blue);border-radius:50%;flex:none}
.lc-node.conversation-active .lc-node-header>span:first-child{margin-right:auto}
.lc-stone-surface{position:relative;width:100%;height:178px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:var(--paper);overflow:hidden}
.lc-stone-surface>img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.lc-stone-illustration{width:108px;height:134px;filter:drop-shadow(0 8px 5px #28324c13);pointer-events:none}
.lc-stone-provenance{position:absolute;left:12px;bottom:9px;font-size:var(--sidus-font-size-meta);color:var(--muted);letter-spacing:.03em}
.lc-stone-outline-unavailable{max-width:150px;text-align:center;font-size:11px;line-height:1.5;color:var(--muted)}
.lc-stone-spec{padding:14px 13px 11px;display:flex;flex-direction:column;gap:11px}
.lc-stone-spec>div{display:grid;grid-template-columns:1fr auto;gap:6px 8px;align-items:baseline}
.lc-stone-spec strong{font-size:var(--sidus-font-size-label);font-weight:var(--sidus-font-weight-medium);grid-column:1/-1}
.lc-stone-spec span{font-size:var(--sidus-font-size-label);}.lc-stone-spec small{font-size:var(--sidus-font-size-meta);color:var(--muted)}
.lc-stone-spec .lc-stone-status{font-size:var(--sidus-font-size-meta);letter-spacing:.08em;color:var(--blue);text-transform:uppercase}
.lc-stone-spec .lc-stone-status.is-used{color:var(--muted)}
.lc-stone-footer{padding:10px 13px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.lc-stone-footer button{font-size:var(--sidus-font-size-label);color:var(--muted)}.lc-stone-footer button:last-child{color:var(--blue)}
.lc-stone-footer button:hover{text-decoration:underline;text-underline-offset:3px}
.lc-work-body{padding:20px 17px;min-height:152px;display:flex;flex-direction:column;justify-content:center;gap:17px;background:var(--paper)}
.lc-work-body>p{font-size:12px;line-height:1.6;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;max-height:135px;overflow:hidden}
.lc-work-monogram{font:400 32px/1 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:-.08em;color:#c0c1be}
.lc-work-body.has-image{display:block;padding:0;min-height:0;aspect-ratio:1}
.lc-work-body>img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.lc-work-status{padding:10px 13px;border-top:1px solid var(--line);font-size:var(--sidus-font-size-meta);color:var(--muted);display:flex;align-items:center;gap:6px;min-height:32px}
.lc-work-status>span{width:4px;height:4px;border-radius:50%;background:currentColor}
.lc-work-status[data-status=waiting],.lc-work-status[data-status=running]{color:var(--blue)}
.lc-work-status>small{font-size:var(--sidus-font-size-meta);color:var(--blue);margin-left:auto}
.lc-work-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:10px 13px;gap:12px}
.lc-work-footer button{font-size:var(--sidus-font-size-label);display:flex;align-items:center;gap:10px}.lc-work-footer .lc-icon{width:14px;height:14px}
.lc-work-footer button:hover{color:var(--blue)}
.lc-stone-editor-host{position:absolute;z-index:16;width:310px;max-width:calc(100% - 24px);cursor:default;touch-action:pan-y}
.lc-stone-editor-host[hidden],.lc-multi-toolbar[hidden],.lc-selection-marquee[hidden]{display:none}
.lc-stone-editor{border:1px solid var(--line);box-shadow:0 9px 35px #181a1d12;background:#fff;padding:18px;max-height:calc(100dvh - 100px);overflow:auto;border-radius:3px;color:var(--ink)}
.lc-stone-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.lc-stone-editor>header>div{display:flex;flex-direction:column;gap:9px}.lc-stone-editor .eyebrow{font-size:var(--sidus-font-size-eyebrow);letter-spacing:.16em;color:var(--muted)}
.lc-stone-editor strong{font-size:var(--sidus-font-size-panel-title);letter-spacing:var(--sidus-tracking-panel);font-weight:var(--sidus-font-weight-medium);line-height:var(--sidus-leading-panel);}
.lc-stone-editor>header>button{font:22px/1 var(--sidus-font-sans);color:var(--muted);padding:0 2px}
.lc-stone-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:15px 10px}.lc-stone-fields>label:last-child{grid-column:1/-1}
.lc-stone-fields label{font-size:var(--sidus-font-size-label);color:var(--muted);display:flex;flex-direction:column;gap:7px}
.lc-stone-fields select{min-width:0;width:100%;font:var(--sidus-font-size-input)/var(--sidus-leading-label) var(--sidus-font-sans);color:var(--ink);border:1px solid var(--line);border-radius:1px;padding:10px 8px;background:var(--paper)}
.lc-stone-fields select:focus-visible,.lc-stone-editor button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.lc-stone-editor p{font-size:var(--sidus-font-size-meta);line-height:var(--sidus-leading-conversation);color:var(--muted);margin:14px 0}
.lc-stone-editor .lc-stone-editor-weight{font-size:11px;color:var(--ink);margin:12px 0}
.lc-stone-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
.lc-stone-editor-actions>button{font-size:var(--sidus-font-size-label);line-height:1.5}
.lc-stone-editor .lc-stone-apply{background:var(--blue);color:#fff;font-size:var(--sidus-font-size-label);padding:11px 12px;border-radius:1px}
.lc-stone-editor .lc-stone-catalog-note{font-size:var(--sidus-font-size-meta);border-top:1px solid var(--line);padding-top:13px;margin:18px 0 0}
.lc-stone-editor dl{display:grid;gap:12px;padding:13px 0 22px}.lc-stone-editor dl>div{display:flex;justify-content:space-between;gap:12px;font-size:var(--sidus-font-size-label);}.lc-stone-editor dt{color:var(--muted)}.lc-stone-editor dd{text-align:right}
.lc-multi-toolbar{position:absolute;z-index:10;transform:translateX(-50%);display:flex;align-items:center;gap:15px;white-space:nowrap;background:#fff;border:1px solid var(--line);padding:12px 14px;border-radius:2px;box-shadow:0 3px 16px #181a1d08}
.lc-multi-toolbar>span{font-size:var(--sidus-font-size-meta);color:var(--muted)}.lc-multi-toolbar button{display:flex;align-items:center;gap:8px;font-size:var(--sidus-font-size-label);color:var(--blue)}.lc-multi-toolbar .lc-icon{width:14px;height:14px}
.lc-selection-marquee{position:absolute;z-index:2;background:#2937ce08;border:1px solid var(--blue);pointer-events:none}
@media(max-width:700px){.lc-stone-editor-host{width:min(310px,calc(100% - 24px))}.lc-stone-editor{padding:15px;max-height:calc(100dvh - 150px)}.lc-stone-fields select{font-size:var(--sidus-font-size-touch-input)}.lc-multi-toolbar{gap:9px;padding:11px}.lc-multi-toolbar>span{font-size:var(--sidus-font-size-meta)}.lc-multi-toolbar button{font-size:var(--sidus-font-size-label)}}
.lc-stone-editor-preview{height:96px;background:var(--paper);position:relative;display:flex;align-items:center;justify-content:center;margin:-4px 0 17px;overflow:hidden}
.lc-stone-editor-preview .lc-stone-illustration{width:64px;height:68px;margin-bottom:15px}.lc-stone-editor-preview>span{position:absolute;bottom:8px;left:10px;font-size:var(--sidus-font-size-meta);color:var(--muted)}
.lc-work-status[data-status=generating],.lc-work-status[data-status=reviewing]{color:var(--blue)}

@media(max-width:700px){.lc-stone-fields select,.lc-dialog .field input{font-size:var(--sidus-font-size-touch-input)}}
