/* DEEDU / ORBITAL 06. Quiet typography, physical work surfaces, a real horizon. */
:root{color-scheme:dark;--ink:#f0eee8;--muted:#aebbc2;--dim:#81949e;--line:#b8cbd62b;--accent:#e4d6ba;--paper:#f6f5f0;--font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;--serif:'Songti SC','Noto Serif CJK SC','STSong',Georgia,serif}
*{box-sizing:border-box}html{min-height:100%;background:#050b11}body{margin:0;color:var(--ink);font:13px/1.6 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}button,input,textarea,select{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer}button,a,input,textarea{touch-action:manipulation}button{transition:background .16s,color .16s,border-color .16s}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #e6d7b9;outline-offset:5px}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}textarea,input,select{max-width:100%;color:inherit;background:#111e28;border:1px solid #6f879277;border-radius:6px;padding:11px;outline:none}textarea:focus,input:focus,select:focus{border-color:#c9dddf;box-shadow:0 0 0 3px #b4d4d516}textarea{resize:vertical}::selection{background:#b0d3de55}[hidden]{display:none!important}.skip-link{position:fixed;left:24px;top:-70px;z-index:100;padding:12px;background:#eee;color:#111}.skip-link:focus{top:10px}
#spacePhoto{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:0;pointer-events:none;background:#06111c;transition:opacity .5s}#spaceCanvas{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.world-shade{position:fixed;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(3,10,16,.74),rgba(4,12,20,.27) 57%,rgba(2,8,15,.45)),linear-gradient(180deg,#050b14a6,transparent 42%,#03091055 72%,#030910d9)}
.header{position:relative;z-index:30;height:82px;display:flex;align-items:center;justify-content:space-between;margin:0 4.2%;border-bottom:1px solid #c1d4dd30;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand>svg{width:28px;height:38px;stroke-width:1.5}.brand>span{font-size:32px;letter-spacing:-1.5px;font-weight:550;line-height:1}.brand small{display:block;margin-top:9px;font:6px/1.2 var(--font);letter-spacing:2px;color:#c5d0d5}.main-nav{height:100%;display:flex;align-items:center;gap:36px}.main-nav button{height:100%;font-size:12px;color:#b4c0c6;position:relative;white-space:nowrap}.main-nav button.active{color:#fff}.main-nav button.active:after{content:'';position:absolute;bottom:17px;left:50%;height:3px;width:3px;border-radius:50%;background:#f0dbb6;box-shadow:0 0 9px #e5cb91}.main-nav button:hover{color:#fff}.nav-orbit{display:none}.header-actions{display:flex;gap:16px;align-items:center}.save-status{font-size:9px;color:#aabac2}.icon-button{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:24px}.icon-button:hover{background:#fff1}.export-button{display:flex;align-items:center;gap:16px;border:1px solid #d2d7cf60;border-radius:25px;padding:10px 18px;font-size:11px;background:#20303e33}.export-button svg{width:14px;height:14px}.export-button:hover{background:#d8e4e21c}
.intro{position:relative;z-index:4;display:flex;justify-content:space-between;align-items:center;margin:20px 5.2% 15px}.eyebrow{font-size:8px;letter-spacing:1.8px;color:#b7c7cd;display:flex;align-items:center;gap:9px}.tiny-star{color:#e4d4b4;font-size:15px}.intro-rule{width:22px;height:1px;background:#b8cbd555}.intro h1{font:400 27px/1.4 var(--serif);letter-spacing:1px;margin:5px 0}.intro h1 em{font:inherit;color:#e6d4b8}.intro p{font-size:10px;color:#b4c3ca;letter-spacing:.6px}.orbit-coordinate{font:8px/1.8 ui-monospace,monospace;letter-spacing:2px;color:#adbdc5;text-align:right;display:flex;align-items:center;gap:18px}.orbit-coordinate b{font-size:10px;font-weight:400;letter-spacing:1px}.orbit-coordinate i{font-size:36px;color:#dce8e666}.coordinate-line{height:1px;width:55px;background:#c4d5d644}#workspace{position:relative;z-index:5}.workflow-wrap{position:relative;z-index:16;display:flex;align-items:center;gap:35px;max-width:1040px;margin:0 auto 18px}.workflow-caption{font-size:10px;color:#d2dbdc;white-space:nowrap}.workflow-caption span{display:block;font:7px ui-monospace,monospace;letter-spacing:2px;margin-top:5px;color:#8a9fa9}.workflow{display:flex;align-items:center;flex:1}.workflow button{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:6px;padding:8px 12px;text-align:left;white-space:nowrap;color:#aebdc5;font-size:11px}.workflow button small{display:block;font-size:8px;color:#8ea3ad;margin-top:1px}.workflow button:hover{background:#fff1}.workflow button.active{border-color:#d2dbce44;background:#d3e0db13;color:#f7f0df}.workflow .step-no{font:10px ui-monospace,monospace;width:26px;height:26px;display:grid;place-items:center;border:1px solid #d0ded333;border-radius:50%}.workflow button.active .step-no{border-color:#e9dab177;color:#f2dfb5}.workflow button.passed .step-no{color:#b5e6d6;border-color:#a7d2c755}.workflow>i{flex:1;min-width:14px;height:1px;margin:0 9px;background:linear-gradient(90deg,#a8c9ce55,#a8c9ce16)}
.stage{display:grid;grid-template-columns:145px minmax(440px,660px) 340px;gap:76px;align-items:start;justify-content:center;padding:0 5.2% 105px;position:relative;min-height:540px}.left-panel,.right-panel{position:relative;z-index:18}.left-panel{padding-top:37px}.panel-caption{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#dbe3e5;margin-bottom:18px}.micro{font-size:6px;letter-spacing:1px;color:#90a4ae}.section-list{display:grid;gap:8px}.section-item{display:flex;align-items:center;text-align:left;gap:12px;border-bottom:1px solid #c9dde11f;padding:14px 4px;min-height:49px;width:100%;color:#b8c7cd}.section-item>span:first-child{font:9px ui-monospace,monospace;color:#8fa6b1}.section-item>span:nth-child(2){font-size:11px}.section-item .section-state{margin-left:auto;color:#d8d7c5;font-size:10px}.section-item.active{color:#fff0d6;border-color:#e9dab967;background:linear-gradient(90deg,#d0d7c711,transparent)}.section-item.active>span:first-child{color:#e2cfac}.section-item:hover{color:#fff;background:#d1e0e10c}.import-button{display:flex;align-items:center;gap:7px;font-size:10px;color:#b6c7cd;padding:17px 3px;width:100%}.import-button>span{font-size:18px}.import-button svg{margin-left:auto;width:13px;height:13px}.left-note{border-top:1px solid var(--line);display:flex;gap:8px;margin-top:14px;padding-top:19px;color:#aebfc8;line-height:1.9}.left-note strong{font-size:9px;font-weight:400;color:#d7dfdc}.left-note p{font-size:8px;margin-top:6px}.small-orbit{font-size:18px;color:#d8d2b8}.scan-button{display:flex;align-items:center;gap:7px;font-size:10px;padding:11px 9px;border:1px solid #c4d6d545;border-radius:6px;margin-top:21px;width:100%;background:#a8c8ce0b}.scan-button svg{width:14px;height:14px}.scan-button>span:last-child{margin-left:auto}.robot-signature{font-size:6px;letter-spacing:1.7px;color:#92a9b4;display:flex;align-items:center;gap:7px;margin-top:25px}.robot-signature>span{width:3px;height:3px;background:#c6dfdb;border-radius:50%}
.document-station{position:relative;z-index:8;min-width:0}.paper-toolbar{height:32px;display:flex;align-items:flex-start;justify-content:space-between;font-size:9px;color:#bacbd2;padding:0 10px}.paper-toolbar>div{display:flex;align-items:center;gap:8px}.paper-indicator{width:4px;height:4px;border-radius:50%;background:#c6ded8;box-shadow:0 0 8px #c6ded855}.paper-tools{gap:8px!important}.paper-tools button{display:grid;place-items:center;width:24px;height:22px;border-radius:4px}.paper-tools button:hover{background:#dde5df22}.paper-tools svg{width:14px;height:14px}.paper-tools>span{height:12px;width:1px;background:var(--line)}.paper-cradle{position:relative;padding:12px;border:1px solid #c3d0cf99;border-radius:13px;background:linear-gradient(112deg,#abb7bc,#344751 5%,#7e939c 8%,#182b39 46%,#b4c6c9 97%,#526872);box-shadow:0 22px 45px #02070da6,inset 0 1px #ffffffe0,inset 0 -2px #07111c,0 0 0 5px #152632,0 0 0 6px #829ca851}.paper-cradle:after{content:'DEEDU     /     DOCUMENT CHAMBER  06';position:absolute;bottom:-19px;left:15px;font:6px ui-monospace,monospace;letter-spacing:2px;color:#a6c0c9}.cradle-corner{position:absolute;width:14px;height:40px;z-index:4;pointer-events:none;border:1px solid #f0f0dc;background:linear-gradient(90deg,#233d4b,#aabcc1 46%,#e6eeea 54%,#576e7b);box-shadow:2px 3px 4px #09132177;border-radius:3px}.c1{left:1px;top:47px}.c2{right:1px;top:47px}.c3{left:1px;bottom:47px}.c4{right:1px;bottom:47px}.paper-scroll{height:calc(100dvh - 363px);min-height:310px;max-height:900px;overflow:auto;background:var(--paper);border-radius:4px;scrollbar-width:thin;scrollbar-color:#bebfb8 #edece6;overscroll-behavior:contain}#resumePaper{min-height:100%;padding:32px 43px 40px;background:linear-gradient(110deg,#fffefb,#f2f2ed);color:#303b42;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.paper-topline{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;margin-bottom:23px;border-bottom:1px solid #d8dbd6;font-size:8px;color:#8b9697;gap:12px}.paper-edit-identity{font-size:8px;color:#73858c;text-decoration:underline;text-underline-offset:3px}.resume-header{border-bottom:1px solid #c7cfcc;padding-bottom:18px;margin-bottom:10px}.resume-header h2{font:400 31px/1.5 var(--serif);letter-spacing:2px;color:#25343d}.resume-role{font-size:11px;color:#617781;margin-top:3px}.resume-contact{font-size:9px;color:#8a9598;margin-top:4px}.resume-section{position:relative;border:1px solid transparent;padding:17px 12px;margin:0 -12px 4px;border-radius:5px;cursor:pointer;scroll-margin:24px;transition:border-color .15s,background .15s}.resume-section:hover{background:#adbfc20d;border-color:#c6d3d3}.resume-section.selected{background:#d9e4e736;border-color:#8caab7;box-shadow:0 0 0 3px #b6ccd521}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d2dcd9;padding-bottom:7px;margin-bottom:10px}.section-heading h3{font-size:11px;font-weight:600;letter-spacing:1px;color:#59737e}.section-marker{font-size:7px;color:#879d9e;white-space:nowrap}.section-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:9px;margin:4px 0}.section-title-row h4{font-size:12px;font-weight:600;color:#374e59}.section-title-row time{font-size:8px;white-space:nowrap;color:#8a9798}.section-meta{font-size:9px;color:#839296;margin:4px 0 8px}.section-copy{font-size:12px;color:#53636c;line-height:1.95;white-space:pre-wrap}.section-pick{position:absolute;right:10px;bottom:3px;font-size:7px;color:#708d96;opacity:0}.resume-section:hover .section-pick{opacity:1}.resume-section.repaired .section-marker{color:#497a67}.resume-section.extraction-placeholder{border-style:dashed;background:repeating-linear-gradient(135deg,transparent,transparent 5px,#718c9905 5px,#718c9905 6px)}.extraction-placeholder .section-copy{opacity:.32}.extraction-placeholder:after{content:'原稿保留 · 正在右侧精修';position:absolute;inset:50% 5px auto;text-align:center;font-size:10px;letter-spacing:1px;color:#486c7e;background:#f3f5edc7;padding:7px;pointer-events:none}.paper-footer{display:flex;justify-content:space-between;gap:12px;font-size:7px;color:#a0aaa9;border-top:1px solid #d4ddd8;padding-top:20px;margin-top:18px}.station-foot{display:flex;justify-content:space-between;gap:10px;padding:25px 4px 0;color:#aabec6;font-size:8px}.station-foot>span:first-child{display:flex;gap:6px;align-items:center}.station-foot>span:last-child{color:#839ea9}.status-dot{display:inline-block;height:4px;width:4px;border-radius:50%;background:#b0d9cf;flex:none}
#armsCanvas{position:fixed;inset:0;z-index:15;pointer-events:none;opacity:1!important}body[data-view=space] #armsCanvas,body[data-view=journey] #armsCanvas{display:none}.right-panel{padding-top:32px}.assistant-card{position:relative;padding:23px 24px;border:1px solid #9bb4c16b;border-top-color:#d9e5dfaa;border-radius:12px;background:linear-gradient(128deg,#344652f2,#182a35f5 45%,#11222ef5);box-shadow:inset 0 1px #e1efea55,0 18px 30px #01070c88,0 0 0 4px #10202a66;max-height:calc(100dvh - 366px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#69848d66 transparent}.assistant-card:before{content:'';position:absolute;top:9px;right:20px;width:34px;height:3px;background:repeating-linear-gradient(90deg,#07121e,#07121e 2px,#758d9633 2px,#758d9633 4px)}.assistant-brand{display:flex;align-items:center;gap:13px;margin-bottom:17px}.assistant-brand h2{font:400 20px/1.5 var(--serif);margin-top:4px;letter-spacing:1px}.assistant-brand .eyebrow{font-size:6px;letter-spacing:1.4px;color:#91afb9}.ai-glyph{width:34px;height:36px;display:grid;place-items:center;position:relative;flex:none}.ai-glyph>span{position:absolute;width:30px;height:30px;border:1px solid #d3e6df99;transform:rotate(45deg);border-radius:8px}.ai-glyph>span:nth-child(2){transform:rotate(0);width:23px;height:23px;border-color:#d8c6a955}.ai-glyph i{font:normal 20px Georgia;color:#e8dbc2}.model-status{display:flex;align-items:center;gap:7px;font-size:8px;color:#a5bbc2;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:19px}.model-status .status-dot{background:#dec8a7}.inspector-heading{font-size:14px;font-weight:500;margin:0 0 10px;color:#e5e9df}.inspector-copy{font-size:11px;color:#a9c0c9;line-height:1.85;margin-bottom:15px}.inspector-label{display:block;font-size:8px;letter-spacing:.6px;color:#93b2bf;margin:13px 0 7px}.inspector-label:first-child{margin-top:0}.inspector-note{font-size:8px;line-height:1.85;color:#7e9ca9;margin-top:12px}.inspector-divider{height:1px;background:var(--line);margin:18px 0}.inspector-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#cedbdc}.small-label{font-size:9px;color:#8faebc}.inspector-selection strong{font-weight:500}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:15px 0 18px}.tool-button{display:flex;align-items:center;gap:7px;padding:10px 9px;border:1px solid #a7c4ca30;border-radius:5px;font-size:10px;text-align:left;background:#a7c4ca06}.tool-button i{font-style:normal;margin-left:auto;color:#7e9ba7}.tool-button>span{color:#d8d2b8}.tool-button:hover{background:#a7c4ca16;border-color:#a7c4ca6b}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:10px 14px;border:1px solid #b7ced34d;border-radius:5px;font-size:10px;color:#d5e1e4;background:#b7ced308;line-height:1.4}.action-button:hover{background:#b7ced319;border-color:#d1e1e184}.action-button.primary{background:linear-gradient(115deg,#e8dfcc,#c9d6d1);color:#253e45;border-color:#faf4dfb5;font-weight:600;box-shadow:inset 0 1px #ffffffe6,0 4px 14px #020a1022}.action-button.primary:hover{background:#f0ebdc}.action-button.full,.action-button.wide{width:100%}#inspector>.action-button{margin-top:8px}.suggestion-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.suggestion-actions .primary{flex:1}.inline-button{text-decoration:underline}.check-list{display:grid;gap:7px;margin:12px 0}.check-item{display:flex;gap:8px;text-align:left;width:100%;padding:10px;border:1px solid #a1c0c426;border-radius:5px;background:#a1c0c405;color:#b7ced5;font-size:10px;line-height:1.7}.check-item strong{font-size:10px;font-weight:500;color:#dae5e4}.check-item small{font-size:9px;color:#87a6b4;display:block}.check-item.ok .check-symbol{color:#a6d2ba}.check-symbol{color:#dfc49c}.repair-console{position:relative}.repair-bed{position:relative;margin:12px -8px 14px;padding:17px 17px 12px;border:1px solid #becfd0;border-radius:8px;background:linear-gradient(120deg,#faf9f2,#e8efec);color:#243e49;box-shadow:inset 0 2px 8px #30444e26,0 0 0 4px #071a2455,0 5px 18px #0003}.repair-bed:before,.repair-bed:after{content:'';position:absolute;width:18px;height:3px;top:-2px;background:#e5f8f1;border:1px solid #9caeb1;box-shadow:0 0 5px #b5d7d977}.repair-bed:before{left:19px}.repair-bed:after{right:19px}.repair-bed-caption{display:flex;justify-content:space-between;gap:12px;font:7px/1.5 ui-monospace,monospace;letter-spacing:1.3px;color:#81999c;margin-bottom:12px}.repair-bed-heading{font:500 14px/1.6 var(--font);color:#354f5b;margin-bottom:12px}.repair-bed .inspector-label{color:#637d87}.repair-bed #draftSource{float:right;color:#7a918f;font-size:8px;letter-spacing:0}.draft-textarea{width:100%;min-height:150px;line-height:1.9;font-size:12px;padding:12px;color:#dce8e8;background:#0d202c;border-color:#94adb34d;border-radius:5px}.repair-bed .draft-textarea{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#3a525e;font-size:12px;line-height:1.95;min-height:170px;resize:vertical}.repair-bed .draft-textarea:focus{box-shadow:none;outline:0}.repair-bed:focus-within{box-shadow:inset 0 2px 8px #30444e1a,0 0 0 4px #a8cfd055,0 5px 18px #0003}.fact-check{display:flex;align-items:flex-start;gap:7px;font-size:9px;color:#c0d4d8;margin-top:13px}.fact-check input{margin:3px 0 0;accent-color:#b9d4ce;width:13px;height:13px;padding:0;flex:none}.risk-note{font-size:9px;line-height:1.8;color:#e2c5a2;padding:9px 10px;border-left:2px solid #ccac75;background:#d9b5800b;margin:12px 0}.original-details{font-size:9px;color:#8ba7b5;margin-top:11px}.original-details summary{cursor:pointer}.original-copy{font-size:10px;line-height:1.9;white-space:pre-wrap;border-left:1px solid #a6c3c83b;padding:7px 9px;margin-top:6px;max-height:125px;overflow:auto}.mission-note{margin:20px 8px 0}.mission-note>span{font:7px ui-monospace,monospace;letter-spacing:2px;color:#9eb6c0}.mission-note>p{font:14px/1.9 var(--serif);color:#bdced2;margin-top:10px}.mission-line,.mission-note small{display:none}.writing-token{color:#396570;background:#cce8e5;border-radius:2px;text-shadow:0 0 8px #9ddad5;box-shadow:0 0 14px #89d9d55c}.transfer-card{position:fixed;z-index:26;pointer-events:none;transform-origin:0 0;border:1px solid #dce6de;border-radius:5px;background:linear-gradient(115deg,#fffef7,#e9f0ea);color:#38545d;box-shadow:0 25px 55px #0008,0 1px 2px #fff,inset 0 0 0 4px #a7c4c528;overflow:hidden;padding:15px 18px;will-change:transform,opacity;backface-visibility:hidden}.transfer-card:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#a7d8d8}.transfer-card-label{font:8px/1.5 ui-monospace,monospace;letter-spacing:1px;color:#688c94;margin-bottom:7px}.transfer-card-title{font-size:13px;font-weight:600;margin-bottom:8px}.transfer-card-copy{font-size:11px;line-height:1.9;white-space:pre-wrap}
/* The career route is the main space: milestones have places, a heading and a horizon. */
body[data-view=space] .intro,body[data-view=journey] .intro{display:none}#secondaryView{position:relative;z-index:6;margin:0 auto;max-width:1640px;padding:0 7%;min-height:calc(100dvh - 82px)}.voyage{position:relative;min-height:calc(100dvh - 83px);padding:57px 0 105px}.voyage-heading{position:relative;z-index:4;max-width:680px}.voyage-heading .eyebrow,.voyage-heading .inspector-label{font:8px/1.5 ui-monospace,monospace;letter-spacing:3px;color:#c2d0cd;margin-bottom:17px}.voyage-heading h1{font:400 clamp(32px,3.7vw,58px)/1.38 var(--serif);letter-spacing:3px;white-space:pre-line;color:#fff8e9;text-shadow:0 2px 25px #030b1a77}.voyage-heading>p{font-size:12px;color:#acbfc8;line-height:1.9;margin-top:17px;letter-spacing:.6px}.voyage-heading>p:first-child{margin-top:0}.voyage-map{position:relative;width:100%;height:clamp(280px,41vh,430px);margin:0 0 6px;isolation:isolate}.voyage-route{position:absolute;inset:0;height:100%;width:100%;overflow:visible;stroke-width:1;pointer-events:none}.voyage-route path{stroke:#d7dcc881;fill:none;vector-effect:non-scaling-stroke}.voyage-route .future-route{stroke-dasharray:5 10;stroke:#bdd4d355}.voyage-route .route-trace{stroke:#ddeddfbb;stroke-width:1.5}.voyage-route circle{fill:#d5eddf;stroke:none}.voyage-stop{position:absolute;left:calc(var(--x)*1%);top:calc(var(--y)*1%);transform:translate(-50%,-50%);width:165px;min-height:127px;padding:0 4px;z-index:3;text-align:center;border:0;background:none;transition:color .2s;filter:drop-shadow(0 3px 10px #06121a66)}.stop-orbit{position:relative;width:49px;height:49px;border:1px solid #c7dbd044;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;box-shadow:0 0 0 8px #beded508,0 0 28px #b8ded512;background:radial-gradient(circle at 36% 30%,#dbe9dc,#7a9ca4 18%,#274957 40%,#0b2535 65%,#091621 75%);transform:rotateX(10deg)}.stop-orbit:after{content:'';position:absolute;inset:-8px;border:1px solid #bcd7d330;border-radius:50%;transform:rotateX(66deg) rotate(-24deg)}.stop-number{font:9px ui-monospace,monospace;color:#e6eee0;text-shadow:0 1px 3px #000}.stop-label{display:block;font:7px/1.4 ui-monospace,monospace;letter-spacing:2px;color:#a2bfc7;margin-bottom:5px}.stop-title{display:block;font:400 16px/1.5 var(--serif);letter-spacing:.8px;color:#e3e8dc;overflow-wrap:anywhere}.stop-date{display:block;margin-top:7px;font:8px/1.5 ui-monospace,monospace;letter-spacing:.6px;color:#9fb8bf}.voyage-stop:hover .stop-orbit,.voyage-stop.active .stop-orbit,.voyage-stop[aria-pressed=true] .stop-orbit{border-color:#e8d0a0;box-shadow:0 0 0 7px #e5d4ab0d,0 0 29px #dfc78b33}.voyage-stop.active .stop-title,.voyage-stop:hover .stop-title{color:#ffe9c1}.voyage-stop.current .stop-orbit{background:radial-gradient(circle at 30% 25%,#ffffea,#c7b58d 22%,#655846 50%,#1f3641 76%);width:60px;height:60px}.voyage-stop.future .stop-orbit{background:radial-gradient(circle,#b2c8d014,transparent 70%);border-style:dashed;color:#c8e6e2}.voyage-stop.future .stop-number{font-size:20px;font-weight:200}.voyage-detail{position:relative;z-index:4;display:grid;grid-template-columns:minmax(220px,.85fr) minmax(250px,1.4fr) auto;gap:35px;align-items:center;padding:25px 0 24px;border-top:1px solid #c6d6d235;border-bottom:1px solid #c6d6d222;background:linear-gradient(90deg,#10232a1a,transparent);color:#bbced0;max-width:1120px;margin:auto}.voyage-detail h2{font:24px/1.4 var(--serif);letter-spacing:1px;color:#e9e5d8;margin:7px 0}.voyage-detail p{font-size:11px;line-height:1.9;white-space:pre-line;max-height:110px;overflow:auto;scrollbar-width:thin}.voyage-detail .inspector-label{font:8px ui-monospace,monospace;letter-spacing:2px;margin:0}.voyage-detail time,.voyage-detail small{font-size:9px;color:#94aeb6}.voyage-detail .action-button{white-space:nowrap;min-width:140px}.voyage-detail-actions{display:flex;gap:10px;flex-wrap:wrap}.voyage-footer{display:flex;justify-content:space-between;align-items:center;margin:20px auto 0;gap:20px;max-width:1120px;font-size:9px;color:#8ea9b4}.voyage-footer>div{display:flex;gap:9px}.voyage-footer .action-button{font-size:9px;min-height:33px;padding:7px 12px}.voyage-progress{font:8px ui-monospace,monospace;letter-spacing:1.5px;color:#aac4cb}.voyage-page-controls{display:flex;gap:10px;align-items:center}.voyage-page-controls button{border:1px solid var(--line);border-radius:50%;width:29px;height:29px}.journey-details,.journey-copy{white-space:pre-line}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .full{grid-column:1/-1}
.scene-dock{position:fixed;z-index:40;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:7px 13px;background:linear-gradient(115deg,#273c48f0,#122630f5);border:1px solid #b5c9ca55;border-radius:30px;box-shadow:inset 0 1px #e1ebe42b,0 8px 24px #01081166;white-space:nowrap}.dock-label{font:7px/1.4 ui-monospace,monospace;color:#8baab4;letter-spacing:.5px;margin:0 7px 0 3px}.scene-options{display:flex;align-items:center;gap:3px}.scene-dock button{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:20px;padding:8px 11px;font-size:9px;min-height:32px;color:#adc4cd}.scene-dock button.active,.scene-dock button[aria-pressed=true]{background:#d5dfd417;color:#eae5ce}.scene-dock button:hover{background:#d5dfd41a}.scene-swatch{width:10px;height:10px;border:1px solid #dde6de66;border-radius:50%;background:radial-gradient(circle at 30% 20%,#cfe7e1,#5a8d9d 60%,#152e42)}.scene-swatch.lunar{background:radial-gradient(circle at 30% 20%,#e8e3ca,#8c9fa2 60%,#314b5c)}.scene-swatch.dawn{background:radial-gradient(circle at 30% 20%,#ead6af,#b2a180 60%,#4e687a)}.dock-separator{width:1px;height:16px;background:var(--line);margin:0 4px}.scene-dock svg{width:13px;height:13px}.edition{position:fixed;bottom:34px;left:4.3%;z-index:6;font:7px/1 ui-monospace,monospace;letter-spacing:2px;color:#92b4c2}.edition span{font-size:6px;margin-left:10px;color:#658a9d}#toast{position:fixed;z-index:60;left:50%;bottom:88px;transform:translate(-50%,10px);max-width:90vw;padding:12px 20px;color:#1a3541;background:#e1e9dd;border:1px solid #fff9;border-radius:7px;box-shadow:0 10px 30px #0005;opacity:0;pointer-events:none;font-size:11px;transition:opacity .15s,transform .15s}#toast.visible,#toast.show{opacity:1;transform:translate(-50%,0)}
dialog{color:var(--ink);background:linear-gradient(130deg,#2b424e,#112632);border:1px solid #afc5c777;border-radius:13px;padding:28px;width:560px;max-width:calc(100vw - 32px);max-height:88dvh;overflow:auto;box-shadow:0 35px 80px #0009}dialog::backdrop{background:#020a12a6}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font:25px/1.5 var(--serif);letter-spacing:1px}#dialogBody p{font-size:12px;line-height:1.85;color:#b1c7ce;margin-bottom:15px}#dialogBody label{display:block;font-size:11px;color:#bfced0;margin:12px 0 6px}#dialogBody input:not([type=checkbox]),#dialogBody textarea,#dialogBody select{width:100%;margin-top:6px}#dialogBody .action-button{margin-top:12px}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-label{display:block}.focus-editor-close,.close-focus-editor{width:100%;margin-bottom:12px;font-size:9px;text-align:right;color:#9ab8c4;padding:5px}.focus-mode .intro,.focus-mode .workflow-wrap,.focus-mode .left-panel{display:none}.focus-mode .stage{grid-template-columns:minmax(460px,780px);padding-top:28px;min-height:0}.focus-mode .paper-scroll{height:calc(100dvh - 228px)}.focus-mode .right-panel{display:none}.focus-mode #resumePaper{padding:36px 57px}.focus-mode .section-copy{font-size:14px}.focus-mode .section-heading h3{font-size:12px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(460px,740px) 340px;gap:110px}.focus-mode.focus-editing .right-panel{display:block}.focus-mode.focus-editing .assistant-card{max-height:calc(100dvh - 232px)}.focus-mode .mission-note{display:none}body:has(dialog[open]){overflow:hidden}#printRoot{display:none}
@media(min-width:761px){body[data-view=studio]{height:100dvh;overflow:hidden}}@media(min-width:1800px){.stage{grid-template-columns:165px minmax(540px,750px) 370px;gap:95px}.intro{margin-top:26px;margin-bottom:19px}.paper-scroll{height:calc(100dvh - 384px)}.assistant-card{max-height:calc(100dvh - 387px)}#resumePaper{padding:38px 48px}.section-copy{font-size:13px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(540px,820px) 370px}.voyage{padding-top:70px}}
@media(max-width:1400px){.header{margin-inline:3%;height:75px}.brand>span{font-size:29px}.brand small{font-size:5px;letter-spacing:1.7px}.save-status{display:none}.intro{margin-inline:4%;margin-top:15px}.intro h1{font-size:24px}.stage{grid-template-columns:125px minmax(380px,590px) 305px;gap:49px;padding-inline:4%}.assistant-card{padding:20px 19px}.assistant-brand h2{font-size:18px}.paper-scroll{height:calc(100dvh - 343px)}.assistant-card{max-height:calc(100dvh - 345px)}.workflow-wrap{max-width:930px;margin-bottom:15px}.workflow-caption{display:none}.left-panel{font-size:10px}.panel-caption .micro{display:none}.left-note p{font-size:7px}.left-note strong{font-size:8px}.section-item{gap:8px}.section-item>span:nth-child(2){font-size:10px}.mission-note{margin-top:16px}.mission-note>p{font-size:12px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(400px,670px) 305px;gap:90px}.focus-mode #resumePaper{padding:32px 42px}.voyage{padding-top:42px}.voyage-map{height:37vh;min-height:275px}.voyage-heading h1{font-size:44px}.voyage-detail{gap:24px}.edition{font-size:6px;left:3%}}
@media(max-width:1150px){.left-panel{display:none}.stage{grid-template-columns:minmax(400px,580px) 300px;gap:72px;padding-inline:7%}.main-nav{gap:22px}.header-actions{gap:8px}.intro{margin-inline:7%}.intro p{font-size:9px}.orbit-coordinate{display:none}.workflow-wrap{margin-inline:7%}.workflow button{padding-inline:8px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(380px,600px) 280px;gap:70px;padding-inline:5%}.focus-mode.focus-editing .assistant-card{padding:18px}.voyage{padding-top:36px}.voyage-heading h1{font-size:38px}.voyage-detail{grid-template-columns:1fr 1.4fr}.voyage-detail-actions{grid-column:1/-1}.voyage-stop{width:135px}.stop-title{font-size:14px}.edition{display:none}}
@media(min-width:761px) and (max-height:780px){.header{height:65px}.intro{margin-top:10px;margin-bottom:9px}.intro h1{font-size:22px}.intro .eyebrow{font-size:7px}.intro p{display:none}.workflow-wrap{margin-bottom:12px}.workflow button{padding-block:6px}.paper-scroll{height:calc(100dvh - 286px);min-height:270px}.assistant-card{max-height:calc(100dvh - 288px)}.mission-note{display:none}.scene-dock{bottom:13px}.section-item{min-height:43px;padding-block:11px}.left-note{display:none}.voyage{padding-top:30px}.voyage-heading h1{font-size:34px}.voyage-heading>p{font-size:10px;margin-top:10px}.voyage-map{height:31vh;min-height:240px}.voyage-detail{padding-block:16px}.voyage-footer{margin-top:15px}.voyage{padding-bottom:90px}.focus-mode .paper-scroll{height:calc(100dvh - 205px)}}
@media(max-width:760px){.header{height:108px;margin-inline:20px;flex-wrap:wrap;align-content:space-between;padding-top:15px;gap:0}.brand>span{font-size:28px}.brand>svg{width:25px;height:30px}.brand small{font-size:5px;letter-spacing:1.3px}.export-button{font-size:10px;padding:8px 12px;gap:9px}.header-actions{gap:5px}.header-actions .icon-button{width:28px}.main-nav{order:3;width:100%;height:39px;justify-content:center;gap:34px}.main-nav button{font-size:11px}.main-nav button.active:after{bottom:3px}.intro{margin:22px 25px 18px}.intro h1{font-size:24px}.intro p{font-size:9px}.intro .eyebrow{font-size:6px;letter-spacing:1px}.workflow-wrap{margin:0 16px 18px}.workflow button{font-size:9px;gap:5px;padding:7px 4px}.workflow button small{display:none}.workflow .step-no{width:22px;height:22px;font-size:8px}.workflow>i{margin:0 3px;min-width:3px}.stage{display:block;padding:0 23px 115px;min-height:0}.document-station{max-width:610px;margin:auto}.paper-scroll{height:auto;max-height:560px;min-height:360px}.paper-cradle{padding:8px}.paper-cradle:after{font-size:5px;letter-spacing:1.2px}.cradle-corner{width:9px;height:30px}.paper-toolbar{font-size:8px}#resumePaper{padding:25px 26px}.section-copy{font-size:11px}.section-title-row time{font-size:7px}.section-title-row h4{font-size:11px}.resume-header h2{font-size:28px}.station-foot{font-size:7px;padding-top:25px}.station-foot>span:last-child{display:none}.right-panel{max-width:610px;margin:12px auto 0;padding-top:25px}.assistant-card{max-height:none;padding:23px}.assistant-brand h2{font-size:22px}.assistant-brand .eyebrow{font-size:7px}.inspector-copy{font-size:12px}.inspector-heading{font-size:15px}.tool-button,.action-button{font-size:12px;min-height:42px}.inspector-note{font-size:10px}.inspector-label{font-size:10px}.repair-bed .draft-textarea{font-size:14px;min-height:170px}.fact-check,.risk-note,.original-details,.original-copy{font-size:11px}.mission-note{display:none}.scene-dock{bottom:12px;width:calc(100% - 24px);max-width:570px;justify-content:center;padding:6px;gap:0}.scene-dock button{padding:7px 6px;font-size:8px;gap:4px;min-height:31px}.scene-swatch{width:8px;height:8px}.dock-label{display:none}.dock-separator{margin:0 4px}.scene-options{gap:0}.scene-dock #motionButton,.scene-dock #focusButton{font-size:8px;padding-inline:6px}.scene-dock #motionButton span{display:none}.edition{display:none}.focus-mode .stage{display:block;padding:22px 16px 110px}.focus-mode .paper-scroll{height:auto;max-height:70vh;min-height:400px}.focus-mode #resumePaper{padding:26px}.focus-mode .section-copy{font-size:12px}.focus-mode.focus-editing .right-panel{display:block}.focus-mode.focus-editing .assistant-card{max-height:none}.focus-mode.focus-editing .stage{display:block}.world-shade{background:linear-gradient(180deg,#030b14bf,#06121d88 42%,#040d18aa)}#secondaryView{padding:0 25px}.voyage{padding:35px 0 105px;min-height:calc(100dvh - 108px)}.voyage-heading h1{font-size:34px;letter-spacing:1.5px}.voyage-heading>p{font-size:11px;max-width:290px}.voyage-heading .inspector-label{font-size:7px;letter-spacing:2px}.voyage-map{height:330px;margin:15px 0 8px}.voyage-stop{width:92px;min-height:100px}.stop-title{font-size:12px;letter-spacing:0}.stop-label{font-size:6px;letter-spacing:.5px}.stop-date{font-size:6px;letter-spacing:0}.stop-orbit{width:33px;height:33px;margin-bottom:9px}.voyage-stop.current .stop-orbit{width:42px;height:42px}.stop-number{font-size:7px}.voyage-detail{display:block;padding:20px 0}.voyage-detail h2{font-size:24px}.voyage-detail p{font-size:12px;margin:10px 0;max-height:140px}.voyage-detail .action-button{margin-top:8px}.voyage-detail-actions{display:flex}.voyage-footer{display:block;margin-top:18px}.voyage-footer>div{margin-top:12px;flex-wrap:wrap}.voyage-footer>span,.voyage-footer>p{font-size:8px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}dialog{padding:23px}#dialogBody input,#dialogBody textarea,#dialogBody select{font-size:16px}#toast{font-size:11px;max-width:calc(100vw - 30px);width:max-content;bottom:80px}.transfer-card{padding:10px}.transfer-card-title{font-size:11px}.transfer-card-copy{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@page{size:A4;margin:16mm}@media print{html,body{background:#fff!important;color:#222!important}body>*{display:none!important}#printRoot{display:block!important;background:#fff;color:#222}}
/* Route and instrument contracts. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.photo-credit{display:block;font:5px/1.5 ui-monospace,monospace;letter-spacing:1px;margin-top:10px;color:#7895a3}.repair-bed-heading>span{display:block;font-size:8px;color:#7c9499;font-weight:400;letter-spacing:1px;margin-bottom:4px}.repair-bed-heading strong{display:block;font-size:13px;font-weight:500}.repair-bed-heading time{display:block;font:8px ui-monospace,monospace;color:#7a969b;margin-top:4px}.repair-writing-surface{position:relative}.repair-live-preview{position:absolute;inset:0;pointer-events:none;font-size:12px;line-height:1.95;white-space:pre-wrap;color:#3a525e;overflow:hidden}.repair-bed.is-writing textarea{opacity:0}.repair-bed-footer{display:flex;align-items:center;gap:6px;border-top:1px solid #a5b8b933;padding-top:9px;margin-top:6px;color:#7d9799;font-size:7px}.repair-bed-footer i{width:3px;height:3px;background:#7fb7a5;border-radius:50%}.repair-bed.receiving{box-shadow:inset 0 2px 8px #30444e26,0 0 0 4px #bedcd055,0 5px 20px #bee5d533}.installation-pending .section-copy{opacity:.2}.transfer-card-label{display:flex;justify-content:space-between;gap:10px}.transfer-card-clamp{position:absolute;right:-1px;top:40%;height:28px;width:7px;border:1px solid #9eb6bc;border-radius:2px;background:linear-gradient(90deg,#375b68,#e2ebe8 40%,#849ba3);box-shadow:-2px 2px 4px #0003}.voyage-heading{display:flex;align-items:center;justify-content:space-between;max-width:none;gap:40px}.voyage-heading>div:first-child{max-width:680px}.voyage-eyebrow{font:8px/1.5 ui-monospace,monospace;letter-spacing:3px;color:#c2d0cd;margin-bottom:17px}.voyage-heading h1 em{font:inherit;color:#e7d7b7}.voyage-heading>div>p:last-child{font-size:11px;color:#b3c7cd;line-height:1.9;margin-top:16px;letter-spacing:.5px}.voyage-coordinate{position:relative;text-align:right;border-right:1px solid #c3d0c344;padding:20px 25px 20px 0;display:flex;align-items:flex-end;flex-direction:column;flex:none}.voyage-coordinate>span{font:7px ui-monospace,monospace;letter-spacing:2px;color:#a2bdc6}.voyage-coordinate strong{font:200 58px/1.4 var(--font);color:#e2dfce;letter-spacing:-3px}.voyage-coordinate small{font-size:9px;color:#a6bec5}.voyage-coordinate em{font-style:normal;font-size:8px;color:#7c9caa;margin-top:12px}.voyage-stop{left:var(--x);top:var(--y);transform:translate(-50%,-50%) scale(var(--depth,1))}.stop-orbit b{font:400 17px var(--serif);color:#e9ede0;text-shadow:0 2px 4px #0008}.stop-orbit i{position:absolute;inset:-7px;border:1px solid #b7d4d233;border-radius:50%;transform:rotateX(65deg) rotate(35deg)}.stop-number{display:block;margin-bottom:5px;font-size:7px;letter-spacing:2px;color:#a9c0c5}.stop-current-tag{display:inline-block;font:5px ui-monospace,monospace;letter-spacing:1px;color:#dfcc9f;border:1px solid #dcca9e44;padding:2px 5px;margin-top:9px;border-radius:2px}.voyage-stop-current .stop-orbit{background:radial-gradient(circle at 30% 25%,#ffffe9,#baab84 24%,#706047 48%,#1c3441 76%);width:59px;height:59px}.voyage-stop-future .stop-orbit{background:radial-gradient(circle,#b2c8d01a,transparent 70%);border-style:dashed}.voyage-stop-future .stop-title{color:#dbcbaa}.voyage-distance{position:absolute;left:-1%;bottom:4%;font:6px/1.5 ui-monospace,monospace;letter-spacing:2px;color:#87a3af}.voyage-distance span{display:block;letter-spacing:1px;margin-top:5px;font-size:7px;color:#698d9c}.voyage-route .voyage-route-shadow{stroke:#d7eed525;stroke-width:7}.voyage-route .voyage-route-line{stroke:url(#voyageLine);stroke-width:1}.voyage-route .voyage-route-trace{stroke:#e4eed2b3;stroke-width:1.4;stroke-dasharray:6 1800;animation:routeTravel 26s linear infinite}.motion-off .voyage-route-trace,.is-typing .voyage-route-trace{animation-play-state:paused}@keyframes routeTravel{to{stroke-dashoffset:-1806}}.voyage-detail{grid-template-columns:minmax(180px,.8fr) minmax(280px,1.3fr) auto;grid-template-rows:auto auto;column-gap:30px;row-gap:0;align-items:center}.voyage-detail>.inspector-label,.voyage-detail-heading{grid-column:1;grid-row:1;align-self:end}.voyage-detail>h2{grid-column:1;grid-row:2;font-size:22px;align-self:start}.voyage-detail-role{grid-column:1;grid-row:3}.voyage-detail-copy{grid-column:2;grid-row:1/span 3;margin:0!important}.voyage-detail-actions{grid-column:3;grid-row:1/span 3;flex-direction:column;align-items:stretch;gap:8px}.voyage-detail-actions .action-button{font-size:10px;min-height:34px;padding-block:8px}.voyage-footer{justify-content:flex-start;gap:23px}.voyage-footer>p{margin-right:auto}.voyage-add,.voyage-import{font-size:9px;color:#b7cbd0;padding:8px 0;border-bottom:1px solid #b1c7ca33}.voyage-add:hover,.voyage-import:hover{color:#f1e3c6}.voyage-pagination{display:flex;align-items:center;gap:10px;font-size:8px}.voyage-pagination button{color:#d2decf;padding:4px}.voyage-pagination span{color:#88a6b4}
@media(max-width:1150px){.voyage-coordinate{display:none}.voyage-detail{grid-template-columns:minmax(170px,.8fr) minmax(250px,1.2fr);column-gap:22px}.voyage-detail-actions{grid-column:1/-1;grid-row:4;flex-direction:row;margin-top:10px}.voyage-stop{width:125px}.voyage-footer{gap:15px;flex-wrap:wrap}}
@media(max-width:760px){.voyage-heading{display:block}.voyage-heading>div>p:last-child{font-size:10px}.voyage-eyebrow{font-size:6px;letter-spacing:2px}.voyage-stop{width:92px}.voyage-stop-current .stop-orbit{width:43px;height:43px}.stop-orbit b{font-size:13px}.stop-current-tag{font-size:4px;letter-spacing:0}.voyage-detail{display:block}.voyage-detail-copy{margin:12px 0!important}.voyage-detail-actions{flex-direction:row;flex-wrap:wrap}.voyage-footer{display:flex;gap:10px}.voyage-footer>p{width:100%}.voyage-pagination{width:100%}.voyage-distance{font-size:5px}.repair-live-preview{font-size:14px}}
/* A writing room: the document owns the available width in immersion. */
@media(min-width:761px){.focus-mode .stage{grid-template-columns:minmax(0,1040px);padding:20px 4.5% 80px;gap:76px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(0,1000px) 320px;gap:76px;padding-inline:4%}.focus-mode .paper-scroll{height:calc(100dvh - 211px);max-height:none}.focus-mode #resumePaper{padding:40px clamp(38px,5vw,86px) 50px}.focus-mode .section-copy{font-size:14px;line-height:2}.focus-mode .resume-header h2{font-size:37px}.focus-mode .section-title-row h4{font-size:14px}.focus-mode .section-title-row time{font-size:10px}.focus-mode .section-meta{font-size:11px}.focus-mode .section-heading h3{font-size:13px}.focus-mode .resume-section{padding-block:21px;margin-bottom:8px}.focus-mode.focus-editing .assistant-card{max-height:calc(100dvh - 216px)}.focus-mode .station-foot{padding-top:24px}.focus-mode .scene-dock{bottom:12px}}
@media(min-width:1800px){.focus-mode .stage{grid-template-columns:minmax(0,1160px)}.focus-mode.focus-editing .stage{grid-template-columns:minmax(0,1100px) 370px;gap:100px}.focus-mode .paper-scroll{height:calc(100dvh - 211px)}}
@media(min-width:761px) and (max-width:1050px){.stage{grid-template-columns:minmax(0,1fr) 280px;padding-inline:5%;gap:45px}.focus-mode.focus-editing .stage{grid-template-columns:minmax(0,1fr) 280px;padding-inline:4%;gap:42px}.focus-mode #resumePaper{padding-inline:32px}.focus-mode .section-copy{font-size:13px}.assistant-card{padding:18px 15px}.section-title-row{flex-wrap:wrap}.header-actions{gap:3px}.main-nav{gap:18px}.brand small{font-size:4px}}
body[data-scene=lunar] .world-shade{background:linear-gradient(90deg,#070b18bd,#0b112345 57%,#060c1a73),linear-gradient(180deg,#080d1bb3,transparent 42%,#090e1c55 72%,#050b16d9)}body[data-scene=dawn] .world-shade{background:linear-gradient(90deg,#17110dc7,#201d1129 57%,#120e0b70),linear-gradient(180deg,#17171799,transparent 42%,#10151944 72%,#0c1016d9)}
@media(max-width:760px){.voyage-map[data-layout=vertical]{height:var(--voyage-mobile-height);min-height:0;margin-top:25px;margin-bottom:5px}.voyage-map[data-layout=vertical] .voyage-stop{width:118px;transform:translate(-50%,-50%)}.voyage-map[data-layout=vertical] .stop-title{font-size:14px;line-height:1.5}.voyage-map[data-layout=vertical] .stop-label{font-size:7px;letter-spacing:.6px}.voyage-map[data-layout=vertical] .stop-date{font-size:8px}.voyage-map[data-layout=vertical] .stop-orbit{width:40px;height:40px}.voyage-map[data-layout=vertical] .voyage-stop-current .stop-orbit{width:48px;height:48px}.voyage-map[data-layout=vertical] .voyage-distance{left:auto;right:0;top:0;bottom:auto;text-align:right;font-size:5px}.repair-console{scroll-margin-top:22px}}

@media(min-width:761px){html:has(body[data-view=studio]),body[data-view=studio]{overflow:clip}}

/* R7: a readable working document, clear instruments and a quiet moving orbit. */
#spacePhoto{transform-origin:57% 58%;transform:translate3d(-1.3%,.6%,0) scale(1.08) rotate(-.35deg);animation:earthOrbitalDrift 150s ease-in-out infinite alternate;will-change:transform}
@keyframes earthOrbitalDrift{from{transform:translate3d(-1.3%,.6%,0) scale(1.08) rotate(-.35deg)}to{transform:translate3d(1.5%,-.7%,0) scale(1.12) rotate(.45deg)}}
.motion-off #spacePhoto,.focus-mode #spacePhoto,.is-typing #spacePhoto,body[data-environment-hidden=true] #spacePhoto{animation-play-state:paused}
.paper-toolbar{height:40px;align-items:center;font-size:12px;padding:0 7px 7px;gap:12px}
.paper-toolbar>div:first-child{min-width:0}.paper-toolbar #stageTitle{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.paper-tools{flex:none;gap:5px!important}.paper-tools button{width:32px;height:30px;background:#102330a3;border:1px solid #91aeb138;border-radius:5px}.paper-tools button:hover{background:#39515e}.paper-tools svg{width:16px;height:16px}
#paperFocus{background:#d4e3dd1c;border-color:#d4e3dd73;color:#eff2e5}
.section-copy{font-size:15px;line-height:1.9;color:#41545f}.section-title-row h4{font-size:15px;line-height:1.6}.section-title-row time{font-size:12px;color:#657d85;line-height:1.6}.section-meta{font-size:13px;line-height:1.6;color:#647a83}
.resume-category{margin-bottom:25px}.resume-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px 0 8px;padding-bottom:8px;border-bottom:1px solid #b8cbc9}.resume-category-heading h3{font-size:14px;letter-spacing:1px;font-weight:600;color:#4c6874}.resume-category-heading small{font:10px ui-monospace,monospace;color:#879e9e}.resume-category .resume-section{margin-bottom:5px;padding-block:14px}.resume-placeholder{color:#829499;font-style:normal}.resume-section .resume-placeholder{font-size:14px;line-height:1.8}.resume-header[role=button]{cursor:pointer;border-radius:4px}.resume-header[role=button]:hover{background:#c4d8d91c}.resume-header[role=button]:focus-visible{outline:2px solid #6b9eae;outline-offset:6px}
.section-list{scrollbar-width:thin;scrollbar-color:#a2b9bd77 transparent;overscroll-behavior:contain;padding-right:5px;align-content:start}
.section-group-title{font-size:12px;letter-spacing:.5px;color:#e0ddd0;padding:14px 3px 4px;line-height:1.5}.section-group-title:first-child{padding-top:0}.section-item{gap:8px;min-height:54px;padding:11px 3px;align-items:flex-start}.section-item>span:first-child{font-size:10px;padding-top:4px;flex:none}.section-item>span:nth-child(2),.section-item-copy{font-size:14px;min-width:0;line-height:1.6}.section-item-copy strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}.section-item-copy small{display:block;font-size:11px;line-height:1.6;color:#9fb5be;margin-top:3px}.section-item .section-state{font-size:11px;flex:none;padding-top:4px}.panel-caption{font-size:13px;margin-bottom:14px}.import-button,.scan-button{font-size:12px;line-height:1.6}.import-button{padding-block:11px}.scan-button{margin-top:12px;min-height:42px}.robot-signature{margin-top:14px}.left-note{padding-top:12px;margin-top:8px}.left-note p{font-size:10px}.left-note strong{font-size:11px}
.inspector-heading{font-size:16px}.inspector-copy{font-size:14px;line-height:1.85}.inspector-label{font-size:12px;letter-spacing:.35px}.inspector-note{font-size:12px;line-height:1.8}.model-status{font-size:12px;line-height:1.6}.tool-button,.action-button{font-size:13px;min-height:42px;line-height:1.55}.inspector-selection{font-size:13px}.fact-check,.risk-note,.original-details,.original-copy{font-size:12px;line-height:1.8}
.repair-fields{display:grid;gap:9px;margin-bottom:14px}.repair-fields .form-label{display:block;font-size:12px;line-height:1.6;color:#627b86;margin:0}.repair-fields .form-input{display:block;width:100%;margin-top:4px;min-height:37px;padding:7px 9px;font-size:14px;line-height:1.55;color:#294956;background:#fff9;border:1px solid #9eb9c080;border-radius:4px;box-shadow:inset 0 1px 3px #23445109}.repair-fields .form-input:focus{outline:2px solid #719ead;outline-offset:1px}.repair-fields .form-input::placeholder{color:#81979e}
.repair-bed .draft-textarea,.repair-live-preview{font-size:15px;line-height:1.9}.repair-bed-heading strong{font-size:15px}.repair-bed-heading>span,.repair-bed-heading time{font-size:11px}.repair-bed-caption{font-size:8px;letter-spacing:1px}.repair-bed #draftSource{font-size:11px}.repair-bed-footer{font-size:10px;line-height:1.6}.repair-writing-surface{min-width:0}
.check-list{gap:10px}.check-item{font-size:13px;padding:12px;gap:10px;animation:findingArrives .28s ease-out both}.check-item strong{font-size:14px;line-height:1.7}.check-item small{font-size:12px;line-height:1.75;color:#aac0c9}.check-source{display:block;font-size:10px;color:#97b3be;letter-spacing:.3px;margin-top:7px}.diagnosis-progress{font-size:13px;line-height:1.8;color:#c3dce1;margin:12px 0;padding:10px 12px;border-left:2px solid #6cc3d4;background:#86c7d00a}@keyframes findingArrives{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.flight-log{max-width:1090px;margin:0 auto;padding:54px 3% 135px}.flight-log-heading{margin-bottom:35px}.flight-log-heading h1{font:400 38px/1.5 var(--serif);color:#eeeadc;letter-spacing:1px}.flight-log-heading p{font-size:15px;line-height:1.9;color:#aec5cf;max-width:680px;margin-top:12px}.flight-log-list{position:relative;display:grid;gap:0;border-left:1px solid #a2c5d050;margin-left:14px;padding-left:29px}.flight-log-entry{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);gap:22px;padding:26px 25px;margin-bottom:17px;border:1px solid #b5d1d22a;border-radius:8px;background:linear-gradient(120deg,#173344eb,#10212ede);box-shadow:inset 0 1px #d0e6df0a}.flight-log-entry:before{content:'';position:absolute;width:7px;height:7px;left:-34px;top:33px;border:1px solid #d1dfd5;border-radius:50%;background:#68899a;box-shadow:0 0 0 5px #203b4a}.flight-log-entry>time{font:12px/1.9 ui-monospace,monospace;color:#b9cfd3;padding-top:5px}.flight-log-content h2{font-size:20px;font-weight:500;color:#e6e5d8;line-height:1.6}.flight-log-content p{font-size:14px;color:#b9cbd0;line-height:1.95;white-space:pre-wrap;margin:9px 0 13px}.flight-log-content .voyage-detail-actions{display:flex;flex-direction:row;gap:9px;flex-wrap:wrap;margin-top:13px}.flight-log-entry>.voyage-detail-actions{grid-column:2;grid-row:auto;display:flex;flex-direction:row;gap:9px;flex-wrap:wrap}.flight-log .voyage-detail-actions .action-button{font-size:12px;min-height:38px}.flight-log-empty{padding:30px;border:1px dashed #a5bfc457;border-radius:9px;font-size:15px;line-height:1.9;color:#bdd0d4}
#dialogBody p{font-size:14px}#dialogBody label{font-size:13px}#dialogBody input:not([type=checkbox]),#dialogBody textarea,#dialogBody select{font-size:15px;line-height:1.6}#toast{font-size:13px}.scene-dock button{font-size:10px}.station-foot{font-size:10px;line-height:1.7}.main-nav button{font-size:13px}.export-button{font-size:12px}
@media(min-width:1151px){.left-panel{display:flex;flex-direction:column;height:calc(100dvh - 294px);min-height:300px;max-height:calc(100dvh - 275px);padding-top:40px;padding-bottom:15px;min-width:0}.left-panel .section-list{flex:1;min-height:80px;overflow-y:auto;overflow-x:hidden}.left-panel>*{flex-shrink:0}.left-panel .left-note{display:none}.focus-mode .left-panel{display:none}}
@media(min-width:761px) and (max-width:1150px){body:not(.focus-mode) .stage{grid-template-columns:145px minmax(0,1fr) 275px;gap:24px;padding-inline:3%}.left-panel{display:flex;flex-direction:column;height:calc(100dvh - 290px);padding-top:40px;min-height:280px}.left-panel .section-list{flex:1;min-height:80px;overflow-y:auto;overflow-x:hidden}.left-panel>*{flex-shrink:0}.left-panel .left-note,.left-panel .robot-signature{display:none}.focus-mode .left-panel{display:none}.section-item-copy strong{font-size:13px}.section-copy{font-size:14px}.paper-toolbar{font-size:10px;gap:6px}.paper-tools{gap:3px!important}.paper-tools button{width:28px;height:29px}.paper-tools svg{width:14px}.assistant-card{padding-inline:16px}}
@media(min-width:761px) and (max-height:780px){.left-panel{height:calc(100dvh - 244px);max-height:calc(100dvh - 226px);min-height:230px}.left-panel .panel-caption{margin-bottom:9px}.left-panel .import-button{padding-block:7px}.left-panel .scan-button{margin-top:8px}.left-panel .robot-signature{display:none}.paper-scroll{min-height:230px}}
@media(min-width:761px){.focus-mode .section-copy{font-size:16px;line-height:1.9}.focus-mode .section-title-row h4{font-size:16px}.focus-mode .section-title-row time,.focus-mode .section-meta{font-size:13px}.focus-mode .resume-category-heading h3{font-size:15px}.focus-mode .paper-scroll{height:calc(100dvh - 219px)}.focus-mode .resume-section{padding-block:18px}.focus-mode #resumePaper{padding-inline:clamp(32px,4.4vw,74px)}.assistant-card{overscroll-behavior:contain}}
@media(max-width:900px) and (min-width:761px){body:not(.focus-mode) .stage{grid-template-columns:120px minmax(0,1fr) 250px;gap:18px;padding-inline:2%}#resumePaper{padding-inline:22px}.section-item-copy strong{font-size:12px}.section-item-copy small{font-size:10px}.panel-caption{font-size:12px}.scan-button{font-size:11px;padding-inline:5px}.paper-toolbar>div:first-child{max-width:110px}.paper-tools button{width:25px}.assistant-card{padding-inline:13px}.repair-bed{padding-inline:12px}.tool-button{font-size:12px;padding-inline:6px}.flight-log-entry{grid-template-columns:115px minmax(0,1fr)}}
@media(max-width:760px){.left-panel{display:block;padding:0 0 20px;max-width:610px;margin:0 auto}.left-panel .panel-caption{margin-bottom:8px}.left-panel .section-list{max-height:190px;overflow-y:auto;overflow-x:hidden;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;border:1px solid #afc9ce25;border-radius:8px;padding:10px;background:#0d2531b3}.section-group-title{grid-column:1/-1;padding-top:8px}.section-item{min-height:48px;padding-block:8px}.section-item-copy strong{font-size:13px}.left-panel .left-note,.left-panel .robot-signature{display:none}.left-panel .import-button{display:inline-flex;width:55%;font-size:12px}.left-panel .scan-button{display:inline-flex;width:43%;font-size:11px;margin-top:9px;padding-inline:7px}.focus-mode .left-panel{display:none}.paper-toolbar{font-size:11px;height:40px}.paper-tools button{width:31px;height:30px}.paper-tools{gap:3px!important}#resumePaper{padding:26px 23px}.section-copy,.focus-mode .section-copy{font-size:14px;line-height:1.85}.section-title-row{flex-wrap:wrap}.section-title-row h4{font-size:14px}.section-title-row time{font-size:11px}.section-meta{font-size:12px}.resume-category-heading h3{font-size:13px}.repair-bed .draft-textarea,.repair-live-preview{font-size:15px}.repair-fields .form-input{font-size:16px}.inspector-copy{font-size:14px}.inspector-label{font-size:12px}.tool-button,.action-button{font-size:13px}.station-foot{font-size:10px}.scene-dock button{font-size:9px}.flight-log{padding:35px 0 115px}.flight-log-heading h1{font-size:30px}.flight-log-heading p{font-size:14px}.flight-log-list{margin-left:7px;padding-left:20px}.flight-log-entry{display:block;padding:20px 17px}.flight-log-entry:before{left:-25px;top:28px}.flight-log-entry>time{display:block;margin-bottom:10px;font-size:11px}.flight-log-content h2{font-size:18px}.flight-log-content p{font-size:14px}.flight-log-entry>.voyage-detail-actions{margin-top:14px;flex-direction:row}.main-nav button{font-size:12px}}
@media(prefers-reduced-motion:reduce){#spacePhoto{animation:none;will-change:auto;transform:none}.check-item{animation:none}}
/* Allocate the actual remaining viewport instead of guessing a paper height.
   Every long panel owns its scroll; the dock never covers the working surface. */
@media(min-width:761px){
 body[data-view=studio]{display:flex;flex-direction:column;height:100dvh;padding-bottom:82px;box-sizing:border-box}
 body[data-view=studio]>.header{flex:0 0 auto}
 body[data-view=studio]>main{display:flex;flex-direction:column;flex:1;min-height:0}
 body[data-view=studio] .intro{flex:0 0 auto}
 body[data-view=studio] #workspace{display:flex;flex-direction:column;flex:1;min-height:0}
 body[data-view=studio] .workflow-wrap{flex:0 0 auto}
 body[data-view=studio] .stage{flex:1;min-height:0;padding-bottom:0;align-items:stretch}
 body[data-view=studio] .document-station{height:100%;min-height:0;display:flex;flex-direction:column}
 body[data-view=studio] .paper-toolbar{flex:0 0 40px}
 body[data-view=studio] .paper-cradle{flex:1;min-height:0}
 body[data-view=studio] .paper-scroll{height:100%;min-height:0;max-height:none}
 body[data-view=studio] .station-foot{flex:none;padding-top:16px;min-height:33px}
 body[data-view=studio] .left-panel{height:100%;min-height:0;max-height:none;padding-bottom:0}
 body[data-view=studio] .right-panel{display:flex;flex-direction:column;height:100%;min-height:0;padding-top:40px;padding-bottom:33px}
 body[data-view=studio] .assistant-card{flex:1;min-height:0;max-height:none}
 body[data-view=studio] .mission-note{display:none}
 body[data-view=studio].focus-mode .right-panel{display:none}
 body[data-view=studio].focus-mode.focus-editing .right-panel{display:flex}
}
/* Space controls are occasional preferences, not a persistent work toolbar. */
#spaceSettingsButton{position:fixed;right:25px;bottom:20px;z-index:42;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 13px;border:1px solid #9bb9c33b;border-radius:18px;background:#102633d9;color:#b6cbd2;font-size:12px;line-height:1.4;box-shadow:inset 0 1px #d1e5dd0d;cursor:pointer}
#spaceSettingsButton:hover,#spaceSettingsButton[aria-expanded=true]{color:#f0e9d6;border-color:#c4d6cd70;background:#1b3542}
#spaceSettingsButton svg{width:14px;height:14px}
#spaceSettingsButton:focus-visible{outline:2px solid #afc8ce;outline-offset:3px}
#spaceSettingsPanel.scene-dock{left:auto;right:25px;bottom:64px;transform:none;width:370px;max-width:calc(100vw - 40px);display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding:18px;border-radius:12px;background:linear-gradient(125deg,#203945f7,#10232ff7);border:1px solid #a4bec45c;box-shadow:0 18px 44px #0007,inset 0 1px #d2e1d62b;white-space:normal}
#spaceSettingsPanel[hidden]{display:none!important}
#spaceSettingsPanel .dock-label{display:block;width:100%;font-size:11px;letter-spacing:.6px;margin:0 0 3px;color:#c1d1d2}
#spaceSettingsPanel .scene-options{display:flex;flex-wrap:wrap;gap:4px;width:100%}
#spaceSettingsPanel button{font-size:12px;line-height:1.5;min-height:36px;padding:8px 10px;gap:7px}
#spaceSettingsPanel .dock-separator{height:1px;width:100%;margin:4px 0;background:#b2cad226}
#spaceSettingsPanel #motionButton span{display:inline}
#spaceSettingsPanel #focusButton{margin-left:auto}
@media(min-width:761px){body[data-view=studio]{padding-bottom:43px}.focus-mode .stage{padding-top:16px}}
@media(max-width:760px){#spaceSettingsButton{right:17px;bottom:16px;min-height:34px;font-size:12px}#spaceSettingsPanel.scene-dock{right:17px;bottom:59px;width:calc(100vw - 34px);max-width:370px;padding:16px}#spaceSettingsPanel #motionButton,#spaceSettingsPanel #focusButton{font-size:12px;padding-inline:10px}.stage{padding-bottom:75px}.focus-mode .stage{padding-bottom:75px}.voyage,.flight-log{padding-bottom:85px}}
.flight-log-entry>time small{display:block;font:10px/1.8 var(--font);color:#86a7b5;letter-spacing:.3px;margin-top:7px}.flight-log-heading>.action-button{margin-top:18px}
@media(min-width:1151px) and (max-width:1400px){body[data-view=studio]:not(.focus-mode) .stage{grid-template-columns:145px minmax(380px,590px) 305px;gap:39px}}
@media(min-width:1401px) and (max-width:1799px){body[data-view=studio]:not(.focus-mode) .stage{grid-template-columns:165px minmax(440px,660px) 340px;gap:66px}}
@media(min-width:1800px){body[data-view=studio]:not(.focus-mode) .stage{grid-template-columns:185px minmax(540px,750px) 370px;gap:85px}}
@media(max-width:760px){.left-panel .section-list{grid-template-columns:1fr}.left-panel .section-item{align-items:center}.left-panel .section-item-copy strong{font-size:13px}.left-panel .section-item-copy small{font-size:11px}}
/* The document's own tools: one restrained row above the paper. */
.paper-toolbar-context{flex:1;min-width:0;gap:7px!important}.paper-toolbar-context #stageTitle{flex:1;min-width:0}.paper-toolbar-context .paper-indicator{flex:none}.paper-choice-button{flex:none;white-space:nowrap;min-height:29px;padding:5px 9px;border:1px solid #b2c8ce42;border-radius:5px;background:#15303cd9;color:#d3e1df;font-size:11px;line-height:1.5;letter-spacing:.1px}.paper-choice-button:hover{background:#2b4651;border-color:#c9d9d094;color:#f8edd7}.paper-choice-button:focus-visible{outline:2px solid #cfdfd5;outline-offset:3px}#resumeThemeButton:before{content:'◧';font-size:11px;margin-right:6px;color:#b6d5ce}#resumeSampleButton:before{content:'＋';margin-right:4px;color:#b6d5ce}
#generalDialog:has(.theme-picker-grid),#generalDialog:has(.sample-picker-grid){width:790px;padding:28px 30px 30px;background:linear-gradient(140deg,#263d49,#102631 70%);border-color:#b1c7ca70}#generalDialog:has(.theme-picker-grid) .dialog-head,#generalDialog:has(.sample-picker-grid) .dialog-head{margin-bottom:12px}#generalDialog:has(.theme-picker-grid) .dialog-head h2,#generalDialog:has(.sample-picker-grid) .dialog-head h2{font-size:26px;letter-spacing:.5px}.theme-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:21px 0 19px}.theme-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;text-align:left;padding:12px 12px 13px;border:1px solid #8eafb646;border-radius:9px;background:#0b202943;color:#e0e9e5;transition:border-color .16s,background .16s}.theme-choice:hover{border-color:#bdd3ceba;background:#31505b66}.theme-choice[aria-pressed=true]{border-color:#e1d0a5;background:#c6b98e0c;box-shadow:inset 0 0 0 1px #e1d0a533}.theme-choice[aria-pressed=true]:after{content:'✓';position:absolute;right:20px;top:20px;width:20px;height:20px;display:grid;place-items:center;background:#f1e8ce;color:#28434b;border:1px solid #ffffff8c;border-radius:50%;font-size:11px;box-shadow:0 2px 7px #0002}.theme-choice:focus-visible,.sample-choice:focus-visible{outline:2px solid #bdd5db;outline-offset:3px}.theme-choice>strong{display:block;font-size:14px;line-height:1.5;font-weight:500;letter-spacing:.25px;margin:12px 0 5px}.theme-choice>small{font-size:11px;line-height:1.65;color:#a4c0c9;min-height:36px}.theme-mini{position:relative;display:block;width:100%;height:142px;padding:17px 16px;background:#f5f6f0;color:var(--theme-accent,#244752);border-radius:2px;box-shadow:0 5px 13px #0003;overflow:hidden}.theme-mini b,.theme-mini i{display:block;background:currentColor;opacity:.64;height:3px;width:68%;border-radius:1px}.theme-mini>b{height:9px;width:42%;opacity:1;margin-bottom:8px}.theme-mini>i{height:2px;width:56%;opacity:.3;margin-top:5px}.theme-mini>i+i{width:72%}.theme-mini em{display:block;border-top:1px solid currentColor;padding-top:7px;margin-top:12px;opacity:.7}.theme-mini em i{height:2px;width:93%;margin:5px 0;opacity:.35}.theme-mini em i:first-child{width:46%;height:3px;margin-top:0;opacity:.8}.theme-mini em i:last-child{width:76%}.theme-mini[data-theme=editorial]>b{height:10px;width:50%;border-radius:2px 2px 0 0}.theme-mini[data-theme=atlas]{padding-top:18px;background:linear-gradient(var(--theme-accent) 0 49px,#f5f7f5 49px)}.theme-mini[data-theme=atlas]>b,.theme-mini[data-theme=atlas]>i{background:#fff;opacity:.83}.theme-mini[data-theme=atlas]>i+i{opacity:.43}.theme-mini[data-theme=atlas] em{margin-top:17px}.theme-mini[data-theme=atlas] em+em{margin-top:11px}.theme-mini[data-theme=ivory]{background:#f5efe3;padding-top:20px}.theme-mini[data-theme=ivory]>b{width:58%;height:11px}.theme-mini[data-theme=ivory] em{border-top:1px solid #b9a990}.theme-mini[data-theme=verdant]{padding-left:27px;background:linear-gradient(90deg,#dce7e0 0 13px,#f7f8f3 13px)}.theme-mini[data-theme=verdant]>b{height:8px;width:49%}.theme-mini[data-theme=verdant] em{border-top:2px solid #bad0c4}.theme-mini[data-theme=precise]{background:linear-gradient(90deg,#f7f8f4 66%,#e8eeeb 66%);padding-right:43%;padding-left:13px}.theme-mini[data-theme=precise]>b{width:80%;height:8px}.theme-mini[data-theme=precise]>i{width:100%}.theme-mini[data-theme=precise] em{border-top-style:dashed}.theme-mini[data-theme=precise]:after{content:'';position:absolute;right:10%;top:20px;width:17%;height:64%;border-top:5px solid var(--theme-accent);border-bottom:2px solid var(--theme-accent);opacity:.4}.theme-mini[data-theme=graphite]{padding-left:42%;background:linear-gradient(90deg,var(--theme-accent) 32%,#f4f5f2 32%)}.theme-mini[data-theme=graphite]>b{height:8px;width:75%}.theme-mini[data-theme=graphite]:before{content:'';position:absolute;left:10%;top:20px;width:12%;height:16px;background:#f2f3edb3;box-shadow:0 32px 0 -5px #f2f3ed99,0 43px 0 -5px #f2f3ed77}
.sample-controls{display:flex;justify-content:flex-end;margin:-1px 0 14px}.sample-controls .form-label{display:flex!important;align-items:center;gap:10px;margin:0!important;font-size:12px!important}.sample-controls select{width:132px!important;margin:0!important;min-height:35px;padding:5px 9px;background:#102a36;color:#c9dedf;border:1px solid #a6bdc74d;border-radius:5px;font-size:12px!important}.sample-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:18px}.sample-choice{display:block;text-align:left;padding:13px 14px;min-height:78px;border:1px solid #a8c4c33d;border-radius:6px;background:#0b222c61;line-height:1.6;transition:background .16s,border-color .16s}.sample-choice>strong{display:block;font-size:13px;font-weight:500;color:#d9e5e1}.sample-choice>small{display:block;font-size:11px;line-height:1.6;color:#99b7c3;margin-top:5px}.sample-choice:hover{background:#31505b66;border-color:#b0cac6a3}.sample-choice[aria-pressed=true]{background:#bcd4c91a;border-color:#c3d9cdb5;box-shadow:inset 3px 0 #c3d9cd}.sample-preview:not(.picker-paper-scroll){padding:22px 25px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9ab5b57a transparent;border-radius:7px;border:1px solid #a7c3c741;background:linear-gradient(130deg,#edf1e8,#dfe9e3);color:#2f4b56;box-shadow:inset 0 1px #ffffffb3,0 4px 12px #0002}.sample-preview:not(.picker-paper-scroll) h3{font:500 19px/1.6 var(--font);color:#254651;margin:0 0 7px}.sample-preview:not(.picker-paper-scroll) h4{font-size:14px;font-weight:600;line-height:1.7;margin:16px 0 6px;color:#3b626b}.sample-preview:not(.picker-paper-scroll) p{font-size:13px!important;line-height:1.85!important;color:#4c6871!important;white-space:pre-wrap;margin:0 0 10px!important}.sample-preview:not(.picker-paper-scroll) p:last-child{margin-bottom:0!important}.sample-preview:not(.picker-paper-scroll) ul{padding-left:18px;font-size:13px;line-height:1.9;color:#4c6871}.sample-disclaimer{font-size:12px!important;line-height:1.8!important;color:#a5bdc5!important;margin:14px 0 2px!important;padding-left:11px;border-left:2px solid #c6d8cb50}
@media(max-width:1150px){.paper-toolbar-context #stageTitle,.paper-toolbar-context>.paper-indicator{display:none}.paper-toolbar-context{gap:5px!important}.paper-choice-button{font-size:10px;padding-inline:7px}}
@media(max-width:760px){.paper-toolbar{gap:7px;padding-inline:1px}.paper-toolbar-context{gap:4px!important}.paper-choice-button{font-size:10px;min-height:30px;padding:5px 6px}#resumeThemeButton:before{margin-right:4px}#resumeSampleButton:before{margin-right:2px}.paper-tools{gap:3px!important}.paper-tools button{width:28px}.paper-tools>span{display:none}#generalDialog:has(.theme-picker-grid),#generalDialog:has(.sample-picker-grid){padding:22px 18px;width:calc(100vw - 24px);max-width:calc(100vw - 24px)}#generalDialog:has(.theme-picker-grid) .dialog-head h2,#generalDialog:has(.sample-picker-grid) .dialog-head h2{font-size:21px}.theme-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.theme-choice{padding:9px}.theme-choice>strong{font-size:12px;margin-top:9px}.theme-choice>small{font-size:10px;min-height:0}.theme-mini{height:115px;padding:13px 11px}.theme-mini>b{height:7px;margin-bottom:6px}.theme-mini em{margin-top:9px;padding-top:5px}.theme-mini em i{margin-block:4px}.theme-choice[aria-pressed=true]:after{right:15px;top:15px;width:17px;height:17px;font-size:10px}.sample-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sample-choice{padding:10px 11px;min-height:74px}.sample-choice>strong{font-size:12px}.sample-choice>small{font-size:10px}.sample-preview:not(.picker-paper-scroll){padding:18px;max-height:280px}.sample-preview:not(.picker-paper-scroll) h3{font-size:17px}.sample-preview:not(.picker-paper-scroll) p{font-size:12px!important}.sample-controls{justify-content:flex-start}.sample-controls select{font-size:16px!important;min-height:39px}.sample-disclaimer{font-size:11px!important}}
/* Miniatures mirror the six actual document layouts. */
.theme-mini[data-theme=editorial] em{position:relative;border-top:0;padding-left:26%}.theme-mini[data-theme=editorial] em:before{content:'';position:absolute;left:0;top:7px;width:18%;height:3px;background:currentColor;opacity:.6}.theme-mini[data-theme=editorial]>i+i{width:100%;height:1px;margin-top:9px}
.theme-mini[data-theme=ivory]>b,.theme-mini[data-theme=ivory]>i{margin-left:auto;margin-right:auto}.theme-mini[data-theme=ivory]>i+i{width:28%;height:2px;background:#b8a887;margin-top:9px}.theme-mini[data-theme=ivory] em{margin-top:9px}
.theme-mini[data-theme=verdant]{padding-left:16px;background-color:#f7f8f3;background-image:linear-gradient(90deg,#ddeae1 31%,transparent 31%);background-size:100% 60%;background-position:left bottom;background-repeat:no-repeat}.theme-mini[data-theme=verdant] em{margin-left:32%;border-top:1px solid #9cb8aa}.theme-mini[data-theme=verdant]>i+i{width:100%;height:2px;background:var(--theme-accent);opacity:.6;margin-top:8px}
.theme-mini[data-theme=precise]{padding-right:16px;background:#fafbf9}.theme-mini[data-theme=precise]>b{width:58%;height:9px}.theme-mini[data-theme=precise]>i{width:67%}.theme-mini[data-theme=precise]>i+i{width:100%;height:2px;opacity:.8;margin-top:8px}.theme-mini[data-theme=precise] em{border-top-style:solid;margin-top:9px}.theme-mini[data-theme=precise]:after{display:none}
.theme-mini[data-theme=graphite]{padding-left:20px;background:#f5f7f7}.theme-mini[data-theme=graphite]>b{margin-left:6px;width:55%;height:8px}.theme-mini[data-theme=graphite]>i{margin-left:6px}.theme-mini[data-theme=graphite]:before{left:12px;top:14px;width:3px;height:31px;background:var(--theme-accent);box-shadow:20px 0 0 0 transparent}.theme-mini[data-theme=graphite] em{position:relative;border-top:0;border-left:1px solid #91a5ae;padding-top:0;padding-left:10px;margin-top:14px}.theme-mini[data-theme=graphite] em:before{content:'';position:absolute;left:-3px;top:1px;width:5px;height:5px;border-radius:50%;background:var(--theme-accent)}
#resumeThemeButton{max-width:190px;overflow:hidden;text-overflow:ellipsis}.sample-preview:not(.picker-paper-scroll)>small{display:block;font-size:11px;line-height:1.8;color:#6b8288;margin-top:12px}
@media(max-width:1150px){#resumeThemeButton{max-width:135px}}
@media(max-width:760px){#resumeThemeButton{max-width:125px}}

/* R8: a clear material index, a physical diagnostic console and two real spaces. */
.left-panel .section-list{display:flex;flex-direction:column;justify-content:flex-start;gap:0;align-content:start;padding-right:5px;scrollbar-gutter:stable;overscroll-behavior:contain}
.section-nav-group{flex:0 0 auto;min-width:0;padding:0 0 8px}
.section-nav-group+.section-nav-group{margin-top:6px}
.section-nav-group .section-group-title{padding:9px 4px 7px;font-size:11px;color:#d5ddd7;letter-spacing:.6px;line-height:1.6}
.section-list .section-item{display:grid;grid-template-columns:18px minmax(0,1fr) 12px;align-items:center;gap:7px;width:100%;min-height:52px;height:auto;margin:0;padding:8px 5px;flex:0 0 auto;border-bottom-color:#c9dde116}
.section-list .section-item .section-index,.section-list .section-item .section-state{padding-top:0;font-size:10px;margin:0;align-self:center}
.section-list .section-item-copy{display:block;min-width:0;width:100%;line-height:1.4}
.section-list .section-item-copy strong,.section-list .section-item-copy small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
.section-list .section-item-copy strong{font-size:13px;font-weight:500;line-height:1.5}
.section-list .section-item-copy small{font-size:10px;margin-top:4px;line-height:1.4;color:#a6bdc6}
.section-add{width:100%;flex:0 0 auto;padding:12px 6px;margin-top:6px;border:1px dashed #9bb6bf55;border-radius:5px;text-align:left;color:#cadbdc;font-size:12px}
.section-add:hover{background:#adc9ce12;border-color:#bdd4d88c}
.section-drag-handle{display:inline-flex;align-items:center;justify-content:center;cursor:grab;color:#91a5ac;font-size:16px;padding:2px 6px;touch-action:none;user-select:none}
.section-drag-handle:active{cursor:grabbing}
.resume-category.drop-target{outline:2px dashed #769eb3;outline-offset:5px;background:#c2dbe528;border-radius:3px}
.paper-toolbar-context{max-width:none!important}
#resumePreviewButton{font-size:11px;min-width:54px}
.paper-tools .exit-immersion{display:none;width:auto;white-space:nowrap;gap:5px;font-size:11px;border:1px solid #c8d8d04d;padding:5px 8px;height:30px;background:#132b37dd;color:#e5e5d6}
.focus-mode .paper-tools .exit-immersion{display:inline-flex}
.focus-mode #paperFocus{display:none}
.focus-mode>.header{display:none!important}
.focus-mode .paper-toolbar-context #stageTitle{display:none}
.focus-mode .paper-toolbar-context>.paper-indicator{display:none}
.focus-mode .paper-cradle:after{bottom:-15px}
.scan-console{position:relative;flex:0 0 auto;margin-top:14px;padding:12px 15px 11px;min-height:91px;border:1px solid #9fb6c278;border-top-color:#cfdfdfb0;border-radius:9px;background:linear-gradient(127deg,#445c69 0,#253d4b 3%,#132734 49%,#243b4a 94%,#6a818b 100%);box-shadow:inset 0 1px #e2efed70,inset 0 0 0 4px #0b1a274f,0 5px 17px #0005;isolation:isolate}
.scan-console:before,.scan-console:after{content:'';position:absolute;top:8px;width:3px;height:3px;border-radius:50%;background:#a9bec5;box-shadow:0 1px 1px #000a}
.scan-console:before{left:7px}.scan-console:after{right:7px}
.scan-console-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;font:7px/1.5 ui-monospace,monospace;letter-spacing:1.2px;color:#afc8d2}
.scan-console-caption>span:first-child{display:flex;align-items:center;gap:6px}
.scan-console-caption i{height:4px;width:4px;border-radius:50%;background:#a2d7d7;box-shadow:0 0 7px #8de2e865}
.scan-console-state{font-size:7px;color:#b4cec9;letter-spacing:.8px}
.scan-console .scan-button{display:flex;justify-content:center;align-items:center;gap:9px;margin:6px 0 0;width:100%;min-height:33px;padding:4px 8px;border:0;border-radius:3px;background:linear-gradient(90deg,#e7ded716,#c6e4ec08);font-size:15px;font-weight:550;letter-spacing:1px;color:#e9f0ed;box-shadow:inset 0 0 0 1px #bdd4dc24}
.scan-console .scan-button>span{margin:0!important;font-size:20px;line-height:1;color:#bedbe2}
.scan-console .scan-button:hover{background:#c8e4e91d;box-shadow:inset 0 0 0 1px #d8e9e962}
.scan-console-track{display:flex;align-items:center;gap:3px;width:48px;margin:8px auto 0;height:2px}
.scan-console-track span{display:block;width:3px;flex:1;height:2px;background:#9cc8d2;opacity:.2}
.scan-console-track span:nth-child(-n+3){opacity:.8}
.scan-console[data-active=true] .scan-console-track span{animation:consoleSweep 1s ease-in-out infinite;animation-delay:calc(var(--i,0)*.08s)}
.scan-console[data-active=true] .scan-console-track span:nth-child(2n){--i:2}.scan-console[data-active=true] .scan-console-track span:nth-child(3n){--i:4}
@keyframes consoleSweep{50%{opacity:1}0%,100%{opacity:.2}}
.space-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
#spaceSettingsPanel .space-theme-options button{justify-content:flex-start;text-align:left;padding:10px;border-radius:6px;border:1px solid #a5c5d32b;background:#07172433;gap:9px}
#spaceSettingsPanel .space-theme-options button[aria-pressed=true]{border-color:#c7dad7a8;background:#b9d5d415}
.space-theme-options button small{display:block;font-size:10px;color:#8facba;line-height:1.5;margin-top:3px}
.space-theme-orb{width:23px;height:23px;border-radius:50%;flex:none;border:1px solid #aacada70;box-shadow:inset -6px -3px 8px #020a1ca3}
.space-theme-orb.earth{background:radial-gradient(ellipse at 35% 25%,#c1dbe2 0 9%,#6e9ea9 24%,#366b83 47%,#0d354c 70%)}
.space-theme-orb.starship{background:radial-gradient(circle at 34% 35%,#cbd7ff 0 3%,transparent 8%),radial-gradient(circle at 65% 70%,#9aaeff 0 2%,transparent 7%),linear-gradient(135deg,#727eb0,#1b2d66 54%,#090e2d);border-color:#8d9ee5;box-shadow:0 0 7px #6e8cff33,inset -5px -2px 9px #030918}
body[data-space-theme=starship]{--line:#b8c7f13a;--accent:#d2daff}
body[data-space-theme=starship] #spacePhoto{opacity:0;animation:none;will-change:auto}
body[data-space-theme=starship] .world-shade{background:linear-gradient(90deg,#0206154d,transparent 45%,#02061530),linear-gradient(0deg,#03081770,transparent 60%,#03081920)}
body[data-space-theme=starship] .paper-cradle{background:linear-gradient(112deg,#b7c8de,#314064 5%,#8eabcf 8%,#152345 46%,#c3d1ec 97%,#567394);border-color:#adceff;box-shadow:0 22px 45px #02050da6,inset 0 1px #f8faff,0 0 0 4px #162541,0 0 0 5px #7199e5,0 0 17px #668bff3b}
body[data-space-theme=starship] .cradle-corner{border-color:#e4eeff;box-shadow:0 0 8px #7aa7ff9c,2px 3px 4px #09132177;background:linear-gradient(90deg,#2a3b5c,#aac1e5 46%,#e8f2ff 54%,#667fa9)}
body[data-space-theme=starship] .assistant-card{background:linear-gradient(128deg,#2b3957f7,#14223af7 45%,#0c1830f7);border-color:#a4bfffad;border-top-color:#e0eaff;box-shadow:inset 0 1px #e1e7ff77,0 0 0 3px #101c33,0 0 0 4px #577fca70,0 0 20px #6d92ff24,0 18px 30px #01070c88}
body[data-space-theme=starship] .scan-console{background:linear-gradient(127deg,#7185ba 0,#283c67 3%,#14223e 49%,#253d6b 94%,#8097c5 100%);border-color:#b3cfff;box-shadow:inset 0 1px #ecf2ffbb,inset 0 0 0 4px #0a163760,0 0 0 2px #0c1a36,0 0 0 3px #7c9fe778,0 0 17px #5d84ff3b}
body[data-space-theme=starship] .scan-console .scan-button{color:#eef3ff;background:linear-gradient(100deg,#8b9fff22,#99bfff0d);box-shadow:inset 0 0 0 1px #9ab7fa54}
body[data-space-theme=starship] .scan-console-track span{background:#bed2ff}
body[data-space-theme=starship] .section-item.active{color:#e5eaff;background:linear-gradient(90deg,#7996df2e,#7996df04);border-color:#b2c9ff92;box-shadow:inset 2px 0 #9cbfff}
body[data-space-theme=starship] .paper-choice-button{background:#15284ce8;border-color:#a6bce16e;color:#e0e9ff}
body[data-space-theme=starship] .header{border-bottom-color:#c5d2ff29}
body[data-space-theme=starship] #spaceSettingsButton{background:#10213be6;border-color:#7e9ac96b}
body[data-space-theme=starship] .photo-credit{visibility:hidden}
body[data-space-theme=starship] .flight-log-entry,body[data-space-theme=starship] .voyage-detail{background:linear-gradient(120deg,#203453ed,#101e36ed);border-color:#97b8ec46}
body.power-arriving .paper-cradle,body.power-arriving .assistant-card,body.power-arriving .scan-console{animation:powerArrives .7s ease-out both}
@keyframes powerArrives{0%{filter:brightness(.78)}32%{filter:brightness(1.17)}100%{filter:brightness(1)}}
.picker-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 15px}.picker-controls input{min-width:0;flex:1}.picker-controls select{flex:0 1 170px;width:auto!important}.sample-controls{flex-wrap:wrap;justify-content:space-between;gap:12px}.sample-controls input{flex:1;min-width:130px;margin:0!important}
#generalDialog:has(.theme-picker-grid),#generalDialog:has(.sample-picker-grid){max-height:90dvh;scrollbar-gutter:stable}
.theme-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.sample-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:260px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}
@media(min-width:761px){
 body[data-view=studio].focus-mode{padding-top:18px;padding-bottom:34px}
 body[data-view=studio].focus-mode .stage{grid-template-columns:minmax(460px,1000px);padding:0 5.3%;gap:80px}
 body[data-view=studio].focus-mode.focus-editing .stage{grid-template-columns:minmax(460px,980px) 350px;gap:80px;padding-inline:5.3%}
 body[data-view=studio].focus-mode .paper-toolbar{flex-basis:43px}
 body[data-view=studio].focus-mode .right-panel{padding-top:43px;padding-bottom:25px}
 body[data-view=studio].focus-mode .station-foot{padding-top:12px;min-height:25px}
 body[data-view=studio] .assistant-card{flex:1 1 0}
 body[data-view=studio] .scan-console{flex:0 0 auto}
 body[data-view=studio].focus-mode #resumePaper{padding-inline:clamp(35px,4.6vw,82px)}
}
@media(min-width:761px) and (max-width:1150px){body[data-view=studio].focus-mode.focus-editing .stage{grid-template-columns:minmax(0,1fr) 290px;gap:52px;padding-inline:4%}.paper-choice-button{font-size:10px}#resumeThemeButton{max-width:115px}.paper-tools button{width:25px}.paper-tools>span{display:none}.paper-toolbar{gap:5px}.paper-toolbar-context{gap:4px!important}}
@media(min-width:761px) and (max-height:780px){.scan-console{min-height:69px;padding-block:8px}.scan-console-track{margin-top:5px}.scan-console .scan-button{min-height:27px;font-size:13px}.scan-console-caption{font-size:6px}.scan-console{margin-top:10px}}
@media(max-width:760px){
 .left-panel .section-list{display:flex;max-height:210px;padding:9px 12px;gap:0}.section-nav-group{padding-bottom:6px}.section-list .section-item{min-height:48px}.section-list .section-group-title{padding-top:5px}.left-panel .import-button{width:100%;padding:10px 6px}
 .paper-toolbar{height:auto;min-height:40px;align-items:center;gap:4px}.paper-toolbar-context{flex-wrap:wrap;gap:4px!important}.paper-choice-button{font-size:10px;padding-inline:6px;min-height:29px}#resumeThemeButton{max-width:109px}#resumeSampleButton{max-width:75px;overflow:hidden;text-overflow:ellipsis}#resumePreviewButton{min-width:0;font-size:10px;padding-inline:5px}.paper-tools{flex:none;gap:2px!important}.paper-tools button{width:25px;height:29px}.paper-tools .exit-immersion{font-size:10px;padding-inline:5px}.exit-immersion span{display:none}
 .scan-console{margin:15px 0 0;min-height:85px}.scan-console .scan-button{font-size:15px}.focus-mode .stage{padding:8px 14px 65px}.focus-mode .paper-scroll{height:calc(100dvh - 130px);max-height:none;min-height:300px}.focus-mode .document-station{max-width:none}.focus-mode .right-panel{padding-top:20px}.focus-mode .edition{display:none}
 .theme-picker-grid,.sample-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sample-picker-grid{max-height:230px}.picker-controls{gap:7px}.picker-controls input,.picker-controls select,.sample-controls input{font-size:16px!important}.sample-controls{gap:8px}.sample-controls .form-label{width:100%;justify-content:space-between}.sample-controls input{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){body.power-arriving .paper-cradle,body.power-arriving .assistant-card,body.power-arriving .scan-console,.scan-console[data-active=true] .scan-console-track span{animation:none}}

/* Editing affordances stay outside the document's reading flow. */
.section-drag-handle{position:absolute;top:13px;left:-8px;z-index:2;width:18px;height:25px;padding:2px;opacity:.38;line-height:1;color:#6e8791;border-radius:3px;background:#f1f5efc9}
.resume-section:hover .section-drag-handle,.section-drag-handle:focus-visible{opacity:1;background:#dce9e9}
.section-group-title{display:flex;align-items:center;justify-content:space-between;gap:9px}
.section-group-title span:last-child{font:9px/1.6 ui-monospace,monospace;color:#a8bdc5;padding:1px 5px;border:1px solid #aec5cb24;border-radius:3px}
.repair-bed #sectionCategory{display:block;width:100%;margin-top:5px;min-height:38px;padding:8px 9px;background:#fffdf7;color:#294956;border:1px solid #9eb9c0a6;border-radius:4px;font-size:14px;line-height:1.5;color-scheme:light}
.repair-bed label:has(#sectionCategory){display:block;font-size:12px;color:#627b86;margin-bottom:15px}
.space-theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#spaceSettingsPanel.scene-dock{width:440px}
#spaceSettingsPanel .space-theme-options button{flex-direction:column;align-items:flex-start;gap:8px;padding:11px 10px;min-width:0;font-size:12px}
.space-theme-options button small{font-size:9px;white-space:normal;letter-spacing:-.1px;min-height:27px;line-height:1.5}
.space-theme-orb.lunar{background:radial-gradient(circle at 31% 39%,#87939e 0 12%,transparent 14%),radial-gradient(circle at 63% 64%,#9cabb7 0 8%,transparent 10%),radial-gradient(circle at 30% 20%,#eee9df,#b9c3cc 50%,#526b83 85%);border-color:#d5e0df;box-shadow:inset -5px -2px 9px #22364c,0 0 5px #c4e0e532}
body[data-space-theme=lunar]{--line:#ccd7dc38;--accent:#e9e4d4}
body[data-space-theme=lunar] #spacePhoto{opacity:0;animation:none;will-change:auto}
body[data-space-theme=lunar] .world-shade{background:linear-gradient(90deg,#060e1b38,transparent 46%,#07112127),linear-gradient(0deg,#0a142d66,transparent 58%,#040b153d)}
body[data-space-theme=lunar] .paper-cradle{border-color:#d6e3ea;background:linear-gradient(112deg,#c7d6dc,#4e6274 5%,#a8becb 8%,#22374b 46%,#e4e9e3 97%,#879bac);box-shadow:0 22px 45px #02070da6,inset 0 1px #ffffffe0,0 0 0 4px #26394e,0 0 0 5px #c7dbe477,0 0 16px #c1d7e12e}
body[data-space-theme=lunar] .cradle-corner{border-color:#eff7f3;background:linear-gradient(90deg,#475e6e,#c7d5dc 46%,#f3f5ec 54%,#8ca4b4);box-shadow:0 0 7px #bfdfe568,2px 3px 4px #09132177}
body[data-space-theme=lunar] .assistant-card{background:linear-gradient(128deg,#41556cf5,#21374cf5 45%,#182c41f5);border-color:#c3dbe0a3;border-top-color:#f1eee0;box-shadow:inset 0 1px #eff4ec7d,0 0 0 3px #17273980,0 18px 30px #01070c88}
body[data-space-theme=lunar] .scan-console{background:linear-gradient(127deg,#c1cdd5 0,#536b7c 3%,#253b51 49%,#405c71 94%,#bcccd4 100%);border-color:#c7dde2;box-shadow:inset 0 1px #fcf9e6,inset 0 0 0 4px #0b1a274f,0 0 12px #b7d4df2e,0 5px 17px #0005}
body[data-space-theme=lunar] .paper-choice-button{background:#263e52e8;border-color:#bdcfd171;color:#edf0e5}
body[data-space-theme=lunar] .photo-credit{visibility:hidden}
body[data-space-theme=lunar] #spaceSettingsButton{background:#253d50e6;border-color:#c1d7dd59}
@media(max-width:760px){#spaceSettingsPanel.scene-dock{width:calc(100vw - 34px)}#spaceSettingsPanel .space-theme-options button{font-size:11px;padding:10px 7px}.space-theme-options button small{font-size:8px}.section-drag-handle{display:none}.repair-bed #sectionCategory{font-size:16px}}

.environment-photo{position:fixed;pointer-events:none;z-index:0;opacity:0;visibility:hidden;transition:opacity .3s ease;object-fit:cover}
#lunarSurfacePhoto{inset:0;width:100%;height:100%;object-position:center 54%;background:#02060c}
#lunarEarthPhoto{width:clamp(88px,8.2vw,140px);height:auto;right:17%;top:14%;object-fit:contain;mix-blend-mode:screen;clip-path:circle(48% at 50% 50%)}
#galaxyPhoto{inset:0;width:100%;height:100%;object-position:center;transform:translate3d(0,-15%,0) scale(1.25) rotate(-15deg);transform-origin:center}
body[data-space-theme=lunar] #lunarSurfacePhoto[data-loaded=true],body[data-space-theme=lunar] #lunarEarthPhoto[data-loaded=true],body[data-space-theme=starship] #galaxyPhoto[data-loaded=true]{opacity:1;visibility:visible}
.space-photo-credit{display:none;position:fixed;bottom:7px;left:4.2%;z-index:6;max-width:calc(100vw - 180px);font:10px/1.35 var(--font);letter-spacing:.2px;color:#afc4d2}
.space-photo-credit a{text-decoration:none;text-underline-offset:2px}.space-photo-credit a:hover{text-decoration:underline;color:#fff}
.space-photo-credit span{font-size:9px;color:#91a8bb}
body[data-space-theme=lunar] .lunar-credit,body[data-space-theme=starship] .galaxy-credit{display:block}
body[data-space-theme=lunar].focus-mode #lunarEarthPhoto{right:3%;top:11%;width:clamp(75px,6.2vw,110px)}
@media(max-width:760px){#lunarSurfacePhoto{object-position:center 55%}#lunarEarthPhoto{right:13%;top:18%;width:78px}#galaxyPhoto{transform:scale(1.12) rotate(-12deg);object-position:59% center}.space-photo-credit{left:14px;bottom:6px;font-size:10px;max-width:calc(100vw - 140px)}.space-photo-credit span{font-size:8px}.focus-mode .space-photo-credit{max-width:calc(100vw - 130px)}body[data-space-theme=lunar].focus-mode #lunarEarthPhoto{right:3%;top:11%;width:65px}}
@media(prefers-reduced-motion:reduce){.environment-photo{transition:none}}

/* R9: a quiet catalogue beside a full, readable document. The controls and
   actions stay in place; the directory and paper have independent scroll. */
#generalDialog:has(.picker-shell){width:min(1220px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:min(900px,92dvh);max-height:92dvh;padding:25px 28px 22px;overflow:hidden;scrollbar-gutter:auto;background:linear-gradient(125deg,#1e3541,#102631 74%);border-color:#b3cbc76b;box-shadow:0 28px 80px #0007}
#generalDialog:has(.picker-shell)[open]{display:flex;flex-direction:column}
#generalDialog:has(.picker-shell) .dialog-head{flex:0 0 auto;margin:0 0 9px;gap:20px;align-items:flex-start}
#generalDialog:has(.picker-shell) .dialog-head h2{font-size:25px;line-height:1.4;letter-spacing:.4px;margin:0}
#generalDialog:has(.picker-shell) .dialog-head button{flex:none;min-width:32px;min-height:32px;font-size:21px;line-height:1;align-self:flex-start}
#generalDialog:has(.picker-shell) #dialogBody{display:flex;flex:1 1 0;min-height:0;min-width:0;flex-direction:column;overflow:hidden}
#generalDialog:has(.picker-shell) #dialogBody .picker-shell>.dialog-copy{flex:0 0 auto;margin:0 0 18px;font-size:13px;line-height:1.7;color:#a6bec7}
.picker-shell{display:flex;flex:1 1 0;min-height:0;min-width:0;flex-direction:column;gap:14px;overflow:hidden}
.picker-shell .picker-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px);align-items:end;gap:14px;margin:0;flex:none}
.picker-shell .sample-controls{grid-template-columns:minmax(0,1fr) 210px 160px}
#dialogBody .picker-shell .picker-controls .form-label{display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-end;gap:6px!important;width:auto;min-width:0;margin:0!important;color:#a9c1ca;font-size:12px!important;line-height:1.5}
#dialogBody .picker-shell .picker-controls :is(input:not([type=color]),select){display:block;box-sizing:border-box;flex:none;width:100%!important;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0!important;padding:10px 12px;border:1px solid #adc3ca47;border-radius:7px;background:#0d222ee0;color:#e3edec;font-family:var(--font);font-size:14px!important;font-weight:400;line-height:22px;box-shadow:inset 0 1px 3px #0000000d;color-scheme:dark;outline-offset:3px}
#dialogBody .picker-shell .picker-controls select{padding-right:30px}
#dialogBody .picker-shell .picker-controls input::placeholder{color:#88a2ae;opacity:1}
#dialogBody .picker-shell .picker-controls :is(input,select):focus-visible{outline:2px solid #bfd7d4;border-color:#c5ded8}
.picker-workspace{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);flex:1 1 0;min-height:0;gap:20px;overflow:hidden}
.picker-library{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.picker-library-header,.picker-library-heading,.picker-result-count,.picker-count{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px;margin-bottom:9px;color:#8eaab7;font-size:11px;line-height:1.5}
#dialogBody .picker-shell .picker-result-count,#dialogBody .picker-shell .picker-count{margin:0 0 9px;font-size:11px;line-height:1.5}
.picker-library .theme-picker-grid,.picker-library .sample-picker-grid{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8eaeb65c transparent;scrollbar-gutter:stable;gap:8px;margin:0;padding:2px 8px 4px 2px}
.picker-library .sample-choice{min-height:83px;padding:13px 14px;border-radius:7px;background:#0c222d88;border-color:#a6bec52d}
.picker-library .sample-choice>strong{font-size:14px;line-height:1.55;font-weight:500;color:#e3ece9}
.picker-library .sample-choice>small{font-size:12px;line-height:1.6;margin-top:5px;color:#92aeb9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.picker-library .sample-choice[aria-pressed=true]{background:#b6d5cb16;border-color:#c3d9cda3;box-shadow:inset 3px 0 #c3d9cd}
.picker-library .theme-choice{display:grid;grid-template-columns:62px minmax(0,1fr);grid-template-rows:auto auto;gap:0 13px;align-content:center;padding:11px;min-height:106px;border-radius:7px}
.picker-library .theme-choice .theme-mini{grid-column:1;grid-row:1/span 2;width:62px;height:82px;padding:11px 8px;align-self:center;box-shadow:0 3px 8px #0003}
.picker-library .theme-choice>strong{grid-column:2;align-self:end;font-size:13px;line-height:1.5;margin:0 0 5px;padding-right:12px}
.picker-library .theme-choice>small{grid-column:2;align-self:start;font-size:11px;line-height:1.55;min-height:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.picker-library .theme-choice[aria-pressed=true]:after{right:9px;top:8px;width:15px;height:15px;font-size:9px;box-shadow:none}
.picker-library .theme-mini>b{height:6px;margin-bottom:4px}.picker-library .theme-mini>i{height:1px;margin-top:3px}.picker-library .theme-mini em{margin-top:7px;padding-top:4px}.picker-library .theme-mini em i{height:1px;margin:3px 0}.picker-library .theme-mini em i:first-child{height:2px}.picker-library .theme-mini em+em{margin-top:6px}
.picker-library .theme-mini[data-theme=atlas]{background:linear-gradient(var(--theme-accent) 0 29px,#f5f7f5 29px)}
.picker-library .theme-mini[data-theme=atlas] em{margin-top:11px}.picker-library .theme-mini[data-theme=graphite]{padding-left:24px}.picker-library .theme-mini[data-theme=precise]{padding-right:24px}.picker-library .theme-mini[data-theme=verdant]{padding-left:13px;background:linear-gradient(90deg,#dce7e0 0 7px,#f7f8f3 7px)}
.picker-preview-pane{display:flex;flex-direction:column;min-width:0;min-height:0;gap:10px;overflow:hidden}
.picker-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:26px;flex:none;color:#b8cbd0;font-size:12px;line-height:1.5}
.picker-preview-heading strong{font-size:13px;font-weight:500;color:#dce7e3}
.picker-preview-heading :is(small,span){font-size:10px;letter-spacing:.02em;color:#8eaab7}
.picker-preview-pane :is(#samplePreview,#themePreview):not(.picker-paper-scroll){display:flex;flex:1 1 0;min-height:0;min-width:0;flex-direction:column;gap:10px;overflow:hidden}
.picker-preview-pane .sample-preview:not(.picker-paper-scroll){max-height:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit}
.picker-paper-scroll{flex:1 1 0;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#809ba873 transparent;scrollbar-gutter:stable;container-type:inline-size;container-name:resume-paper;padding:20px;background:#cad5da;border:1px solid #afc7cd;border-radius:7px;box-shadow:inset 0 1px 3px #081c3021}
.picker-paper-scroll>.deedu-resume{width:100%;min-height:100%;box-shadow:0 4px 18px #153a4a1b}
.picker-paper-scroll .deedu-resume .section-copy{font-size:14px;line-height:1.75}
.picker-paper-scroll .deedu-resume .resume-header h2{font-size:31px}
.picker-paper-scroll .deedu-resume .section-title-row h4{font-size:14px}
.picker-paper-scroll .deedu-resume .section-title-row time{font-size:11px}
.picker-paper-scroll .deedu-resume .resume-section{cursor:default;transition:none}
.picker-empty{padding:28px 16px;color:#a6bec7;font-size:13px;line-height:1.8;text-align:center;border:1px dashed #aac4ca38;border-radius:7px}
.resume-color-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 13px;flex:none;min-height:44px;padding:9px 12px;border:1px solid #acc4c42d;border-radius:7px;background:#0d263055;color:#b8ced0;font-size:12px;line-height:1.5}
.resume-color-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.resume-color-swatches .resume-color-swatch{position:relative;box-sizing:border-box;display:block;flex:none;width:24px;height:24px;min-width:24px;min-height:24px;border:1px solid #ffffff4d;border-radius:50%;box-shadow:0 1px 4px #0002;padding:0;background:var(--swatch,var(--swatch-color,var(--accent-color,#36586a)));font-size:0}
.resume-color-swatches .resume-color-swatch[aria-pressed=true]{outline:2px solid #e9e9d9;outline-offset:3px}
.resume-color-swatches .resume-color-swatch:focus-visible{outline:2px solid #fff;outline-offset:3px}
#dialogBody .resume-color-controls label{display:flex;align-items:center;gap:7px;min-width:0;margin:0;font-size:11px;color:#a4bdc4}
#dialogBody .resume-color-controls input[type=color]{display:block;box-sizing:border-box;width:29px;height:29px;min-width:29px;min-height:29px;padding:2px;margin:0;border:1px solid #b8ced269;border-radius:5px;background:#16303c;cursor:pointer}
.resume-color-controls button[data-action=reset-accent],.resume-color-reset{width:auto;min-width:35px;min-height:27px;height:27px;padding:3px 7px;border:1px solid #adc3c24d;border-radius:4px;background:transparent;color:#c5d5d4;font-size:11px;line-height:1.5;box-shadow:none}.resume-color-reset[aria-pressed=true]{background:#d1e3d623;border-color:#c0d5ca}.resume-color-value{font-size:10px;font-family:ui-monospace,monospace;letter-spacing:.02em;color:#88a4ae}.picker-footnote{font-size:11px;line-height:1.6;color:#9fb7c0;margin-right:auto}
.picker-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:12px;padding-top:12px;border-top:1px solid #bdd0cc26;background:transparent;min-height:57px}
#dialogBody .picker-actions .action-button{margin:0;min-height:43px;padding:10px 19px;width:auto;max-width:100%;font-size:13px;line-height:1.6;white-space:normal}
#dialogBody .picker-actions p,#dialogBody .picker-shell .sample-disclaimer{min-width:0;flex:1 1 0;font-size:11px!important;line-height:1.6!important;color:#9fb7c0!important;margin:0!important;padding:0;border:0}
#dialogBody .picker-actions .sample-disclaimer{max-width:56%}
.picker-actions .action-button.primary{background:linear-gradient(110deg,#e8e2cc,#c8ded7);border-color:#eeeada;color:#284650;box-shadow:0 2px 5px #0002}
@media(max-width:1050px){#generalDialog:has(.picker-shell){width:calc(100vw - 32px);max-width:calc(100vw - 32px);padding:23px 22px 20px}.picker-workspace{grid-template-columns:minmax(200px,30%) minmax(0,1fr);gap:14px}.picker-paper-scroll{padding:14px}.picker-shell .sample-controls{grid-template-columns:minmax(0,1fr) 190px 150px}.resume-color-controls{gap:9px}.resume-color-swatches{gap:7px}.resume-color-swatches .resume-color-swatch{width:22px;height:22px;min-width:22px;min-height:22px}}
@media(max-width:760px){
 #generalDialog:has(.picker-shell){width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:94dvh;max-height:94dvh;padding:19px 15px 16px;border-radius:12px}
 #generalDialog:has(.picker-shell) .dialog-head h2{font-size:21px;line-height:1.45;letter-spacing:0}
 #generalDialog:has(.picker-shell) #dialogBody .picker-shell>.dialog-copy{font-size:12px;line-height:1.6;margin-bottom:12px}
 .picker-shell{gap:12px}.picker-shell .picker-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .picker-shell .sample-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .picker-shell .sample-controls .form-label:has(input[type=search]){grid-column:1/-1;grid-row:1}
 #dialogBody .picker-shell .picker-controls :is(input:not([type=color]),select){font-size:16px!important;height:44px;min-height:44px;padding:9px 10px}
 #dialogBody .picker-shell .picker-controls .form-label{font-size:11px!important;gap:5px!important}
 .picker-workspace{display:flex;flex-direction:column;gap:12px;overflow:hidden}
 .picker-library{flex:0 0 142px;min-height:0}
 .picker-library .theme-picker-grid,.picker-library .sample-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:2px 3px 3px 2px}
 .picker-library .sample-choice{min-height:72px;padding:10px 11px}.picker-library .sample-choice>strong{font-size:12px;line-height:1.5}.picker-library .sample-choice>small{font-size:10px;line-height:1.5;-webkit-line-clamp:2;margin-top:3px}
 .picker-library .theme-choice{grid-template-columns:39px minmax(0,1fr);min-height:84px;padding:8px;gap:0 8px}.picker-library .theme-choice .theme-mini{width:39px;height:58px;padding:8px 5px}.picker-library .theme-choice>strong{font-size:11px;margin-bottom:3px;padding-right:7px}.picker-library .theme-choice>small{font-size:9px;-webkit-line-clamp:2;line-height:1.4}.picker-library .theme-choice[aria-pressed=true]:after{right:5px;top:5px;width:12px;height:12px;font-size:8px}
 .picker-library-header,.picker-library-heading,.picker-result-count,.picker-count{min-height:20px;margin-bottom:5px}
 .picker-preview-pane{flex:1 1 0;min-height:160px;gap:7px}.picker-preview-pane :is(#samplePreview,#themePreview):not(.picker-paper-scroll){gap:7px}.picker-paper-scroll{padding:10px;border-radius:5px}.picker-preview-heading{min-height:20px;font-size:11px}.picker-preview-heading strong{font-size:12px}.picker-preview-heading :is(small,span){font-size:9px}
 .resume-color-controls{min-height:39px;padding:8px;gap:8px;font-size:11px}.resume-color-swatches{gap:7px}.resume-color-swatches .resume-color-swatch{width:20px;height:20px;min-width:20px;min-height:20px}.resume-color-controls button[data-action=reset-accent],.resume-color-reset{font-size:10px}
 #dialogBody .resume-color-controls input[type=color]{width:25px;height:25px;min-width:25px;min-height:25px}.resume-color-controls>label{font-size:10px!important}
 .picker-actions{gap:9px;padding-top:10px;min-height:53px}.picker-actions .sample-disclaimer{display:none}
 #dialogBody .picker-actions .action-button{min-height:43px;font-size:12px;padding:9px 13px}.picker-actions>.action-button.primary{flex:1 1 0}
}
@media(max-width:420px){#generalDialog:has(.picker-shell){padding:16px 12px 13px}.picker-library{flex-basis:120px}.picker-paper-scroll{padding:7px}.resume-color-controls{gap:7px}.resume-color-swatches{gap:6px}.resume-color-swatches .resume-color-swatch{width:18px;height:18px;min-width:18px;min-height:18px}.picker-shell{gap:10px}.picker-library .sample-choice{min-height:69px}}
@media(max-height:680px) and (min-width:761px){#generalDialog:has(.picker-shell){height:95dvh;max-height:95dvh;padding:18px 23px 15px}#generalDialog:has(.picker-shell) .dialog-head h2{font-size:22px}#generalDialog:has(.picker-shell) #dialogBody .picker-shell>.dialog-copy{margin-bottom:11px}.picker-shell{gap:10px}.picker-actions{padding-top:9px;min-height:48px}.resume-color-controls{padding-block:7px}}
.model-connection-panel{margin:18px 0 6px;padding:16px 17px;border:1px solid #abc7c43b;border-radius:8px;background:#0b222c73;box-shadow:inset 0 1px #e1efeb08}
#dialogBody .model-connection-status{font-size:13px;line-height:1.7;color:#d1e3df;margin:0 0 12px}
#dialogBody .model-connection-panel .action-button{margin:0;min-height:40px;font-size:13px;padding:9px 15px}

/* R10 · working controls: raised at rest, seated when selected, truthful task states. */
#workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add),
#dialogBody .action-button,.flight-log .action-button{
 border-top-color:#c5d7db69;border-bottom-color:#06121fb3;
 background-image:linear-gradient(180deg,#dce9e90d,transparent 46%,#020b131a);
 box-shadow:inset 0 1px 0 #ecf4ef14,inset 0 -1px 0 #020a1240,0 2px 0 #06121ed9,0 3px 6px #00000026;
 transition:background-color 90ms ease,border-color 90ms ease,box-shadow 90ms ease,transform 60ms ease;
}
#workspace .action-button.primary,#dialogBody .action-button.primary,.flight-log .action-button.primary{
 background-image:linear-gradient(175deg,#f0eadb,#d4dfd7 56%,#c1d0cd);
 border-top-color:#fff8e7;border-bottom-color:#728e93;
 box-shadow:inset 0 1px 0 #ffffffd9,inset 0 -1px 0 #68828a3d,0 2px 0 #07141ed9,0 4px 7px #00000029;
}
#workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add):enabled:hover,
#dialogBody .action-button:enabled:hover,.flight-log .action-button:enabled:hover{
 border-top-color:#d5e3de9c;box-shadow:inset 0 1px 0 #ecf4ef30,inset 0 -1px 0 #020a1240,0 2px 0 #06121ed9,0 4px 8px #00000030;
}
#workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add):enabled:active,
#dialogBody .action-button:enabled:active,.flight-log .action-button:enabled:active{
 transform:translateY(1px);box-shadow:inset 0 2px 4px #03101955,inset 0 -1px 0 #dae8e21a,0 1px 0 #06121ed9;
}
#workspace :is(.paper-choice-button,.paper-tools button)[aria-expanded=true]:not(:disabled),
#workspace :is(.paper-choice-button,.paper-tools button,.tool-button)[aria-pressed=true]:not(:disabled){
 background-image:linear-gradient(180deg,#06141c45,#bdd3ce0a);
 border-color:#b8cec2a8;color:#f0ecda;
 box-shadow:inset 0 2px 5px #020b1470,inset 0 -1px 0 #e1eee421,0 1px 0 #c7d8d116;
}
#workspace .tool-button[aria-pressed=true]:not(:disabled){box-shadow:inset 3px 0 0 #bccfc1,inset 0 2px 5px #020b1470,0 1px 0 #c7d8d116}
#workspace .tool-button[aria-busy=true]:not(:disabled){
 border-color:#d7bb83;border-bottom-style:dashed;color:#f2e3c3;
 background-image:linear-gradient(180deg,#d9b97516,#72552b0b);
 box-shadow:inset 3px 0 0 #d7bb83,inset 0 2px 5px #020b1470,0 1px 0 #c7d8d116;
 cursor:progress;
}
#workspace .tool-button[aria-busy=true]>i{font-size:0}
#workspace .tool-button[aria-busy=true]>i:before{content:'';display:block;width:6px;height:6px;border:1px solid #f0d8a7;border-radius:50%;background:#d7bb83}
#workspace .tool-grid>.tool-button:last-child:nth-child(odd){grid-column:1 / -1}
#workspace :is(.tool-button,.action-button)[data-state=error]{border-color:#d19e8b;border-bottom-style:double}
#workspace :is(.tool-button,.action-button)[data-state=success]{border-color:#a9c8b1}
#workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add):disabled,
#dialogBody .action-button:disabled,.flight-log .action-button:disabled{
 opacity:.42;transform:none;cursor:not-allowed;background-image:none;
 box-shadow:inset 0 1px 3px #020b1438;border-color:#93aab128;
}
#workflowSteps button{border-top-color:#b6c9cf2e;border-bottom-color:#07141d6b;background:linear-gradient(180deg,#c6d7d508,#07162022);box-shadow:inset 0 1px 0 #dbe7e40b,0 1px 0 #03111b66;transition:border-color 90ms ease,background-color 90ms ease,box-shadow 90ms ease}
#workflowSteps button[aria-current=step]{border-color:#cfdbc481;background:linear-gradient(180deg,#03111936,#ccdbce0d);box-shadow:inset 0 2px 4px #020b144d,0 1px 0 #d4dfcf16}
#workflowSteps button[aria-current=step] .step-no{background:#d5dfce18;box-shadow:inset 0 1px 3px #020d1759}
#workflowSteps button.passed .step-no{background:#9bc7b21a}
#workspace :is(button,[role=button]):focus-visible,#dialogBody :is(button,input,select,textarea):focus-visible,.flight-log button:focus-visible{
 outline:2px solid #e9dec2;outline-offset:3px;
}
#workspace .resume-header:focus-visible,#workspace .resume-section:focus-visible{outline-color:#496e7b;outline-offset:2px}
.picker-library :is(.theme-choice,.sample-choice){box-shadow:inset 0 1px 0 #dce9e714,0 1px 3px #020d1729;transition:border-color 90ms ease,background-color 90ms ease,box-shadow 90ms ease}
.picker-library :is(.theme-choice,.sample-choice)[aria-pressed=true]{box-shadow:inset 3px 0 0 #c3d9cd,inset 0 2px 5px #020e1747,0 1px 0 #cbded519}
#dialogBody .picker-library :is(.theme-choice,.sample-choice):focus-visible{outline-offset:-3px}
#dialogBody .picker-controls :is(input,select){box-shadow:inset 0 2px 4px #020e1733,0 1px 0 #cfdfdc12}
#dialogBody .resume-color-swatch[aria-pressed=true]{box-shadow:inset 0 0 0 1px #ffffff80,0 1px 4px #0005}
/* Four document tools may wrap; let the paper start below both rows. */
body[data-view=studio] .paper-toolbar:has(#resumeJobButton){height:auto;min-height:40px;flex:0 0 auto;align-items:center}
.paper-toolbar-context:has(#resumeJobButton){flex-wrap:wrap;row-gap:5px!important}
.paper-toolbar-context:has(#resumeJobButton) :is(#stageTitle,.paper-indicator){display:none}
@media(max-width:760px){
 body.has-cockpit-controls>.header{height:auto;min-height:68px;padding-block:12px;align-content:center;row-gap:10px;column-gap:12px}
 body.has-cockpit-controls>.header .brand{flex:none}
 body.has-cockpit-controls>.header .header-actions{min-width:0;max-width:100%;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;row-gap:6px}
}
@media(prefers-reduced-motion:reduce){
 #workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add),
 #dialogBody .action-button,.flight-log .action-button,#workflowSteps button,.picker-library :is(.theme-choice,.sample-choice){transition:none}
 #workspace :is(.paper-choice-button,.paper-tools button,.tool-button,.action-button,.import-button,.section-add):enabled:active,
 #dialogBody .action-button:enabled:active,.flight-log .action-button:enabled:active{transform:none}
}
#dialogBody .model-connection-panel .inspector-note{margin:11px 0 0;font-size:11px;line-height:1.7;color:#93b0ba}

/* R14 · review complete imported facts without replacing the current paper. */
.import-review.picker-shell{min-height:0;gap:12px}
#dialogBody .import-review>p{margin:0}
#dialogBody .import-review>.inspector-note{font-size:11px;line-height:1.5;color:#90aebb;overflow-wrap:anywhere}
#dialogBody .import-review>.risk-note{font-size:12px;line-height:1.55;padding:7px 10px}
.import-review-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;flex:1;min-height:0;min-width:0;overflow:hidden}
.import-review-source{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7893a066 transparent;padding:2px 10px 8px 0}
.import-review-source h3{font-size:14px;font-weight:500;color:#d8e5e4;margin:0 0 10px}
.import-review-source ul{list-style:none;padding:0;margin:0 0 14px;display:flex;flex-direction:column;gap:1px}
.import-review-source li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #a3bfc21f;color:#b7ccd3;font-size:12px;line-height:1.6}
.import-review-source li>span{font:11px/1.5 ui-monospace,monospace;color:#d6e5d8;border:1px solid #9dbab830;min-width:24px;border-radius:4px;text-align:center;padding:2px}
.import-source-details{border-top:1px solid #abc3c535;padding-top:8px;margin-top:16px}
.import-source-details>summary{cursor:pointer;color:#c9dcd9;font-size:12px;line-height:1.7;padding:8px 0;min-height:36px;box-sizing:border-box}
.import-source-details>.form-label{margin-top:9px;font-size:11px;color:#9db8c3}
#importSourceText.import-preview-text{width:100%;min-height:180px;height:230px;max-height:380px;margin-top:7px;padding:11px;font-size:13px;line-height:1.75;resize:vertical;box-sizing:border-box;background:#102734;color:#d8e6e6;border:1px solid #94adb74a}
.import-review-paper{min-height:0;min-width:0;padding:20px}
.import-review .picker-actions{flex:none;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:12px}
#dialogBody .import-review .picker-actions>.action-button{margin:0;min-height:44px}
.repair-issue-context{margin:0 0 15px;padding:10px 12px;border:1px solid #9ebbb835;border-inline-start:2px solid #bdcbb5;border-radius:5px;background:#afc6be09;max-height:188px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.repair-issue-context .inspector-label{margin:0 0 5px;font-size:10px;line-height:1.5;color:#a5bcbf}
.repair-issue-context h3{font-size:13px;line-height:1.6;font-weight:500;color:#e0e8dd;margin:0 0 5px;overflow-wrap:anywhere}
.repair-issue-context>p:not(.inspector-label){font-size:12px;line-height:1.75;color:#abc3cb;margin:0;overflow-wrap:anywhere}
.repair-issue-context blockquote{margin:8px 0 0;padding:7px 9px;border-inline-start:2px solid #8aa8ac70;background:#061a2433;color:#c3d5d7;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.rewrite-mode-purpose{margin:-6px 0 15px;padding:0 0 0 10px;border-inline-start:2px solid #abc1b54d;line-height:1.65}
.rewrite-mode-purpose>strong{display:block;font-size:12px;font-weight:500;color:#d1dfd5;margin-bottom:3px}
.rewrite-mode-purpose>span{display:block;font-size:11px;color:#9cb6c1}
.rewrite-explanation{display:block;margin-top:9px;padding-top:9px;border-top:1px solid #a9c1c52b;color:#bacdd1;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;max-height:176px;overflow-y:auto;scrollbar-width:thin}
.flight-log-more{margin:12px 0 16px}
.flight-log-more>summary{list-style:none;cursor:pointer;outline-offset:4px}
.flight-log-more>summary::-webkit-details-marker{display:none}
.flight-log-excerpt{display:block;color:#a6bec9;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.flight-log-toggle{display:inline-flex;align-items:center;gap:10px;color:#d4e0d4;font-size:11px;line-height:1.6;margin-top:7px;padding-bottom:3px;border-bottom:1px solid #c0d0c640}
.flight-log-toggle:after{content:'＋';font-size:14px}
.flight-log-more[open] .flight-log-toggle:after{content:'−'}
.flight-log-more[open] .flight-log-excerpt{display:none}
.flight-log-more>.voyage-detail-copy{margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.import-source-details>summary:focus-visible,.flight-log-more>summary:focus-visible{outline:2px solid #d6dfc9;outline-offset:3px;border-radius:3px}
@media(max-width:760px){
 .import-review-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,155px) minmax(0,1fr);gap:10px}
 .import-review-source{padding:0 5px 5px 0}
 .import-review-source h3{font-size:12px;margin-bottom:5px}
 .import-review-source ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-bottom:8px}
 .import-review-source li{font-size:11px;padding:5px 0}
 .import-source-details{margin-top:8px;padding-top:3px}
 .import-review-paper{padding:8px}
 .import-review .picker-actions{gap:8px;padding-top:9px}
 #dialogBody .import-review .picker-actions>.action-button{flex:1 1 0;min-width:0;padding:9px 10px;font-size:12px;line-height:1.5}
 .repair-issue-context{padding:9px 10px;max-height:164px}
 .flight-log-excerpt{font-size:12px}
}
