/* Knit V0.3.8 — compact mobile explorer; one reusable attachment library. */
.knit-home-link{font:inherit;cursor:pointer;background:transparent!important;border:0!important;padding:0!important;color:#2563eb!important;line-height:1.1;text-align:left}
.knit-home-link:hover{text-decoration:underline}
#nav-attachments svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* Exactly six 3×2 menu entries in both the desktop sidebar and mobile drawer. */
#workspace .sidebar .side-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px!important;padding:7px 0 2px!important;align-content:start;flex:0 0 auto!important}
#workspace .sidebar .side-nav #nav-attachments{display:flex!important}
#workspace .sidebar .side-nav #nav-tags{display:none!important}
#workspace .sidebar .side-nav button{display:flex!important;min-width:0;min-height:38px;align-items:center;justify-content:center;gap:5px;padding:5px 2px!important;flex:none!important;white-space:nowrap;font-size:11px!important;line-height:1.15}
#workspace .sidebar .side-nav button span{overflow:hidden;text-overflow:ellipsis}
#workspace .sidebar .sidebar-footer{display:none!important}
#knit035-folder-actions{display:flex!important;align-items:center;gap:2px;margin-left:auto}
#knit035-folder-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:38px!important;width:38px!important;height:38px!important;padding:6px!important;background:transparent;border:0;border-radius:7px;color:#64748b;cursor:pointer}
#knit035-folder-actions svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none}
#knit035-folder-actions button:hover,#knit035-folder-actions button:focus-visible{background:#dbeafe!important;color:#1d4ed8!important}
#workspace .sidebar .sidebar-current-view{min-height:38px;gap:2px;padding:0 1px}
#workspace .sidebar #new-folder{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:38px;padding:0!important;font-size:23px!important}
.knit038-account-panel{max-width:650px;padding:4px 0 32px}
.knit038-account-panel h2{font-size:21px;margin:14px 0}
.knit038-account-row{padding:14px 0;border-bottom:1px solid #e2e8f0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.knit038-account-row strong{font-size:13px}.knit038-account-row small{font-size:12px;word-break:break-word;color:#64748b}
.knit038-account-row .secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #dbe2ec;border-radius:7px;padding:9px 12px;font-size:13px;color:#2563eb}
.knit038-type-group{border-top:1px solid #e2e8f0;padding:9px 0}.knit038-type-group summary{cursor:pointer;font-weight:600}.knit038-type-group label{display:flex;flex-direction:column;gap:5px;margin:8px 0}.knit038-type-group select{max-width:100%}.knit038-overrides{margin:8px 0;padding:9px;background:#f7f9fc;border-radius:6px}.knit038-overrides summary{font-size:12px;color:#64748b}
#copy-note-link{font-size:15px;min-height:30px;padding:4px 7px}
@media(max-width:800px){
 #workspace .sidebar{padding:8px 9px 10px!important;gap:5px!important}
 #workspace .sidebar-top{min-height:40px;gap:5px!important}
 #workspace .sidebar-top .primary{min-height:38px;height:38px;padding:7px 11px!important}
 #workspace .sidebar .sidebar-view-tools{padding:2px 0 3px!important;gap:2px!important}
 #workspace .sidebar .sidebar-view-tools button{min-height:39px!important;padding:5px 1px!important}
 #workspace .sidebar .sidebar-view-tools svg{width:20px;height:20px}
 #workspace .sidebar .sidebar-current-view{min-height:38px}
 #workspace .sidebar .explorer-filters{margin:2px 0 4px!important}
 #workspace .sidebar .explorer-filters select{min-height:39px!important;padding:6px 10px!important}
 #workspace .sidebar .knit-tree-row{min-height:35px!important;padding-top:0!important;padding-bottom:0!important}
 #workspace .sidebar .knit-tree-row button{min-height:34px!important;padding-top:5px!important;padding-bottom:5px!important}
 #workspace .sidebar .knit-tree-row .tree-name{font-size:13px!important}
 #workspace .sidebar .side-nav{gap:2px!important;padding:5px 0 0!important;flex-direction:unset!important;flex-wrap:unset!important}
 #workspace .sidebar .side-nav button{min-height:40px!important;font-size:12px!important;padding:5px 2px!important}
 #workspace .sidebar #knit035-folder-actions button{min-width:40px!important;width:40px!important;height:40px!important}
 #workspace .sidebar #new-folder{min-height:40px!important}
 #workspace .sidebar .sidebar-view-body{min-height:0!important}
 .knit038-shared .knit036-field-row{grid-template-columns:1fr!important;gap:4px;padding:9px 2px}
}
/* Split preference is never overwritten at small widths: the same Markdown source remains editable. */
#body-md{resize:vertical;tab-size:2}
#editor-workarea.split>#body-md,#editor-workarea.split>#markdown-preview{min-width:0}
/* Legacy empty duplicate results area must not consume drawer space. */
#workspace #notes-heading[hidden],#workspace #entity-list[hidden]{display:none!important}
