.workspace .worksheet-scroll{overflow:hidden;overscroll-behavior:none}.notebook-fitted .worksheet-scroll{overflow:hidden}.ink-fitted{height:100%;display:flex;flex-direction:column;min-height:0;background:white}.ink-fitted .ink-toolbar{position:absolute;top:6px;right:10px;float:none;margin:0;padding:2px;box-shadow:none}.ink-fitted .ink-sheet{flex:1 1;min-height:0;overflow:hidden;position:relative}.ink-fitted canvas{position:absolute;inset:0;width:100%;height:100%;background:white}.collection-type{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:14px 18px;background:white}.collection-type summary{cursor:pointer;padding:8px 0}.collection-type summary span{margin-left:16px;color:var(--muted)}.collection-type ul{list-style:none;padding:0;margin:0}.collection-type li{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:16px 0}.collection-type li p{margin:5px 0}.collection-type li button{flex:none;min-height:44px}.collection-preview{position:fixed;inset:0;z-index:60;height:100dvh;display:flex;flex-direction:column;min-height:0;background:#fff;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.collection-preview-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);flex:none;min-width:0}.collection-preview-bar button,.collection-preview-bar select{min-height:44px}.collection-preview-bar label{min-width:0}.collection-preview-bar select{width:100%;max-width:380px}.collection-preview-status{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.collection-preview .workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;min-height:0}.collection-preview .question-pane{min-width:0;overflow-y:auto;overflow-wrap:anywhere;padding:20px}.collection-preview .worksheet-pane{min-width:0}.collection-preview .question-content{white-space:pre-wrap}.collection-preview .answer-footer{display:flex;flex-wrap:wrap;justify-content:space-between;padding:10px 16px;gap:10px;min-height:64px}.collection-preview .answer-footer button{min-height:44px}.collection-preview .answer-footer label{display:flex;align-items:center;gap:6px}.collection-preview .answer-footer small{font-size:11px;color:var(--muted)}.collection-links{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.collection-links summary{cursor:pointer;min-height:36px}.collection-principles{margin:16px 0 24px}.collection-principle{border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;background:var(--surface,#f7faf9)}.collection-principle h4{margin:0 0 12px}.collection-principle p{margin:12px 0;line-height:1.65}.collection-principle p>strong{display:block;margin-bottom:4px}@media(max-width:650px){.collection-preview-bar{gap:4px;padding:6px}.collection-preview-bar select{max-width:220px}.collection-preview-status{display:none}.collection-preview .question-pane{padding:12px}.collection-preview .answer-footer small{width:100%}}.collection-geometry{margin:16px 0;max-width:480px}.collection-geometry svg{display:block;width:100%;max-height:340px}.collection-geometry figcaption{font-size:12px;color:var(--muted);margin-top:6px}