.nxd-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.nxd-card-footer .nxd-add{width:30px;height:30px;padding:0;flex:0 0 30px;border:1px solid var(--line);border-radius:8px;font-size:22px;line-height:1;background:transparent;color:var(--ink)}.nxd-add:hover{border-color:var(--cyan,#87d4e6);background:var(--surface)}
#np-root{width:min(1180px,calc(100vw - 24px));max-width:none;height:calc(100dvh - 24px);max-height:none;margin:12px auto;padding:0;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:14px;overflow:auto}#np-root::backdrop{background:#000b;backdrop-filter:blur(5px)}.np-top{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:12px;padding:12px 20px;background:var(--bg);border-bottom:1px solid var(--line)}#np-status{flex:1;font-size:11px;color:var(--muted)}#np-status.error{color:#f3787d}.np-canvas{max-width:940px;margin:auto;padding:40px 35px 100px}.np-title{display:block;width:100%;font-size:clamp(26px,4vw,40px);font-weight:750;line-height:1.4;background:transparent;color:var(--ink);border:0;margin:14px 0 30px;padding:8px 0;white-space:normal}.np-team-actions,.np-add,.np-table-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.np-block{margin:12px 0;border:1px solid transparent;border-radius:9px;padding:6px 10px;min-width:0}.np-block:hover,.np-block:focus-within{border-color:var(--line)}.np-block-tools{display:flex;gap:6px;align-items:center;opacity:.45;margin-bottom:5px}.np-block:hover .np-block-tools,.np-block:focus-within .np-block-tools{opacity:1}.np-block-tools small{flex:1}.np-block-tools button,.np-block-tools select{padding:3px 7px;font-size:11px;min-height:26px}.np-text{display:block;resize:vertical;min-height:40px;width:100%;border:0;background:transparent;color:var(--ink);font-family:inherit;font-size:14px;line-height:1.85;padding:5px 0;overflow:hidden}.np-text.bold{font-weight:750}.np-text.italic{font-style:italic}.np-heading .np-text{font-size:25px;font-weight:700}.np-code{font-family:monospace;background:var(--surface,#141820)}.np-check .np-block-body,.np-bullet .np-block-body{display:flex;align-items:start;gap:12px}.np-check input{margin-top:16px}.np-bullet .np-block-body>span{padding-top:8px}.np-quote{border-left:3px solid var(--cyan,#82dcec)}.np-callout{background:var(--surface,#141820);border-color:var(--line)}.np-block a{overflow-wrap:anywhere;color:var(--cyan,#82dcec)}.np-block img{display:block;max-width:100%;max-height:550px;object-fit:contain;border-radius:10px;margin:12px 0}.np-block input:not([type=checkbox]),.np-block select,.np-add select{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:8px;max-width:100%}.np-file input,.np-image input{width:100%;margin-top:8px}.np-table-heading{display:flex;gap:10px;margin:10px 0}.np-table-heading input{min-width:0;width:50%}.np-table-scroll{overflow:auto;max-height:550px;border:1px solid var(--line);border-radius:8px}.np-table-scroll table{table-layout:auto;width:100%;min-width:450px}.np-table-scroll th,.np-table-scroll td{white-space:normal;min-width:130px;padding:8px;vertical-align:top}.np-table-scroll th{position:sticky;top:0;background:var(--bg);z-index:1}.np-table-scroll td input:not([type=checkbox]),.np-table-scroll td select{width:100%;min-width:115px}.np-table-scroll th button{padding:2px 7px;font-size:12px}.np-add label{display:grid;gap:8px;font-size:12px}.np-add button{align-self:end}.np-help{color:var(--muted);font-size:11px;line-height:1.8}.np-children{border-top:1px solid var(--line);padding:20px 0;margin-top:30px}.np-children button{display:block;margin:8px 0;width:100%;text-align:left}.np-attachments{margin-top:20px}.np-attachments>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0}.np-attachments a{overflow-wrap:anywhere}.np-attachments summary{cursor:pointer}html[data-theme=light] .np-code,html[data-theme=light] .np-callout{background:#edf3f7}
@media(max-width:600px){#np-root{width:100vw;height:100dvh;margin:0;border-radius:0}.np-top{padding:10px;gap:6px;flex-wrap:wrap}.np-top button{font-size:11px;padding:8px}#np-status{order:4;width:100%;flex:auto}.np-canvas{padding:25px 12px 80px}.np-block{padding:5px}.np-table-heading{flex-direction:column}.np-table-heading input{width:100%}}
@media print{body:has(#np-root[open])>*:not(#np-root){display:none!important}#np-root[open]{position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;border:0!important;color:black;background:white}.np-top,.np-block-tools,.np-add,.np-help,.np-table-actions,.np-attachments,.np-team-actions{display:none!important}.np-canvas{padding:0;max-width:none}.np-block{break-inside:avoid}.np-table-scroll{max-height:none;overflow:visible}.np-text,.np-title{color:black!important}.np-table-scroll th{position:static}.np-table-scroll button,.np-table-heading input[type=search]{display:none!important}}

/* Each task opens as a document, with live table properties above its content. */
table.nx-resizable td.nx-task-title-cell{position:relative;padding-right:54px!important}.nx-task-page-open{position:absolute;right:5px;top:12px;width:43px;height:27px;padding:0!important;display:grid;place-items:center;border:1px solid transparent!important;border-radius:6px;background:transparent!important;color:var(--muted);font-size:11px!important;line-height:1}.nx-task-page-open:hover,.nx-task-page-open:focus-visible{color:var(--ink);background:var(--surface)!important;border-color:var(--line)!important}.np-task-title{resize:none;overflow:hidden;min-height:60px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.np-task-properties{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin:0 0 32px;padding:0 0 24px;border-bottom:1px solid var(--line)}.np-task-properties>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;padding:9px 0;align-items:start}.np-task-properties dt{font-size:12px;color:var(--muted);padding-top:4px}.np-task-properties dd{margin:0;font-size:13px;line-height:1.7;display:flex;gap:5px;flex-wrap:wrap;overflow-wrap:anywhere}.np-property-empty{color:var(--muted)}.np-heading-level-3 .np-text{font-size:20px}#np-root .np-block-tools{opacity:0}#np-root .np-block:hover .np-block-tools,#np-root .np-block:focus-within .np-block-tools{opacity:1}@media(hover:none){#np-root .np-block-tools{opacity:.6}}@media(max-width:700px){.np-task-properties{grid-template-columns:1fr}.np-task-properties>div{grid-template-columns:105px minmax(0,1fr)}.np-task-title{font-size:25px}}@media print{.nx-task-page-open{display:none!important}.np-task-properties{break-inside:avoid}}
#ntb-root table.nx-resizable td.nx-task-title-cell{padding-right:54px!important}

/* Routed documents share the app shell, with continuous editable prose. */
#np-root{width:100%;max-width:none;height:auto;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:visible;background:transparent;color:var(--ink)}
#np-root .np-top{position:static;padding:8px 0 14px;background:transparent}
#np-root .np-canvas{max-width:1000px;padding:24px 28px 90px;margin:0 auto}
#np-root .np-title{border:0;background:none;padding:0;outline:none;min-height:40px;margin:10px 0 26px;white-space:pre-wrap;overflow-wrap:anywhere}
#np-root .np-block{position:relative;border:0;border-radius:0;padding:0;margin:8px 0}
#np-root .np-block:hover,#np-root .np-block:focus-within{border:0}
#np-root .np-text{border:0;outline:none;background:none;box-shadow:none;resize:none;min-height:30px;padding:2px 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;overflow:visible}
#np-root .np-text:empty::before{content:attr(data-placeholder);color:var(--muted);opacity:.5;pointer-events:none}
#np-root .np-heading{margin-top:30px;margin-bottom:8px}
#np-root .np-block-tools{position:absolute;right:0;top:-22px;z-index:3;margin:0;opacity:0;font-size:12px}
#np-root .np-block:hover .np-block-tools,#np-root .np-block:focus-within .np-block-tools,#np-root .np-block-tools[open]{opacity:1}
.np-block-tools>summary{cursor:pointer;list-style:none;color:var(--muted);padding:2px 6px;background:var(--bg)}
.np-block-controls{position:absolute;right:0;min-width:220px;display:flex;gap:5px;flex-wrap:wrap;background:var(--bg);border:1px solid var(--line);padding:8px;box-shadow:0 8px 20px #0002}
#np-root .np-blank{min-height:80px;margin-top:18px}
#np-root .np-task-properties input[type=date]{border:0;box-shadow:none;background:transparent;color:inherit;padding:0;min-height:0;font:inherit}
#np-root .np-check input{margin-top:7px}#np-root .np-bullet .np-block-body>span{padding-top:2px}
@media(max-width:650px){#np-root .np-canvas{padding:20px 0 70px}#np-root .np-top{gap:8px;flex-wrap:wrap}#np-root .np-block-tools{position:relative;top:auto;opacity:.6;width:max-content;margin-left:auto}.np-block-controls{z-index:4}}
@media print{#np-root{overflow:visible!important}#np-root [contenteditable]{border:0!important;box-shadow:none!important}.np-insert-menu,.np-blank,.np-block-tools{display:none!important}.np-text:empty::before{content:none!important}}

body:has(#np-root) .viewbar,body:has(#ni-root) .viewbar{display:none!important}
