.nda-text{white-space:pre-wrap;overflow-wrap:anywhere}.nda-content{white-space:normal;gap:16px;min-width:0;max-width:100%;display:grid}.nda-download{min-height:44px;color:var(--info-text,#1d4ed8);overflow-wrap:anywhere;align-items:center;padding:8px 0;display:inline-flex}.nda-html{overflow-wrap:anywhere;min-width:0;color:var(--text,#101828);font-size:15px;line-height:1.65}.nda-html p{margin:0 0 1em}.nda-html h1,.nda-html h2,.nda-html h3,.nda-html h4{color:inherit;margin:1em 0 .6em;font-size:1.1em;line-height:1.4}.nda-html ul,.nda-html ol{padding-left:24px}.nda-html a{color:var(--info-text,#1d4ed8)}.nda-html img{max-width:100%;height:auto}.nda-html table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.nda-html td,.nda-html th{border:1px solid var(--line-strong,#cbd5e1);vertical-align:top;min-width:70px;padding:6px}.nda-pdf{min-width:0;max-width:100%}.nda-pdf-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.nda-pdf-controls button{border:1px solid var(--line-strong,#cbd5e1);background:var(--panel-alt,#f8fafc);min-width:44px;min-height:44px;color:var(--text,#101828);cursor:pointer;border-radius:8px}.nda-pdf-controls button:disabled{opacity:.45;cursor:default}.nda-pdf-stage{overscroll-behavior:contain;max-width:100%;min-height:100px;overflow:auto}.nda-pdf-stage canvas{background:#fff;display:block}.nda-pdf-stage [role=alert]{color:var(--danger-text,#b42318)}.nda-preview-dialog{width:min(850px,100% - 32px);max-width:calc(100% - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1px solid var(--line,#d8dee9);background:var(--panel,#fff);color:var(--text,#101828);border-radius:16px;margin:auto;padding:0}.nda-preview-dialog[open]{flex-direction:column;display:flex}.nda-preview-dialog::backdrop{background:var(--overlay,#0f172a6b)}.nda-preview-dialog header,.nda-preview-dialog footer{flex-shrink:0;padding:16px 20px}.nda-preview-dialog h3{overflow-wrap:anywhere;margin:0}.nda-preview-body{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow:auto}.nda-preview-dialog footer{border-top:1px solid var(--line,#d8dee9);padding-bottom:max(16px,env(safe-area-inset-bottom))}.nda-file-editor{gap:12px;min-width:0;display:grid}.nda-mode-tabs{flex-wrap:wrap;gap:8px;display:flex}.nda-mode-tabs button{border:1px solid var(--line-strong,#cbd5e1);background:var(--panel-alt,#f8fafc);min-height:44px;color:var(--text,#101828);cursor:pointer;border-radius:10px;padding:8px 12px}.nda-mode-tabs button[aria-pressed=true]{border-color:var(--info-text,#1d4ed8);box-shadow:inset 0 0 0 1px var(--info-text,#1d4ed8)}.nda-file-editor input[type=file]{min-width:0;max-width:100%;min-height:44px;font-size:16px}.nda-file-meta{overflow-wrap:anywhere;margin:0}.nda-file-editor .system-field input,.nda-file-editor textarea{box-sizing:border-box;width:100%;max-width:100%}.nda-file-editor textarea{min-height:150px}.nda-file-actions{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:900px){.nda-file-editor input,.nda-file-editor textarea,.nda-html{font-size:16px}}@media (max-width:560px){.nda-preview-dialog{border-radius:0;width:100%;max-width:100%;max-height:100dvh;margin:0;left:0;right:0}.nda-preview-dialog[open]{height:100dvh}.nda-preview-dialog header{padding-top:max(16px,env(safe-area-inset-top))}.nda-preview-dialog footer button{width:100%;min-height:44px}}
