/* Note Sync page shell — same header approach as /notifications/, full width, light by default. */
html,body{margin:0;background:#f3f3f3;min-height:100vh}
html[data-theme=dark],html[data-theme=dark] body{background:#18181b}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex;flex-direction:column;min-height:100vh}
.ntb{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 20px;background:#fff;border-bottom:1px solid #e4e4e7;box-sizing:border-box;width:100%;flex:none}
.ntb-l,.ntb-r{display:flex;align-items:center;gap:12px;position:relative}
.ntb-logo{width:40px;height:40px;border-radius:50%;background:#30288a;color:#fff;display:flex;align-items:center;justify-content:center;font:800 15px/1 Outfit,Inter,sans-serif;text-decoration:none}
.ntb-t{font:700 18px/1 Inter,sans-serif;color:#0f1d3a}
.ntb-c,.ntb-me{width:40px;height:40px;border-radius:50%;border:0;background:#e4e6eb;color:#050505;display:flex;align-items:center;justify-content:center;cursor:pointer;font:700 15px/1 Inter}
.ntb-c svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ntb-c .i-sun{display:none}html[data-theme=dark] .ntb-c .i-sun{display:block}html[data-theme=dark] .ntb-c .i-moon{display:none}
.ntb-me{background:#0866ff;color:#fff}
.ntb-menu{position:absolute;right:0;top:48px;background:#fff;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.18);padding:6px;min-width:220px;z-index:30}
.ntb-mh{padding:10px;font:600 14px Inter;color:#0f1d3a;border-bottom:1px solid #eee;word-break:break-all}
.ntb-menu button{display:block;width:100%;text-align:left;border:0;background:none;padding:10px;border-radius:6px;font:600 14px Inter;color:#050505;cursor:pointer}.ntb-menu button:hover{background:#f2f2f2}
.ns-main{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:none;box-sizing:border-box;padding-left:calc(var(--lcn-tab-w, 40px) + 12px)}
.ntb-me[hidden],.ntb-menu[hidden]{display:none!important}
html[data-theme=dark] .ntb{background:#242526;border-color:#3e4042}
html[data-theme=dark] .ntb-t{color:#e4e6eb}
html[data-theme=dark] .ntb-c{background:#3a3b3c;color:#e4e6eb}
html[data-theme=dark] .ntb-menu{background:#242526}html[data-theme=dark] .ntb-menu button,html[data-theme=dark] .ntb-mh{color:#e4e6eb}html[data-theme=dark] .ntb-menu button:hover{background:#3a3b3c}
html[data-theme=dark] .ntb-mh{border-bottom-color:#3e4042}
@media(max-width:700px){.ntb{padding:0 12px}.ntb-t{font-size:16px}}
