.auth-pending>header,.auth-pending>main,.auth-pending>footer,.auth-pending>.document-bar{visibility:hidden}
.document-bar{min-height:48px;display:flex;align-items:center;gap:7px;padding:7px 20px;background:#f3f6ee;border-bottom:1px solid #dce3d2;flex-wrap:wrap}.document-bar button{font-size:13px;padding:5px 9px}.bar-spacer{flex:1}.badge{font-size:12px;padding:4px 10px;border-radius:12px;background:#e4e9d6;color:#3c5228;text-transform:capitalize}
main{height:calc(100dvh - 155px)}header{gap:8px;padding:0 16px}.brand{font-size:19px;margin-right:4px}#title{width:220px}#saveState{display:none}.readonly .library .shape-button{pointer-events:none;opacity:.5}.readonly .handle{display:none}.readonly .node{cursor:pointer}.check{display:flex;flex-direction:row;align-items:center;gap:8px}.check input{width:auto}#decisionTools{padding:10px 0;border-bottom:1px solid #e4e8ed;margin-bottom:12px}#decisionTools button{padding:8px 4px}.bend-handle{fill:#fff;stroke:#6254ed;stroke-width:3;cursor:move}.draggable-label{cursor:move}.wide-dialog{width:820px}.library-filters{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin-bottom:14px}.file-info{flex:1;min-width:0}.file-info button{text-align:left;font-weight:600;overflow-wrap:anywhere;max-width:100%}.file-info p,.version-row p{font-size:13px;color:#617086;margin:5px 0}.version-row{padding:12px 0;border-bottom:1px solid #e1e6ee}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}dialog{max-height:90dvh;overflow:auto}dialog label{display:flex;flex-direction:column;gap:6px;margin:12px 0}dialog label.check{flex-direction:row}dialog p{font-size:14px;line-height:1.6}#loginDialog{width:390px}#loginError{color:#b4233a}#walkText{font-size:22px;white-space:pre-wrap;overflow-wrap:anywhere;margin:25px 0}#walkTrail{font-size:12px;color:#66758a;max-height:90px;overflow:auto}#approvedTemplates{display:flex;gap:8px;flex-wrap:wrap}#userList{max-height:230px;overflow:auto}#fileList{max-height:50vh}#accountInfo{text-transform:capitalize}
@media(max-width:1050px){header{flex-wrap:wrap;height:auto;min-height:90px;padding:8px}#title{flex:1}.document-bar{padding:6px 10px}main{height:calc(100dvh - 188px)}}
@media(max-width:760px){.document-bar{gap:4px;min-height:82px}.document-bar button{font-size:12px}main{height:calc(100dvh - 223px)}.inspector{top:195px;max-height:60vh}.library-filters{grid-template-columns:1fr}.file-row{flex-wrap:wrap}.brand{font-size:18px}dialog{padding:16px}.template-grid{grid-template-columns:1fr}}
#versionPreviewText{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 system-ui}
.marquee{fill:#6354ed18;stroke:#6354ed;stroke-width:1.5;stroke-dasharray:5 3;pointer-events:none;vector-effect:non-scaling-stroke}.text-actions{margin-top:-8px;margin-bottom:16px}.text-actions button{margin-bottom:0}#selectionSummary:empty{display:none}
@media print{.document-bar{display:none!important}main{height:auto}.bend-handle{display:none}}
