:root{--ink:#183a43;--muted:#62777d;--green:#205e53;--green-dark:#174b43;--blue:#285d78;--amber:#dfb243;--line:#dce5e4;--paper:#f3f6f5;--white:#fff;--red:#a84036}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.7 "Microsoft YaHei","PingFang SC",sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid #ccd9d5;border-radius:5px;padding:8px 13px;background:white;line-height:1.45}button:hover{border-color:#68988d;background:#eff6f3}button:disabled{opacity:.5;cursor:default}.primary,button.active{background:var(--green);color:white;border-color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--amber);outline-offset:2px}input,select,textarea{border:1px solid #cbd9d5;background:#fff;border-radius:4px;padding:9px 11px}textarea{resize:vertical}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:23px;line-height:1.45}h2{font-size:28px;line-height:1.5;font-weight:650}h3{font-size:19px;font-weight:600}.eyebrow{font-size:11px;letter-spacing:.06em;color:var(--green);margin:0 0 6px}.workspace-header{height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.workspace-brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:19px;font-weight:650;white-space:nowrap}.workspace-brand:hover{text-decoration:none}.workspace-brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:.05em}.station-nameplate{width:48px;height:44px;background:var(--green);display:grid;place-items:center;color:#fff;border:3px double #ccded7;letter-spacing:.08em;font-size:18px}.workspace-header nav{display:flex;align-self:stretch;gap:8px;align-items:stretch}.workspace-header nav button{border:0;border-radius:0;padding:0 15px;background:none;color:var(--muted);position:relative}.workspace-header nav button.active{color:var(--green);font-weight:650}.workspace-header nav button.active:after{position:absolute;bottom:0;height:3px;background:var(--green);content:"";left:14px;right:14px}.header-team{display:flex;align-items:center;gap:12px}.header-team>span{font-size:11px;color:var(--muted)}#open-count{font:11px Consolas,monospace;margin-left:5px}.workspace-shell{display:grid;grid-template-columns:226px minmax(0,1fr)}.workspace-sidebar{padding:27px 14px 20px;background:#fff;border-right:1px solid var(--line);min-height:calc(100vh - 78px)}.sidebar-intro{padding:0 9px 22px}.sidebar-intro p:last-child{font-size:12px;color:var(--muted);margin-top:5px}#risk-filter{width:100%;font-size:12px;margin-bottom:15px}.risk-nav-item{display:block;width:100%;text-align:left;border-color:transparent;background:transparent;padding:11px 10px;margin:3px 0;position:relative}.risk-nav-item small{display:block;color:var(--muted);font:10px Consolas,monospace;margin-bottom:4px}.risk-nav-item b{font-size:13px;font-weight:500;display:block}.risk-nav-item.active{background:#e8f1ec;color:var(--ink);border-color:#c5d9ce}.risk-nav-item.active:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:var(--green)}.risk-nav-item.active small{color:var(--green)}.risk-nav-item .risk-record-dot{height:5px;width:5px;border-radius:50%;display:inline-block;margin-right:5px;background:#9faeab}.sidebar-foot{padding:23px 10px;font-size:11px;color:var(--muted);line-height:1.9}.sidebar-foot p{margin-top:8px}.steady-indicator{display:inline-block;width:6px;height:6px;margin-right:6px;background:#4d8c77;border-radius:50%}.workspace-main{min-width:0;padding:27px 28px 48px}.workspace-page{display:none}.workspace-page.active{display:block}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:22px}.map-content{min-width:0}.risk-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.risk-heading h2{font-size:27px}.record-state{display:inline-block;white-space:nowrap;padding:5px 9px;border:1px solid #d8cda4;color:#826c2d;background:#fcf7e8;font-size:11px;border-radius:3px}.engineering-card{background:white;border:1px solid #cbd9d3;border-radius:6px;overflow:hidden}.engineering-card-head{padding:13px 18px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.engineering-card-head b{font-size:15px;font-weight:550}.engineering-card-head>div:first-child{display:flex;align-items:center;gap:12px}#card-code{font:11px Consolas,monospace;border-right:1px solid #7a9e90;padding-right:12px}.card-view-toggle{display:flex;gap:4px}.card-view-toggle button{font-size:11px;background:transparent;border-color:#7b9e91;color:#eff7f3;padding:5px 9px}.card-view-toggle button.active{background:#f4f8f3;color:var(--green);border-color:#f4f8f3}.card-visual{position:relative;background:#dfe8e7;aspect-ratio:3/2;overflow:hidden}.card-visual>img{display:block;width:100%;height:100%;object-fit:cover}.image-origin{position:absolute;left:12px;bottom:12px;color:#fff;background:#163c3dc9;border:1px solid #c5d6c782;padding:5px 9px;font-size:10px;max-width:calc(100% - 24px);border-radius:3px;line-height:1.6}.card-caption{display:flex;align-items:start;gap:20px;justify-content:space-between;padding:14px 18px 12px;background:#f9fbf9}.card-caption p{font-size:14px;color:#285249;font-weight:550}.card-caption span{font-size:10px;color:var(--muted);max-width:220px;text-align:right}.card-annotations{display:flex;flex-wrap:wrap;gap:10px;padding:0 18px 17px;background:#f9fbf9}.card-annotations span{font-size:11px;display:inline-flex;align-items:center;gap:6px}.card-annotations i{font-style:normal;font:10px Consolas,monospace;width:19px;height:19px;display:grid;place-items:center;border:1px solid #c3b168;color:#806626;border-radius:50%;background:#fff9df}.control-note{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 0 25px}.control-note>div{border-left:3px solid #8aa897;padding-left:15px}.control-note p:last-child{font-size:13px;line-height:1.85}.control-note>button{white-space:nowrap;font-size:12px}.interactive-scene{background:white;border:1px solid var(--line);border-radius:6px;overflow:hidden}.section-toolbar{padding:19px 20px;display:flex;justify-content:space-between;gap:15px;align-items:center}.scene-top-actions{display:flex;gap:6px}.scene-top-actions button{font-size:12px}.scene-frame{height:480px;position:relative;overflow:hidden;background:#cbd6d1}#scene-canvas{position:absolute;inset:0}#scene-canvas canvas{display:block;touch-action:none}.scene-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center}.scene-placeholder>img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;filter:brightness(.46);opacity:.9}.scene-placeholder>div{position:relative;max-width:480px;color:#fff;padding:24px}.scene-placeholder b{font-size:21px;font-weight:500}.scene-placeholder p{font-size:13px;color:#f0f5f0;margin:12px 0 23px}.scene-placeholder button{padding:10px 18px;border-color:#82a28d;background:#fff;color:var(--green)}.scene-status{position:absolute;left:12px;bottom:10px;font-size:10px;background:#f4f8f2eb;padding:5px 9px;color:#456458;border:1px solid #bdcec2;max-width:calc(100% - 24px);pointer-events:none}.scene-branch-labels{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr;background:#ffffffed;border-bottom:1px solid #bacfc3;pointer-events:none}.scene-branch-labels span{padding:7px 14px;font-size:12px;color:var(--green);font-weight:600}.scene-branch-labels span:first-child{border-right:1px solid #c2d1c9;color:#a44937}.scene-controls{padding:14px 18px 17px}.scene-modes{display:flex;flex-wrap:wrap;gap:5px}.scene-modes button{font-size:11px;padding:6px 10px}.scene-display-options{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#506a60}.scene-display-options label{display:flex;align-items:center;gap:4px}.scene-display-options input{accent-color:var(--green)}.scene-playback{display:flex;align-items:center;gap:9px;margin-top:13px}.scene-playback button{font-size:12px;white-space:nowrap}.scene-playback input{flex:1;min-width:40px;accent-color:var(--green);padding:0}.scene-playback span{font:11px Consolas,monospace;width:33px;color:var(--muted)}.scene-phases{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:12px}.scene-phases button{font-size:11px;text-align:left;border:0;border-top:2px solid #d4dfd8;background:#f0f5f1;border-radius:0;padding:7px 8px;color:#526b5c}.scene-phases button.active{background:#e2ece5;border-color:var(--green);color:var(--green)}.scene-boundary{font-size:10px;color:var(--muted);margin-top:12px}.scene-frame:fullscreen{height:100vh;width:100vw}.original-record{margin-top:20px;padding:15px 18px;background:#edf3ef;border:1px solid var(--line);font-size:12px;color:#506a61}.original-record summary{cursor:pointer;font-size:12px}.original-record p{margin-top:12px;line-height:1.8}.collaboration-panel{min-width:0;align-self:start;position:sticky;top:100px}.page-intro{margin-bottom:25px;max-width:960px}.page-intro h2{margin-bottom:9px}.page-intro>p:last-child{font-size:13px;color:var(--muted);line-height:1.9}.component-tools{display:flex;gap:12px;margin-bottom:15px}.component-tools input{flex:1}.component-summary{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.component-summary>div{padding:12px 17px;background:#fff;border:1px solid var(--line);font-size:12px;min-width:150px}.component-summary b{font:600 25px Consolas,monospace;color:var(--green);margin-right:10px}.component-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.component-item{padding:20px;background:#fff;border:1px solid var(--line);border-top:3px solid #95b0a5;border-radius:3px}.component-item header{display:flex;align-items:start;justify-content:space-between;gap:12px}.component-item h3{font-size:16px}.component-item small{font-size:10px;color:var(--muted)}.component-item p{font-size:12px;color:#536f65;margin-top:12px;line-height:1.85}.component-item button{margin-top:12px;font-size:12px}.source-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.source-figure{background:white;border:1px solid var(--line);margin:0}.source-figure img{display:block;width:100%;height:250px;object-fit:cover}.source-figure figcaption{padding:17px}.source-figure b{display:block;font-size:16px;font-weight:550;margin-bottom:6px}.source-figure p{font-size:12px;color:var(--muted)}.web-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.web-reference{background:#fff;border:1px solid var(--line);padding:20px}.web-reference h3{font-size:15px}.web-reference p{font-size:12px;color:#617971;margin:10px 0}.web-reference a{font-size:12px}.workspace-empty{background:#fff;border:1px dashed #b7ccc1;padding:25px;color:var(--muted)}#workspace-toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:var(--green-dark);color:#fff;padding:11px 20px;border-radius:5px;z-index:100;opacity:0;pointer-events:none;font-size:13px}#workspace-toast.visible{opacity:1}.remote-update-notice{position:fixed;right:25px;bottom:25px;max-width:350px;padding:13px 18px;border:1px solid #c7d8cd;border-left:4px solid var(--amber);background:#fffdf4;z-index:40;font-size:12px;color:#5d602f;box-shadow:0 5px 18px #153d2714}#card-dialog{padding:0;border:0;background:#fff;border-radius:6px;max-width:min(96vw,1800px);max-height:95vh;overflow:auto}#card-dialog::backdrop{background:#142d29df}#card-dialog img{display:block;width:100%;max-height:85vh;object-fit:contain}#card-dialog p{font-size:12px;padding:15px 22px;color:#61776c}#close-card-dialog{position:sticky;top:10px;float:right;z-index:5;width:35px;height:35px;padding:0;font-size:22px;margin:10px}button.recording{color:#9c382e;background:#fbebe6;border-color:#daaba0}[hidden]{display:none!important}
@media(min-width:1800px){.workspace-main{padding:32px 40px}.map-layout{grid-template-columns:minmax(0,1fr) 390px;gap:28px}.workspace-shell{grid-template-columns:250px minmax(0,1fr)}.risk-nav-item b{font-size:14px}.scene-frame{height:600px}}
@media(max-width:1320px){.workspace-header{padding:0 18px;gap:12px}.workspace-brand{font-size:17px}.workspace-brand small{font-size:10px}.workspace-header nav{gap:0}.workspace-header nav button{font-size:13px;padding:0 10px}.header-team>span{display:none}.workspace-shell{grid-template-columns:195px minmax(0,1fr)}.workspace-main{padding:22px 20px}.map-layout{grid-template-columns:minmax(0,1fr) 305px;gap:16px}.engineering-card-head{padding:10px 12px}.card-view-toggle button{padding:5px 6px;font-size:10px}.engineering-card-head b{font-size:13px}.card-caption{padding:13px}.card-caption span{display:none}.risk-heading h2{font-size:23px}.scene-frame{height:420px}.scene-playback{flex-wrap:wrap}.scene-playback input{min-width:140px}}
@media(max-width:1060px){.map-layout{grid-template-columns:1fr}.collaboration-panel{position:static}.workspace-header{height:auto;min-height:75px;flex-wrap:wrap;padding:12px 18px 0;gap:9px}.workspace-header nav{order:3;height:43px;flex-basis:100%;justify-content:start}.workspace-header nav button{padding:0 17px}.workspace-brand small{display:block}.workspace-sidebar{min-height:calc(100vh - 120px)}.component-list{grid-template-columns:1fr}}
@media(max-width:680px){.workspace-shell{display:block}.workspace-sidebar{padding:12px;min-height:0;border:0;border-bottom:1px solid var(--line)}.sidebar-intro,.sidebar-foot{display:none}#risk-filter{margin-bottom:8px}#risk-navigation{display:grid;grid-template-columns:repeat(2,1fr);max-height:185px;overflow:auto;gap:4px}.risk-nav-item{padding:7px 9px;margin:0;border:1px solid #e0e8e3}.risk-nav-item small{font-size:9px;margin-bottom:2px}.risk-nav-item b{font-size:11px}.workspace-main{padding:18px 12px}.workspace-header{padding:10px 13px 0}.workspace-header nav{justify-content:space-between}.workspace-header nav button{font-size:12px;padding:0 9px}.workspace-brand{font-size:16px}.station-nameplate{width:39px;height:38px;font-size:16px}.header-team button{font-size:12px;padding:7px 9px}.risk-heading{margin-bottom:14px;align-items:start}.risk-heading h2{font-size:22px}.record-state{font-size:10px;padding:4px 6px}.engineering-card-head{display:block}.engineering-card-head>div:first-child{margin-bottom:8px}.card-view-toggle button{font-size:11px;padding:5px 9px}.image-origin{font-size:8px;left:8px;bottom:7px;padding:3px 5px}.card-caption p{font-size:12px}.card-annotations{padding:0 12px 12px;gap:8px}.card-annotations span{font-size:10px}.control-note{display:block;padding:17px 0 22px}.control-note button{margin:13px 0 0 18px}.section-toolbar{padding:15px}.section-toolbar h3{font-size:16px}.scene-frame{height:350px}.scene-controls{padding:12px}.scene-placeholder b{font-size:18px}.scene-placeholder p{font-size:12px}.scene-playback input{order:4;flex-basis:calc(100% - 45px);min-width:0}.scene-playback span{order:5}.scene-playback button{font-size:11px;padding:7px 9px}.scene-phases{grid-template-columns:repeat(2,1fr)}.scene-display-options{gap:10px}.source-gallery,.web-reference-list{grid-template-columns:1fr}.source-figure img{height:220px}.component-tools{display:block}.component-tools input{width:100%;margin-bottom:8px}.component-summary{gap:7px}.component-summary>div{min-width:0;padding:8px 12px}.page-intro h2{font-size:25px}.remote-update-notice{right:12px;left:12px;bottom:16px;max-width:none}.card-visual{aspect-ratio:3/2}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

#ledger-record-detail{margin-top:24px;max-width:1000px}#ledger-record-detail .collaboration-panel{position:static}#ledger-record-detail .cv6-fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){#ledger-record-detail .cv6-fields{grid-template-columns:1fr}}

#scene-video-dialog{width:min(1100px,94vw);padding:25px;border:1px solid #bacfc4;border-radius:8px;color:var(--ink)}#scene-video-dialog::backdrop{background:#102d32c9}#scene-video-dialog video{display:block;width:100%;margin:20px 0;background:#122629}#close-scene-video{float:right}#scene-video-dialog p{font-size:13px;color:var(--muted)}.scene-top-actions{flex-wrap:wrap}.workspace-header nav{gap:3px}.workspace-header nav button{padding:0 11px}
