*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#1e293b;-webkit-font-smoothing:antialiased;background:#f8fafc;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}code{font-family:ui-monospace,Consolas,monospace;font-size:.92em}.dev-app{background:#f5f3f7;flex-direction:column;min-width:0;height:100dvh;display:flex}.auth-view{flex:1;place-items:center;padding:28px 20px;display:grid;overflow:auto}.auth-card{text-align:center;color:#292333;background:#fff;border:1px solid #e9e5ed;border-radius:18px;width:min(100%,440px);padding:36px;box-shadow:0 12px 40px #2618350a}.auth-card h1{margin:20px 0 12px;font-size:clamp(24px,4vw,32px);line-height:1.2}.auth-card p{color:#645b70;line-height:1.6}.auth-card .pdf-reader__upload{color:#fff;max-width:100%;min-height:44px;font:inherit;cursor:pointer;background:#460099;border:1px solid #460099;border-radius:10px;margin:12px 0;padding:10px 18px;font-weight:600}.auth-card .pdf-reader__upload:focus-visible{outline-offset:3px;outline:3px solid #b998e4}.auth-card .pdf-reader__upload:disabled{opacity:.6;cursor:wait}.auth-card .auth-card__privacy{font-size:12px}.app-notice{color:#582834;background:#fff2f5;align-items:center;gap:12px;padding:10px 20px;font-size:13px;display:flex}.app-notice span{flex:1}.app-notice button{color:inherit;cursor:pointer;background:0 0;border:0}.app-notice--preview{color:#3f3157;background:#efe9fb;border-bottom:1px dashed #b9a9cc}.dev-app[data-theme=dark] .app-notice--preview{color:#e6dcf6;background:#2a2236;border-bottom-color:#5a4a70}.dev-map__canvas{position:relative}.paper-graph-actions{z-index:3;flex-direction:column;align-items:flex-end;gap:6px;max-width:calc(100% - 20px);display:flex;position:absolute;top:10px;right:10px}.estimate-familiarity{color:#643297;font:inherit;cursor:pointer;background:#ffffffed;border:1px solid #d7c5e9;border-radius:8px;padding:7px 10px;font-size:12px}.estimate-familiarity:disabled{cursor:default;color:#71677b}.estimate-familiarity:focus-visible{outline-offset:3px;outline:3px solid #b998e4}.dev-app[data-theme=dark] .estimate-familiarity{color:#e0c8fb;background:#211c29ed}.dev-app[data-theme=dark] .auth-card{color:#f5f2f8;background:#211c29;border-color:#403648}.dev-app[data-theme=dark] .auth-card p{color:#c0b4cd}@media (width<=600px){.auth-card{padding:24px 20px}.dev-header{flex-wrap:wrap;gap:8px;padding-block:10px}.dev-header__brand{flex-basis:100%}.dev-header__actions{flex-wrap:wrap;flex:1;justify-content:flex-end}}.dev-header{--header-height:64px;--header-padding-x:28px;--header-logo-icon-size:44px;--header-wordmark-height:23px;--header-logo-gap:9px;--header-control-size:44px;--header-control-icon:21px;--header-gap:16px;min-height:var(--header-height);padding:0 var(--header-padding-x);background:#fffffff5;border-bottom:1px solid #e9e5ed;flex-shrink:0;justify-content:space-between;align-items:center;display:flex;box-shadow:0 2px 8px #26183509}.dev-header__brand{align-items:center;gap:var(--header-gap);min-width:0;margin-right:var(--header-gap);flex:1;display:flex}.dev-header__logo{align-items:center;gap:var(--header-logo-gap);min-width:var(--header-logo-icon-size);flex:0 auto;display:flex}.dev-header__logo-icon{width:auto;max-width:none;height:var(--header-logo-icon-size);aspect-ratio:1;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;flex-shrink:0;display:block}.dev-header__logo-wordmark{height:var(--header-wordmark-height);aspect-ratio:1752/301;-webkit-user-select:none;user-select:none;flex-shrink:0;display:block;position:relative;overflow:hidden}.dev-header__logo-wordmark img{-webkit-user-drag:none;width:123.973%;max-width:none;height:240.532%;display:block;position:absolute;top:-73.4219%;left:-12.2146%}.dev-header__paper-title{color:#4f4759;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;font-size:16px;font-weight:550;overflow:hidden}.dev-header__actions{align-items:center;gap:var(--header-gap);min-width:0;display:flex}.dev-header__menu{flex-shrink:0;position:relative}.dev-open-pdf{min-height:var(--header-control-size);color:#460099;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1.5px solid #6c2da8;border-radius:10px;justify-content:center;align-items:center;padding:0 16px;font-size:14px;font-weight:650;transition:background .14s,border-color .14s,color .14s;display:inline-flex}.dev-open-pdf:hover,.dev-open-pdf[aria-expanded=true]{background:#f3ebfb;border-color:#460099}.dev-open-pdf:focus-visible{outline-offset:2px;outline:2px solid #7b2fc0}.dev-research-menu{z-index:30;color:#40374a;background:#fff;border:1px solid #e6e0eb;border-radius:12px;width:min(320px,100vw - 32px);max-height:min(65vh,480px);padding:14px;position:absolute;top:calc(100% + 10px);left:0;overflow:auto;box-shadow:0 10px 30px #2618352e}.dev-research-menu h2{color:#241d2d;margin:0 0 8px;font-size:14px;font-weight:650}.dev-research-menu ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.dev-research-menu li{overflow-wrap:anywhere;border-top:1px solid #f0ecf3;padding:8px 0;font-size:12px;line-height:1.45}.dev-theme-toggle{width:var(--header-control-size);min-height:var(--header-control-size);color:#5b5362;font:inherit;cursor:pointer;background:#fff;border:1px solid #e8e2ed;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0;font-size:10px;transition:background .14s,border-color .14s,color .14s;display:inline-flex}.dev-theme-toggle svg{width:var(--header-control-icon);height:var(--header-control-icon);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}.dev-theme-toggle span{display:none}.dev-theme-toggle:hover{color:#460099;background:#f8f2fd;border-color:#cbb8df}.dev-theme-toggle:focus-visible{outline-offset:2px;outline:2px solid #7b2fc0}:is(.dev-kg-button,.dev-sign-out){min-height:var(--header-control-size);color:#5b5362;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e8e2ed;border-radius:10px;align-items:center;padding:0 16px;font-size:14px;font-weight:600;transition:background .14s,border-color .14s,color .14s;display:inline-flex}:is(.dev-kg-button,.dev-sign-out):hover{color:#460099;background:#f8f2fd;border-color:#cbb8df}:is(.dev-kg-button,.dev-sign-out):focus-visible{outline-offset:2px;outline:2px solid #7b2fc0}:is(.dev-kg-button,.dev-sign-out):disabled{opacity:.5;cursor:default}.dev-header__meta{color:#7d7588;text-overflow:ellipsis;white-space:nowrap;max-width:48%;font:11px ui-monospace,Consolas,monospace;overflow:hidden}.dev-split{grid-template-columns:minmax(0, var(--pdf-pane-width,50%)) minmax(0, 1fr);flex:1;min-height:0;display:grid;position:relative}.dev-split[hidden],.kg-page[hidden]{display:none}.kg-page{flex-direction:column;flex:1;min-height:0;display:flex}.kg-page__canvas{flex-direction:column;display:flex;position:relative}.dev-split--pdf-hidden,.dev-split--map-hidden{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.dev-split--pdf-hidden .dev-pdf,.dev-split--map-hidden .dev-map{display:none}.dev-pdf,.dev-map{min-width:0;min-height:0}.dev-divider{top:0;bottom:0;left:var(--pdf-pane-width,50%);z-index:3;cursor:col-resize;touch-action:none;outline:none;justify-items:start;width:10px;display:grid;position:absolute}.dev-divider span{background:0 0;border-radius:999px;width:1px;height:100%;transition:width .16s,background .16s}.dev-app--resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.dev-app--resizing .dev-pdf,.dev-app--resizing .dev-map{pointer-events:none}.dev-app--resizing .dev-divider span,.dev-divider:hover span,.dev-divider:focus-visible span{background:#460099;width:3px}.dev-map{background:#faf9fc;flex-direction:column;display:flex}.dev-map__header{background:#fffffff5;border-bottom:1px solid #ece8f0;flex-shrink:0;justify-content:space-between;align-items:center;min-height:64px;padding:10px 20px;display:flex;box-shadow:0 2px 8px #26183506}.dev-map__header h2{color:#241d2d;margin:0;font-size:14px;font-weight:650}.dev-map__header p{color:#817a8a;margin:3px 0 0;font-size:11.5px}.dev-map__badge{color:#460099;background:linear-gradient(#fff,#faf6ff);border:1px solid #e9dafa;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:600;box-shadow:0 1px 2px #4600990b}.dev-map__header-actions{flex-shrink:0;align-items:center;gap:9px;display:flex}.dev-restore-ball:focus-visible{outline-offset:3px;outline:2px solid #7b2fc0}.dev-restore-ball{z-index:20;color:#fff;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(145deg,#6d2fb0,#460099);border:1px solid #6c2da8;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;transition:box-shadow .14s,background .14s;display:grid;position:fixed;right:12px;transform:translateY(-50%);box-shadow:0 5px 16px #37155347}.dev-restore-ball--left{left:12px;right:auto}.dev-restore-ball--right{right:24px}.dev-restore-ball:hover{background:linear-gradient(145deg,#7a3abd,#510aa3);box-shadow:0 7px 20px #37155357}.dev-restore-ball:active{cursor:grabbing}.dev-restore-ball svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:22px;height:22px}.dev-map__canvas{background-image:radial-gradient(#634d7809 .7px,#0000 .7px);background-size:18px 18px;flex:1;min-width:0;min-height:0}.dev-app[data-theme=dark]{color:#efedf2;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#19181d}.dev-app[data-theme=dark] .dev-header{background:#222026f7;border-color:#3e3a45;box-shadow:0 2px 10px #0003}.dev-app[data-theme=dark] .dev-map__header h2{color:#f1eef5}.dev-app[data-theme=dark] .dev-map__header p{color:#aaa4b1}.dev-app[data-theme=dark] .dev-header__paper-title{color:#f1edf6}.dev-app[data-theme=dark] .dev-header__meta{color:#aaa4b1}.dev-app[data-theme=dark] .dev-theme-toggle,.dev-app[data-theme=dark] :is(.dev-kg-button,.dev-sign-out){color:#ded9e4;background:#2b2930;border-color:#49444f}.dev-app[data-theme=dark] .dev-open-pdf{color:#dcc4f7;background:0 0;border-color:#b98be4}.dev-app[data-theme=dark] .dev-open-pdf:hover,.dev-app[data-theme=dark] .dev-open-pdf[aria-expanded=true]{color:#f0e2ff;background:#342b3d;border-color:#d4b3f5}.dev-app[data-theme=dark] .dev-research-menu{color:#ded9e4;background:#2b2930;border-color:#49444f;box-shadow:0 10px 30px #0000006b}.dev-app[data-theme=dark] .dev-research-menu h2{color:#f1eef5}.dev-app[data-theme=dark] .dev-research-menu li{border-color:#403b47}.dev-app[data-theme=dark] .dev-theme-toggle:hover,.dev-app[data-theme=dark] :is(.dev-kg-button,.dev-sign-out):hover{color:#eadbfa;background:#39313f;border-color:#8867a8}.dev-app[data-theme=dark] .dev-divider span{background:0 0}.dev-app[data-theme=dark] .dev-divider:hover span,.dev-app[data-theme=dark] .dev-divider:focus-visible span,.dev-app--resizing[data-theme=dark] .dev-divider span{background:#b98be4}.dev-app[data-theme=dark] .dev-map{background:#1d1b21}.dev-app[data-theme=dark] .dev-map__header{background:#242229f7;border-color:#37333d;box-shadow:0 2px 8px #00000024}.dev-app[data-theme=dark] .dev-map__badge{color:#dfc5fa;box-shadow:none;background:#302739;border-color:#574169}.dev-app[data-theme=dark] .dev-restore-ball{background:linear-gradient(145deg,#7643a5,#582d80);border-color:#a47ac5}.dev-app[data-theme=dark] .dev-restore-ball:hover{background:linear-gradient(145deg,#8250b0,#653b8d)}.dev-app[data-theme=dark] .dev-map__canvas{background-image:radial-gradient(#dccfea17 .7px,#0000 .7px)}.dev-app[data-theme=dark] .dev-research-menu__item{color:#ded9e4}.dev-app[data-theme=dark] .dev-research-menu__item:hover,.dev-app[data-theme=dark] .dev-research-menu__item:focus-visible{color:#eadbfa;background:#39313f}.dev-app[data-theme=dark] .dev-research-menu__item[aria-current=true]{color:#dcc4f7}.dev-app[data-theme=dark] .dev-research-menu__hint{color:#9c95a3}.dev-app[data-theme=dark] .map-placeholder{background:radial-gradient(at 50% 42%,#27232cfa,#1f1d23f5 62%,#1b1a20)}.dev-app[data-theme=dark] .map-placeholder__icon{background:#29262e;border-color:#45404b}.dev-app[data-theme=dark] .map-placeholder__icon svg{stroke:#c49aef}.dev-app[data-theme=dark] .map-placeholder h3{color:#f0edf4}.dev-app[data-theme=dark] .map-placeholder p{color:#aaa4b1}.dev-research-menu li.dev-research-menu__entry{padding:0}.dev-research-menu__item{color:#40374a;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;gap:2px;padding:8px 6px;font-size:11px;line-height:1.45;display:flex}.dev-research-menu__item:hover,.dev-research-menu__item:focus-visible{color:#460099;background:#f8f2fd;outline:none}.dev-research-menu__item[aria-current=true]{color:#460099;font-weight:600}.dev-research-menu__hint{color:#8a8292;font-size:10px;font-weight:400}.map-placeholder{text-align:center;background:radial-gradient(at 50% 42%,#fffffff5,#f8f6faf0 62%,#f2eff5);flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:28px 24px;display:flex}.map-placeholder__icon{background:#fff;border:1px solid #e8dfef;border-radius:16px;place-items:center;width:54px;height:54px;margin-bottom:16px;display:grid}.map-placeholder__icon svg{fill:none;stroke:#765098;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:30px}.map-placeholder h3{color:#302638;margin:0;font-size:14px;font-weight:650}.map-placeholder p{color:#817a8a;max-width:330px;margin:7px 0 16px;font-size:11px;line-height:1.55}@media (width<=640px){.dev-header{--header-height:58px;--header-padding-x:16px;--header-logo-icon-size:40px;--header-wordmark-height:21px;--header-logo-gap:8px;--header-control-size:40px;--header-control-icon:20px;--header-gap:12px}.dev-header__paper-title{font-size:15px}.dev-split{grid-template-rows:minmax(260px,43%) minmax(380px,1fr);grid-template-columns:minmax(0,1fr);overflow-y:auto}.dev-split--pdf-hidden,.dev-split--map-hidden{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);overflow:hidden}.dev-divider{display:none}.dev-pdf{min-height:260px}}@media (width<=520px){.dev-header__meta{max-width:34vw;font-size:9px}.dev-header{--header-logo-icon-size:36px;--header-wordmark-height:19px;--header-logo-gap:7px;--header-control-size:38px;--header-control-icon:19px;--header-gap:8px}.dev-open-pdf{padding:0 12px;font-size:13px}.dev-theme-toggle span{display:none}.dev-map__header{padding:10px 14px}}@media (width<=340px){.dev-header{--header-padding-x:12px;--header-logo-icon-size:32px;--header-control-size:34px;--header-control-icon:17px;--header-gap:6px}}@media (width<=300px){.dev-header__logo-wordmark{display:none}}.build-progress{box-sizing:border-box;color:#30283e;background:#faf9fc;justify-content:center;align-items:center;height:100%;padding:40px 28px;font:14px/1.5 system-ui;display:flex;overflow:auto}.build-progress__card{width:100%;max-width:470px}.build-progress__eyebrow{color:#7c4daf;letter-spacing:.13em;text-transform:uppercase;margin-bottom:12px;font-size:11px;font-weight:700}.build-progress__mode{color:#7c4daf;margin:0 0 12px;font-size:13px;font-weight:600}.build-mode-choices{gap:8px;display:grid}.build-mode-choice{color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:1px solid #d7c5e9;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;font-size:13px;display:flex}.build-mode-choice:hover{border-color:#7940bd;box-shadow:0 0 0 1px #8950c7}.build-mode-choice:focus-visible{outline-offset:3px;outline:3px solid #b998e4}.build-mode-choice__heading{justify-content:space-between;align-items:center;gap:10px;font-size:16px;font-weight:650;display:flex}.build-mode-choice__heading>span{color:#7940bd}.dev-app[data-theme=dark] .build-mode-choice__heading>span{color:#c9a3f5}.build-progress h2{letter-spacing:-.03em;margin:0 0 14px;font-size:clamp(23px,2.3vw,30px);line-height:1.2}.build-progress__description{color:#71677b;margin:0 0 34px}.build-progress__status{justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.build-progress__status span{color:#71677b;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.build-progress__bar{gap:5px;margin:14px 0 24px;display:flex}.build-progress__bar>span{background:#e9e3ef;border-radius:8px;flex:1;height:6px;position:relative;overflow:hidden}.build-progress__bar>.is-done{background:#8950c7}.build-progress__bar>.is-current{background:#dfc9f5}.build-progress__bar i{background:#7940bd;border-radius:8px;width:40%;height:100%;animation:1.7s ease-in-out infinite build-progress-sweep;display:block}@keyframes build-progress-sweep{0%{transform:translate(-110%)}to{transform:translate(360%)}}.build-progress__steps{gap:14px;margin:0;padding:0;list-style:none;display:grid}.build-progress__steps li{color:#75697f;align-items:center;gap:12px;font-size:13px;display:flex}.build-progress__steps li>span{border:1px solid #dfd7e8;border-radius:50%;flex-shrink:0;place-items:center;width:24px;height:24px;font-size:11px;display:grid}.build-progress__steps .is-done{color:#675376}.build-progress__steps .is-done>span{color:#7940bd;background:#eee5f7;border-color:#0000}.build-progress__steps .is-current{color:#59218c;font-weight:650}.build-progress__steps .is-current>span{color:#fff;background:#7940bd;border-color:#7940bd;box-shadow:0 0 0 4px #eee5f7}.build-progress__hint{color:#71677b;margin:24px 0;font-size:12px}.build-progress__preview{color:#643297;font:inherit;cursor:pointer;background:0 0;border:1px solid #d7c5e9;border-radius:8px;margin-top:16px;padding:9px 13px;font-size:13px}.build-progress__preview span{margin-left:7px}.build-progress__preview:hover{background:#eee5f7}.build-progress__preview:focus-visible{outline-offset:3px;outline:3px solid #c6a0eb}.build-progress__bar--failed>.is-current{background:#c67587}.dev-app[data-theme=dark] .build-progress{color:#efedf2;background:#1d1b21}.dev-app[data-theme=dark] .build-progress h2{color:#f1eef5}.dev-app[data-theme=dark] .build-progress__eyebrow{color:#c9a3f2}.dev-app[data-theme=dark] .build-progress__description,.dev-app[data-theme=dark] .build-progress__hint,.dev-app[data-theme=dark] .build-progress__status span{color:#aaa4b1}.dev-app[data-theme=dark] .build-progress__status strong{color:#efedf2}.dev-app[data-theme=dark] .build-progress__steps li{color:#a49dab}.dev-app[data-theme=dark] .build-progress__steps li>span{border-color:#49444f}.dev-app[data-theme=dark] .build-progress__steps .is-done{color:#c4bccc}.dev-app[data-theme=dark] .build-progress__steps .is-done>span{color:#dfc5fa;background:#302739;border-color:#574169}.dev-app[data-theme=dark] .build-progress__steps .is-current{color:#dcc4f7}.dev-app[data-theme=dark] .build-progress__steps .is-current>span{color:#fff;background:#9b62d6;border-color:#9b62d6;box-shadow:0 0 0 4px #342b3d}.dev-app[data-theme=dark] .build-progress__bar>span{background:#36323c}.dev-app[data-theme=dark] .build-progress__bar>.is-done{background:#a56ade}.dev-app[data-theme=dark] .build-progress__bar>.is-current{background:#4a3860}.dev-app[data-theme=dark] .build-progress__bar i{background:#c9a3f2}.dev-app[data-theme=dark] .build-progress__bar--failed>.is-current{background:#d98b9c}.dev-app[data-theme=dark] .build-progress__preview{color:#dcc4f7;border-color:#b98be4}.dev-app[data-theme=dark] .build-progress__preview:hover{color:#f0e2ff;background:#342b3d;border-color:#d4b3f5}.dev-app[data-theme=dark] .build-progress__preview:focus-visible{outline-color:#b98be4}@media (prefers-reduced-motion:reduce){.build-progress__bar i{animation:none;transform:translate(75%)}}@media (width<=600px){.build-progress{align-items:flex-start;padding:28px 18px}.build-progress__status{flex-wrap:wrap}}.message-details__trigger{color:#643297;font:inherit;cursor:pointer;white-space:normal;text-align:left;background:#faf5ff;border:1px solid #d7c5e9;border-radius:8px;padding:7px 10px;font-size:12px}.message-details{box-sizing:border-box;color:#30283e;background:#faf9fc;border:1px solid #d7c5e9;border-radius:14px;width:min(520px,100vw - 40px);max-height:80dvh;padding:22px;font:14px/1.5 system-ui;overflow:auto;box-shadow:0 16px 60px #21133040}.message-details::backdrop{background:#21133080}.message-details__header{justify-content:space-between;align-items:center;gap:16px;display:flex}.message-details__header h2{margin:0;font-size:20px;line-height:1.3}.message-details__message{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;margin:20px 0}.message-details button{font:inherit;cursor:pointer;color:inherit;background:0 0;border:1px solid #d7c5e9;border-radius:8px;padding:7px 12px}.message-details .message-details__close{border:0;padding:8px;font-size:24px;line-height:1}.message-details__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.message-details__actions>span{flex:1;font-size:12px}.message-details button:focus-visible,.message-details__trigger:focus-visible{outline-offset:3px;outline:3px solid #b998e4}.dev-app[data-theme=dark] .message-details{color:#f2eaf9;background:#30283e}.dev-app[data-theme=dark] .message-details__trigger{color:#e0c8fb;background:#39264e}
