/* Notes workspace: neutral surfaces, restrained shared accent. */
body.nt-body { margin:0; overflow:hidden; background:var(--sol-base,#202020); color:var(--tx-1,#fff); }
.nt-body [hidden] { display:none!important; }
.nt-body .nt { --nt-bg:var(--sol-base,#202020); --nt-panel:var(--sol-tert,#282828); --nt-line:var(--stroke-2,#393939); --nt-muted:var(--tx-3,#aaa); --nt-soft:color-mix(in srgb,var(--acc,#4cc2ff) 11%,transparent); display:grid; grid-template-columns:210px 310px minmax(0,1fr); width:100%; height:calc(100dvh - 44px); min-height:0; }
.nt *, .nt *::before,.nt *::after { box-sizing:border-box; }
.nt svg,#toasty svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.nt [data-icon] { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.nt button,.nt input,.nt select { font:inherit; }
.nt button { cursor:pointer; }.nt button:disabled { opacity:.45; cursor:wait; }
.nt :is(button,a,input,select):focus-visible { outline:2px solid var(--acc,#4cc2ff); outline-offset:3px; }
.nt-skip { position:fixed; top:-60px; left:10px; z-index:9999; padding:10px; background:var(--sol-quart); color:var(--acc); }.nt-skip:focus { top:5px; }
.nt-nav { display:flex; flex-direction:column; padding:27px 15px 15px; border-right:1px solid var(--nt-line); background:var(--sol-alt,#1c1c1c); min-height:0; overflow:auto; }
.nt-brand { display:flex; align-items:center; gap:10px; padding:0 5px; margin-bottom:25px; }.nt-brand-icon { width:35px; height:39px; background:var(--nt-soft); color:var(--acc); border:1px solid color-mix(in srgb,var(--acc) 20%,transparent); border-radius:9px; }.nt-brand-icon svg { width:22px; height:22px; }
.nt-brand strong { display:block; font-size:20px; font-weight:650; }.nt-brand small { display:block; color:var(--nt-muted); font-size:9px; margin-top:2px; }
.nt .nt-primary { display:flex; align-items:center; justify-content:center; gap:8px; padding:11px 13px; min-height:40px; border:0; border-radius:8px; background:var(--acc-deep,#0078d4); color:#fff; font-size:12px; font-weight:600; }.nt-primary:hover { filter:brightness(1.1); }
.nt-nav-label { color:var(--nt-muted); padding:29px 10px 10px; font-size:9px; font-weight:600; }
.nt-nav nav { display:grid; gap:5px; }.nt-nav nav button { display:flex; align-items:center; gap:10px; width:100%; border:1px solid transparent; padding:11px 10px; border-radius:7px; background:transparent; color:var(--tx-2); font-size:12px; text-align:left; }.nt-nav nav button:hover { background:var(--ctrl-hover); }.nt-nav nav button[aria-pressed=true] { background:var(--nt-soft); color:var(--tx-1); border-color:color-mix(in srgb,var(--acc) 16%,transparent); }.nt-nav nav button[aria-pressed=true] svg { color:var(--acc); }.nt-nav nav b { margin-left:auto; font-size:10px; font-weight:500; color:var(--nt-muted); }.nt-nav nav svg { width:16px; height:16px; }
.nt-nav-bottom { margin-top:auto; padding-top:35px; }.nt-nav-bottom>a { display:flex; align-items:center; gap:9px; padding:11px 10px; color:var(--tx-2); font-size:12px; text-decoration:none; border-top:1px solid var(--nt-line); border-bottom:1px solid var(--nt-line); }.nt-nav-bottom>a>span:last-child { margin-left:auto; }.nt-storage { display:flex; align-items:center; gap:7px; padding:18px 10px 0; color:var(--tx-2); font-size:10px; }.nt-storage i { width:5px; height:5px; border-radius:50%; background:#6ccb5f; }.nt-nav-bottom p { font-size:10px; line-height:1.7; color:var(--nt-muted); padding:0 10px; }
.nt-library { display:flex; flex-direction:column; min-height:0; min-width:0; background:var(--nt-bg); border-right:1px solid var(--nt-line); }
.nt-library-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:27px 20px 18px; }.nt-eyebrow { display:block; font-size:9px; font-weight:600; color:var(--nt-muted); margin-bottom:7px; }.nt-library h1 { margin:0; font-size:19px; font-weight:600; line-height:1.4; }
.nt .nt-icon { display:inline-grid; place-items:center; min-width:32px; width:32px; height:32px; padding:0; border:1px solid transparent; border-radius:7px; background:transparent; color:var(--tx-2); }.nt-icon:hover { background:var(--ctrl-hover); }.nt .nt-icon[aria-pressed=true] { color:var(--acc); background:var(--nt-soft); }
.nt-search { display:flex; align-items:center; gap:8px; margin:0 18px; padding:0 10px; height:38px; border:1px solid var(--nt-line); border-radius:7px; background:var(--sol-tert); color:var(--nt-muted); }.nt-search svg { width:15px; height:15px; }.nt .nt-search input { width:100%; min-width:0; height:100%; border:0!important; background:transparent!important; padding:0!important; outline:none; box-shadow:none!important; color:var(--tx-1); font-size:11px!important; }.nt-search:focus-within { border-color:var(--acc); }.nt-search kbd { white-space:nowrap; font-size:8px; opacity:.65; }
.nt-list-options { display:flex; align-items:center; justify-content:space-between; gap:5px; padding:17px 20px 12px; color:var(--nt-muted); font-size:10px; }.nt .nt-list-options select { width:137px; padding:3px 15px 3px 3px; height:26px; border:0!important; background-color:transparent!important; color:var(--tx-2); font-size:10px!important; }
.nt-seznam { flex:1; min-height:0; overflow:auto; padding:0 10px 12px; }.nt-group-label { font-size:9px; color:var(--nt-muted); font-weight:600; padding:15px 10px 8px; }
.nt .nt-polozka { display:block; width:100%; margin-bottom:6px; padding:15px 12px; background:transparent; border:1px solid transparent; border-radius:9px; text-align:left; color:inherit; position:relative; }.nt-polozka:hover { background:var(--ctrl); }.nt .nt-polozka.je { background:var(--sol-tert); border-color:var(--nt-line); box-shadow:inset 3px 0 var(--acc); }.nt-card-title { display:flex; align-items:center; gap:8px; margin-bottom:7px; }.nt-card-title>svg { width:14px; height:14px; color:var(--acc); }.nt-card-title b { font-size:13px; font-weight:600; flex:1; min-width:0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }.nt-card-title .nt-card-pin { width:11px; color:var(--nt-muted); }.nt-polozka .nahled { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:11px; line-height:1.65; color:var(--nt-muted); overflow-wrap:anywhere; min-height:18px; }.nt-polozka .radka { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; font-size:9px; color:var(--nt-muted); }.nt-task-progress { display:flex; align-items:center; gap:5px; }.nt-task-progress svg { width:12px; height:12px; }.nt-prazdno { display:grid; justify-items:center; gap:10px; padding:40px 20px; text-align:center; font-size:12px; color:var(--nt-muted); }.nt-prazdno svg { width:28px; height:28px; opacity:.5; }.nt-prazdno button { font-size:11px; padding:8px; border:0; border-radius:6px; background:var(--nt-soft); color:var(--acc); }
.nt-library-foot { display:flex; align-items:center; gap:7px; font-size:9px; padding:15px 20px; border-top:1px solid var(--nt-line); color:var(--nt-muted); }.nt-library-foot svg { width:12px; height:12px; }
.nt-workspace { display:flex; flex-direction:column; min-width:0; min-height:0; background:var(--sol-alt); }.nt-workbar { height:64px; flex-shrink:0; display:flex; align-items:center; gap:12px; padding:0 24px; border-bottom:1px solid var(--nt-line); background:var(--nt-bg); }.nt-breadcrumb { display:flex; align-items:center; gap:9px; color:var(--tx-2); font-size:11px; min-width:0; }.nt-breadcrumb>span:last-child { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:190px; }.nt-breadcrumb svg { width:15px; height:15px; opacity:.6; }#stav { margin-left:auto; white-space:nowrap; font-size:10px; color:var(--nt-muted); }#stav.error { color:var(--err,#ff99a4); }.nt-actions { display:flex; align-items:center; gap:6px; }.nt .nt-cloud { display:flex; align-items:center; gap:7px; border:1px solid var(--nt-line); border-radius:7px; background:var(--sol-tert); color:var(--tx-1); padding:8px 11px; font-size:10px; }.nt-cloud:hover { border-color:var(--acc); }.nt-cloud svg { width:15px; height:15px; }.nt-more-wrap { position:relative; }.nt-menu { position:absolute; top:40px; right:0; z-index:30; width:210px; padding:6px; border:1px solid var(--nt-line); border-radius:9px; background:var(--sol-quart); box-shadow:0 10px 30px #0004; }.nt-menu button { display:flex; align-items:center; gap:10px; width:100%; padding:10px; background:transparent; border:0; border-radius:5px; color:var(--tx-1); font-size:12px; text-align:left; }.nt-menu button:hover { background:var(--ctrl-hover); }.nt-menu svg { width:15px; height:15px; }.nt-menu .nt-danger { color:var(--err,#ff99a4); border-top:1px solid var(--nt-line); border-radius:0; margin-top:4px; }
.nt-editor-scroll { flex:1; min-height:0; overflow:auto; padding:30px 34px 48px; }#editor { outline:none; }.nt-statusbar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 24px; border-top:1px solid var(--nt-line); font-size:9px; color:var(--nt-muted); background:var(--nt-bg); }.nt-trash-banner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:15px; padding:12px 16px; border-radius:8px; background:var(--nt-soft); font-size:12px; }.nt-trash-banner button { color:var(--acc); background:transparent; border:0; }
.nt-welcome { max-width:780px; min-height:100%; margin:0 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:28px 0; }.nt-welcome-mark { width:68px; height:72px; display:grid; place-items:center; margin-bottom:25px; border-radius:17px; border:1px solid color-mix(in srgb,var(--acc) 22%,transparent); background:var(--nt-soft); color:var(--acc); box-shadow:0 10px 35px #00000012; }.nt-welcome-mark svg { width:32px; height:32px; }.nt-welcome h2 { font-size:clamp(25px,2.6vw,38px); line-height:1.2; font-weight:600; margin:7px 0 16px; }.nt-welcome p { font-size:12px; line-height:1.9; color:var(--nt-muted); margin:0 0 25px; }.nt-welcome>.nt-primary { min-width:150px; }.nt-templates { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; width:100%; margin:45px 0 24px; }.nt .nt-templates button { position:relative; display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:19px 16px; border:1px solid var(--nt-line); border-radius:10px; background:var(--nt-bg); color:var(--tx-1); }.nt-templates button:hover { border-color:var(--acc); background:var(--nt-panel); }.nt-templates button>span { margin-bottom:17px; color:var(--acc); }.nt-templates strong { font-size:11px; font-weight:600; }.nt-templates small { font-size:10px; color:var(--nt-muted); margin-top:6px; }.nt-templates b { position:absolute; right:14px; top:17px; color:var(--nt-muted); font-weight:400; }.nt-welcome-tip { font-size:10px; color:var(--nt-muted); }
.nt .nt-back { display:none; }
#toasty { position:fixed; bottom:25px; left:50%; transform:translateX(-50%); display:grid; gap:8px; z-index:400; max-width:calc(100vw - 28px); }.nt-toast { display:flex; align-items:center; gap:14px; padding:13px 17px; border:1px solid var(--stroke-strong); border-radius:9px; background:var(--sol-quart); box-shadow:0 10px 30px #0005; color:var(--tx-1); font-size:12px; }.nt-toast.chyba { color:var(--err,#ff99a4); }.nt-toast button { cursor:pointer; padding:0; border:0; background:transparent; color:var(--acc); font-size:12px; white-space:nowrap; }
@media(min-width:1600px){.nt-body .nt { grid-template-columns:225px 345px minmax(0,1fr); }.nt-editor-scroll { padding:42px 58px; }}
@media(max-width:1200px){.nt-body .nt { grid-template-columns:180px 270px minmax(0,1fr); }.nt-brand small { font-size:8px; }.nt-nav { padding-inline:10px; }.nt-nav nav button { font-size:11px; }.nt-editor-scroll { padding:22px 20px; }.nt-workbar { padding:0 15px; gap:7px; }.nt-breadcrumb>span:last-child { max-width:120px; }.nt-cloud>span:last-child { display:none; }.nt-templates { gap:8px; }.nt-templates button { padding:14px 10px!important; }}
@media(max-width:980px){.nt-body .nt { grid-template-columns:245px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); }.nt-nav { grid-column:1/-1; display:flex; flex-direction:row; align-items:center; padding:8px 14px; gap:18px; overflow:auto; border-right:0; border-bottom:1px solid var(--nt-line); }.nt-brand { margin:0; padding:0; }.nt-brand small,.nt-brand-icon,.nt-nav-label,.nt-nav-bottom,.nt-nav>.nt-primary { display:none; }.nt-brand strong { font-size:16px; }.nt-nav nav { display:flex; gap:4px; }.nt-nav nav button { width:auto; white-space:nowrap; padding:8px 9px; gap:6px; }.nt-nav nav b { margin-left:3px; }.nt-library,.nt-workspace { grid-row:2; }.nt-library-head { padding:21px 16px 16px; }.nt-library h1 { font-size:17px; }.nt-search { margin:0 13px; }.nt-search kbd { display:none; }.nt-workbar #stav { font-size:9px; }.nt-breadcrumb>span:last-child { max-width:80px; }}
@media(max-width:700px){.nt-body .nt { grid-template-columns:minmax(0,1fr); }.nt-nav { gap:12px; }.nt-nav nav button { font-size:0; gap:5px; }.nt-nav nav button svg { width:18px; height:18px; }.nt-nav nav button b { font-size:10px; }.nt-nav nav button[aria-pressed=true] { border-color:var(--acc); }.nt-library { grid-column:1; border:0; }.nt-workspace { grid-column:1; }.nt-body.nt-otevreno .nt-library { display:none; }.nt-body:not(.nt-otevreno) .nt-workspace { display:none; }.nt .nt-back { display:grid; }.nt-workbar { height:55px; padding:0 10px; gap:4px; }.nt-breadcrumb { display:none; }.nt-workbar #stav { margin:0 auto 0 0; font-size:10px; }.nt-editor-scroll { padding:14px 10px 28px; }.nt-search { margin:0 18px; }.nt-library-head { padding:23px 20px 18px; }.nt-library h1 { font-size:23px; }.nt-statusbar { padding:10px 14px; }.nt-welcome { padding:24px 8px; }.nt-templates { grid-template-columns:1fr; margin-top:28px; }.nt-welcome-mark { width:50px; height:55px; margin-bottom:18px; }.nt-templates button { padding:16px!important; }.nt-templates button>span { margin-bottom:10px; }.nt .nyxn-paper { padding-left:20px; padding-right:37px; }}
@media(prefers-reduced-motion:reduce){.nt * { animation:none!important; transition:none!important; }}

/* Keep the application layout independent of the legacy generic main/footer skin. */
body.nt-body .nt-workspace { margin:0!important; padding:0!important; width:auto!important; max-width:none!important; }
body.nt-body .nt-statusbar { margin:0!important; text-align:left!important; }
@media(max-width:980px){.nt .nt-brand-icon { display:none!important; }}
@media(max-width:700px){.nt-nav nav button { font-size:0!important; }.nt-nav nav button b { font-size:10px!important; }}
body.nt-body .nt-statusbar { padding:10px 20px!important; flex:0 0 auto; min-height:0; }
