.mobile-only,#mobile-workbench{display:none}.nav-icon,.mobile-nav-label{display:none}
.mobile-plugin-picker{display:grid;gap:12px}.mobile-plugin-picker button{display:flex;gap:14px;text-align:left;align-items:center;padding:16px}.mobile-plugin-picker strong,.mobile-plugin-picker small{display:block}.mobile-plugin-picker small{margin-top:5px;color:var(--muted);font-size:14px}
.workspace-tools{margin-left:0;white-space:nowrap}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.backup-preview{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f2f7f4;margin:16px 0}.backup-preview p{margin:8px 0}.storage-info{line-height:1.8}.connection-state{display:none}
@media(max-width:760px){
 :root{--mobile-bottom:calc(64px + env(safe-area-inset-bottom,0px));--mobile-top:56px}
 body{font-size:16px;height:100dvh;overflow:hidden;-webkit-text-size-adjust:100%}
 button,input,select,textarea{font-size:16px;touch-action:manipulation}button{min-height:44px}input:not([type=checkbox]),select,textarea{font-size:16px!important}input[type=checkbox]{width:20px;height:20px;flex:none}
 .bar{height:var(--mobile-top);min-height:var(--mobile-top);padding:0 16px;display:flex;flex-wrap:nowrap;gap:8px;background:#fff;border-bottom:1px solid var(--line)}
 .bar .brand{font-size:17px;gap:8px;white-space:nowrap}.brandmark{width:28px;height:30px}.bar .model{margin-left:auto;min-width:44px;border:0;padding:8px;font-size:12px}.model i{display:none}.bar .workspace-tools{border:0;padding:7px;min-width:44px;font-size:13px}
 .bar nav{position:fixed;bottom:0;left:0;right:0;width:100%;height:var(--mobile-bottom);padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-top:1px solid #dfe7e1;background:#fffffffa;z-index:8;overflow:visible}
 .bar nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;min-width:0;min-height:50px;padding:3px;font-size:12px;background:none;color:#708178}.bar nav button.active{background:#eaf3ed;color:#1b5b45;box-shadow:none;border:0;font-weight:700}
 .nav-icon{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.desktop-nav-label{display:none}.mobile-nav-label{display:inline}
 #workspace{height:calc(100dvh - var(--mobile-top) - var(--mobile-bottom));min-height:0;overflow:hidden}.pagehead{padding:12px 16px;gap:8px}.pagehead h1{font-size:22px}.head-actions{gap:4px}.head-actions>span,#share,.head-actions #run-all{display:none!important}.head-actions #help{font-size:13px;padding:6px 9px;min-height:36px;border:0;background:none;color:#527563}
 #getting-started,#daily-strip{display:none!important}#canvas-view{min-height:0;overflow:hidden}#mobile-workbench{display:block;position:absolute;inset:64px 0 0;overflow:auto;padding:0 16px 24px;overscroll-behavior:contain;background:#f5f8f6}
 .mobile-workbench-bar{display:flex;position:absolute;z-index:4;top:0;left:0;right:0;align-items:center;justify-content:space-between;padding:10px 16px;background:#f5f8f6;border-bottom:1px solid #dce7df}.mobile-view-switch{display:flex;gap:4px;padding:3px;background:#e4ece6;border-radius:10px}.mobile-view-switch button{font-size:14px;min-height:34px;border:0;background:none;padding:5px 15px}.mobile-view-switch button[aria-pressed=true]{background:#fff;box-shadow:0 2px 7px #1b493815;color:#205b43}.mobile-workbench-bar>button{min-height:36px;font-size:14px;padding:6px 12px}
 #canvas-view[data-mobile-mode=plugins]>#board,#canvas-view[data-mobile-mode=plugins]>.canvas-footer,#canvas-view[data-mobile-mode=plugins]>#hint,#canvas-view>.library{display:none}
 #canvas-view[data-mobile-mode=canvas]>#mobile-workbench{display:none}#board{top:64px}#hint{bottom:66px;left:12px;right:12px;font-size:12px;text-align:center}#canvas-view .canvas-footer{left:10px;right:10px;bottom:10px;max-width:calc(100% - 20px);gap:3px;flex-wrap:nowrap;overflow-x:auto;padding:5px;align-items:center}.canvas-footer button{min-height:38px;font-size:13px;white-space:nowrap}.canvas-footer .zoom{flex:none}#level{font-size:12px;min-width:36px}#graph-count{display:none}.node-tooltip{display:none}.port:after{inset:-14px}
 .node .port{min-height:15px}.node .remove-node{min-height:24px}.node-footer button{min-height:28px}
 .mobile-welcome{margin:4px 0 24px;padding:23px 21px 22px;border-radius:18px;background:#194e40;color:#fff;position:relative;overflow:hidden}.mobile-welcome>span{font-size:13px;color:#b8d4c4}.mobile-welcome h2{font:600 24px/1.45 var(--serif);margin:8px 0 9px}.mobile-welcome p{font-size:14px;color:#d2e5da;margin:0 0 20px}.mobile-welcome button.primary{background:#f2dca8;border-color:#f2dca8;color:#284c3c;padding:10px 20px;font-size:15px;font-weight:650;min-height:44px}
 .mobile-section-title{display:flex;align-items:center;justify-content:space-between}.mobile-section-title h2{font-size:20px;margin:0}.mobile-section-title button{font-size:14px;min-height:36px;padding:5px 8px;background:none;border:0;color:#32654f}.mobile-caption{color:#718278;font-size:14px;margin:3px 0 14px}.mobile-node-list{display:grid;gap:13px}.mobile-node-card{border:1px solid #dce7df;background:#fff;border-radius:15px;overflow:hidden}.mobile-node-open{border:0;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:17px 15px 12px;background:none}.mobile-node-open .icon{width:42px;height:42px;flex:none}.mobile-node-open strong{display:block;font-size:17px}.mobile-node-open small{display:block;margin-top:4px;line-height:1.6;font-size:13px;color:#73837a}.mobile-open-mark{margin-left:auto;color:#799084;font-size:24px}.mobile-node-meta{display:flex;gap:2px;padding:0 12px 8px;align-items:center}.mobile-node-meta>span{margin-right:auto;font-size:12px;color:#598269;padding-left:4px}.mobile-node-meta>button{border:0;background:none;font-size:12px;min-height:36px;padding:5px 8px;color:#72857b}.mobile-node-sources{border-top:1px solid #edf1ed;margin:0;padding:9px 16px;font-size:12px;color:#728378;background:#fbfdfb}.mobile-add-wide,.mobile-run-wide{display:block;width:100%;margin-top:15px;min-height:46px}.mobile-add-wide{background:transparent;border:1px dashed #acc5b4;color:#32694e}.mobile-run-wide{margin-top:10px}
 dialog,dialog.report-dialog,dialog.guide-dialog,dialog.conversation-dialog{position:fixed;top:var(--visible-top,0);left:0;right:0;bottom:auto;margin:0;width:100%;max-width:100%;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);border:0;border-radius:0;padding:0;overflow:hidden}
 dialog[open]{display:flex;flex-direction:column}dialog>header,.conversation-dialog header{padding:10px 12px;min-height:58px;gap:8px;flex:none}dialog header h2{font-size:18px;flex:1;min-width:0}dialog header #close{min-width:44px;min-height:44px;padding:8px;font-size:26px;margin-left:0}#dialog-help{font-size:12px;min-height:36px;padding:5px 7px}dialog #dialog-body{flex:1;min-height:0;overflow:auto;padding:18px 16px 30px}.guide-dialog #dialog-body{padding:18px 16px}.conversation-dialog #dialog-body{padding:0;overflow:hidden}.conversation-dialog .chat-layout{position:relative;overflow:hidden}.chat-main{min-height:0}.chat-status{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 14px;min-height:43px;font-size:12px}.chat-status .mobile-only{display:inline-block;font-size:12px;min-height:32px;border:0;background:none;padding:4px 6px;color:#29634c}.chat-context{display:none}.chat-layout.show-context .chat-context{display:block;position:absolute;z-index:3;inset:0;width:100%;overflow:auto;padding:18px 22px;background:#f5f9f5}.chat-context h3{font-size:17px}.chat-context p,.chat-context button,.chat-context summary{font-size:15px}.chat-context button{min-height:44px}.transcript{padding:16px 12px;overscroll-behavior:contain}.chat-message{max-width:100%}.chat-message .message-content{font-size:16px;line-height:1.8}.message-content.prose{padding:13px 15px}.chat-message .speaker{font-size:12px}.chat-welcome{margin:20px auto;padding:0 12px}.chat-welcome p{font-size:16px}.chat-welcome h3{font-size:25px}
 #chat-form{padding:10px 12px max(12px,env(safe-area-inset-bottom,0px));background:#fff}#chat-input{min-height:52px;height:58px;max-height:120px;resize:none;line-height:1.5}.composer-foot{margin-top:6px}.composer-foot>span{display:none}.composer-foot button{font-size:14px;min-height:42px}.connect-banner{padding:12px;gap:10px}.connect-banner strong{font-size:14px}.connect-banner small{font-size:12px}.connect-banner button{min-height:42px;font-size:14px}.deliverable-actions,.saved-result{padding:10px 12px;gap:8px;flex-wrap:wrap}.deliverable-actions span,.saved-result span{font-size:13px}.saved-result button{font-size:14px}.plugin-controls,.result-preview{gap:6px;padding:8px 12px}.plugin-controls button,.result-preview button{font-size:13px;min-height:38px}
 #library-view{padding:14px 12px 24px}.knowledge-hero{margin-bottom:14px}.knowledge-hero h2{font-size:23px;margin:4px 0 8px}.knowledge-hero p{font-size:14px}.knowledge-count{min-width:54px;padding:0 5px}.knowledge-count strong{font-size:30px}.knowledge-count span{font-size:12px}#library-eyebrow{display:none}.knowledge-tools{padding:10px;gap:8px;align-items:center}.knowledge-tools input{flex-basis:100%;order:2}.knowledge-tools select{flex:1;min-width:120px}.knowledge-tools button,.view-switch button{font-size:14px;min-height:40px}.knowledge-tools>.primary{font-size:14px;padding:8px 10px}.library-workarea{min-height:410px;flex:none;display:flex;flex-direction:column;overflow:visible}.map-surface{min-height:410px}.map-tools{height:51px;padding:5px 8px;gap:2px}.map-tools button{font-size:13px;min-height:38px}.map-tools small{display:none}#mindmap-board{bottom:51px}#library-inspector{position:fixed;inset:68px 0 var(--mobile-bottom);max-height:none;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:18px 18px 0 0;z-index:7;box-shadow:0 -20px 70px #163c3520;padding:24px 20px}.inspector-close{min-width:44px;min-height:44px;right:8px;top:6px}#library-inspector h3{padding-right:26px;font-size:23px}#library-inspector .inspector-content,#library-inspector textarea,#library-inspector label{font-size:16px!important}.inspector-action{font-size:15px!important;min-height:44px}#library-list{padding:12px}.asset-row{padding:14px 12px}.asset-row strong{font-size:16px}.asset-row small{font-size:13px;margin-top:5px}
 .report{margin:12px 0;border-radius:12px}.report-cover{padding:23px 20px}.report-cover h2{font-size:25px}.report-meta span{font-size:12px}.report-summary{margin:16px 16px 0}.report-summary p{font-size:14px}.report-content{padding:23px 18px}.prose{font-size:16px}.prose h2{font-size:22px}.prose h3{font-size:19px}.doc-table{max-width:100%;-webkit-overflow-scrolling:touch}.doc-table table{font-size:14px}.doc-table td,.doc-table th{min-width:115px;padding:10px}.report-actions,.report-details{margin:12px 0}.report-actions button{font-size:14px;min-height:44px}.report-dialog:has(#asset-edit-form) #dialog-body{padding:18px 16px}.vault-detail{padding:15px}.vault-detail>p{font-size:14px}.vault-tags{gap:5px}.vault-tags span{font-size:14px}.vault-compare{grid-template-columns:1fr}
 #ledger-view{padding:14px 12px 28px;background:#f5f8f6;font-size:15px}#ledger-view .ld-top h2{font-size:23px}.ld-top p{font-size:14px}.ld-top .actions{margin-top:6px}.ld-label-progress{padding:16px;gap:10px;margin-bottom:14px}.ld-label-progress p{font-size:14px}.ld-label-progress small{font-size:12px}.ld-label-progress .actions{margin:0}#ledger-view button{font-size:14px;min-height:42px;border-radius:8px}.ld-metrics{gap:8px}#ledger-view .ld-metrics section{border-radius:11px;padding:13px 11px;min-width:0;overflow-wrap:anywhere}.ld-metrics h2,.ld-metrics footer{font-size:12px}.ld-metrics p,.ld-metrics section>div{font-size:13px}.ld-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;width:100%}.ld-selects label{display:flex;flex-direction:column;align-items:flex-start;font-size:13px;min-width:0;width:100%}.ld-selects .vault-search{min-width:0;grid-column:1/-1}#ledger-view .ld-selects select,#ledger-view .ld-selects input{width:100%;max-width:100%!important;min-width:0;height:44px}.ld-results-head{display:block;font-size:14px}.ld-results-head .actions{display:flex;margin:10px 0;gap:6px}.ld-results-head .actions button{font-size:12px;min-height:38px}.ld-card{border-radius:13px!important;padding:16px!important}#ledger-view .ld-card h3{font-size:18px}.ld-card p{font-size:15px}.ld-card .ld-actions{flex-wrap:wrap;gap:8px}#ledger-view .ld-card .ld-actions button{font-size:14px;min-height:42px;padding:8px 12px}.ld-table{max-width:100%;overflow:auto}
 .knowledge-hero p{display:none}.library-workarea,.map-surface{min-height:360px}#info-text{height:180px;min-height:150px;max-height:40dvh}#library-inspector{top:calc(var(--visible-top,0px) + 64px);height:calc(var(--visible-height,100dvh) - 64px - var(--mobile-bottom));bottom:auto}
 #ledger-view .ld-metrics p.ld-number{font-size:32px;line-height:1.2;margin:9px 0}
 #plan-view{width:100%;margin:0;padding:14px 12px 28px;min-height:0}.plan-columns{flex-direction:column}.plan-sheet{padding:18px 16px}.phase-list{gap:5px}.phase-list button{font-size:13px;min-height:60px;padding:8px}.day-grid button{min-height:44px}.plan-sheet h2{font-size:23px}
 #toast{max-width:calc(100vw - 32px);width:max-content;bottom:calc(var(--mobile-bottom) + 12px);font-size:14px;z-index:20}.guide-plugin>p,.guide-faq p,.guide-how p,.guide-setup p,.guide-route p,.guide-intro p{font-size:14px}.guide-plugins,.guide-how ol{grid-template-columns:1fr}.guide-path{flex-wrap:wrap}.guide-daily{flex-wrap:wrap}.guide-daily button{margin-left:0}.guide-setup{flex-wrap:wrap}.guide-setup button{margin-left:0}.guide-return{flex-direction:column}.guide-number{display:none}.guide-setup h3,.guide-route h3{font-size:16px}.guide-plugin>button{font-size:14px}.guide-storage{font-size:12px}
 #helper-launch{display:none!important}#helper-panel{left:8px!important;right:8px!important;top:auto!important;bottom:calc(var(--mobile-bottom) + 6px)!important;width:calc(100vw - 16px)!important;height:min(440px,calc(var(--visible-height,100dvh) - 100px))!important}.helper-form input{font-size:16px}.helper-line{font-size:15px}
}
