.nb{flex-direction:column;gap:20px;display:flex}.nb h1,.nb h2,.nb h3{margin:0}.nb-hero{border-radius:32px;grid-template-columns:1fr auto;align-items:center;gap:18px 24px;padding:28px;display:grid}.nb-kicker{letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700}.nb-hero h1{color:var(--ink);margin:4px 0 6px;font-size:clamp(24px,3vw,34px)}.nb-hero-text p:last-child{color:var(--muted);font-size:15px}.nb-new{color:#fff;background:linear-gradient(135deg, #8a6ad6, var(--accent-deep,#5a3fa0));border:0;border-radius:999px;align-items:center;gap:8px;padding:12px 20px;font-weight:700;display:inline-flex;box-shadow:0 12px 24px -14px #5a3fa0cc}.nb-new:disabled{opacity:.5}.nb-stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.nb-stats li{background:#ffffffa6;border:1px solid #ffffffe6;border-radius:20px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.nb-stats strong{color:var(--accent-deep,var(--accent));font-size:28px;line-height:1.1}.nb-stats span{color:var(--muted);font-size:13px}.nb-stats li[data-k=bell] strong{color:var(--red)}.home.is-dark .nb-stats li{background:#ffffff0f;border-color:#ffffff1a}.home.is-dark .nb-stats strong{color:var(--ink)}.nb-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.nb-cal-head{justify-content:space-between;align-items:center;display:flex}.nb-cal-head h2{color:var(--ink);font-size:20px}.nb-cal-head button{background:var(--tile-soft);width:38px;height:38px;color:var(--accent);border:0;border-radius:50%;font-size:22px;line-height:1}.nb-week,.nb-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.nb-week span{text-align:center;color:var(--muted);font-size:12px;font-weight:700}.nb-week .sun,.nb-day.sun b{color:var(--red)}.nb-day{background:var(--tile-soft);min-height:64px;color:var(--ink);text-align:left;border:1px solid #0000;border-radius:16px;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:8px;transition:transform .15s,box-shadow .15s;display:flex;position:relative}.nb-day.is-empty{background:0 0}.nb-day b{font-size:16px}.nb-day small{color:var(--muted);font-family:Noto Sans Khmer,sans-serif;font-size:10px}.nb-day:hover{transform:translateY(-1px);box-shadow:0 8px 18px -12px #5a3fa099}.nb-day.has-note{background:#e6dbfb}.nb-day.has-bell{background:linear-gradient(160deg,#f1e3fb,#e2d3fa)}.nb-day.is-today{border-color:var(--accent)}.nb-day.is-picked{background:var(--accent);color:#fff}.nb-day.is-picked b,.nb-day.is-picked small{color:#fff}.home.is-dark .nb-day.has-note,.home.is-dark .nb-day.has-bell{background:#3a2c5c}.nb-count{background:var(--accent);color:#fff;border-radius:999px;align-items:center;gap:2px;padding:2px 7px;font-size:11px;font-style:normal;font-weight:700;display:inline-flex;position:absolute;bottom:6px;right:6px}.nb-day.has-bell .nb-count{background:var(--red)}.nb-day.is-picked .nb-count{color:var(--accent);background:#fff}.nb-legend{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:12px;display:flex}.nb-legend span{align-items:center;gap:6px;display:inline-flex}.nb-legend .dot{border-radius:50%;width:10px;height:10px}.dot.note{background:var(--accent)}.dot.bell{background:var(--red)}.dot.today{border:2px solid var(--accent)}.nb-timeline ol{border-left:2px dashed var(--line);flex-direction:column;gap:10px;margin:0;padding:0 0 0 10px;list-style:none;display:flex}.nb-timeline li button,.nb-group li button{background:var(--tile-soft);width:100%;color:var(--ink);text-align:left;border:0;border-radius:18px;align-items:center;gap:12px;padding:10px 12px;display:flex}.nb-timeline li{position:relative}.nb-timeline li:before{content:"";background:var(--accent);width:12px;height:12px;box-shadow:0 0 0 3px var(--tile);border-radius:50%;margin-top:-6px;position:absolute;top:50%;left:-17px}.nb-timeline li.is-bell:before{background:var(--red)}.nb-timeline time{background:var(--tile);border-radius:12px;flex-direction:column;align-items:center;min-width:44px;padding:4px;display:flex}.nb-timeline time b{color:var(--accent);font-size:18px}.nb-timeline time small{color:var(--muted);font-size:11px}.nb-timeline span,.nb-text{flex-direction:column;flex:1;min-width:0;display:flex}.nb-timeline strong,.nb-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.nb-timeline span small,.nb-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.nb-bell{color:var(--red);display:inline-flex}.nb-list-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.nb-list-head h2{color:var(--ink);align-items:center;gap:8px;font-size:20px;display:inline-flex}.nb-list-head h2 span{background:var(--tile-soft);color:var(--accent);border-radius:999px;padding:2px 10px;font-size:13px}.nb-list-head input{border:1px solid var(--line);min-width:220px;font:inherit;background:var(--tile-soft);color:var(--ink);border-radius:999px;flex:0 320px;padding:10px 16px}.nb-chips{flex-wrap:wrap;gap:8px;display:flex}.nb-chips button{border:1px solid var(--line);background:var(--tile);color:var(--muted);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}.nb-chips button.on{background:var(--accent);border-color:var(--accent);color:#fff}.nb-groups{flex-direction:column;gap:16px;display:flex}.nb-group h3{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:600;display:flex}.nb-group h3 span{color:var(--accent);font-weight:700}.nb-group h3 em{background:var(--accent);color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-style:normal}.nb-group ul{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px;display:grid}.nb-group li.is-past button{opacity:.65}.nb-time{color:var(--accent);min-width:64px;font-size:12px;font-weight:700}.nb-tag{color:var(--red);background:var(--rose);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:700;display:inline-flex}.nb-tag.done{color:var(--muted);background:var(--tile)}.nb-empty{color:var(--muted);flex-direction:column;align-items:flex-start;gap:12px;padding:12px 0;display:flex}@media (max-width:1000px){.nb-grid{grid-template-columns:1fr}}@media (max-width:640px){.nb-hero{grid-template-columns:1fr;padding:20px}.nb-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.nb-day{min-height:52px;padding:5px}.nb-day small{display:none}.nb-count{padding:1px 5px;bottom:3px;right:3px}.nb-count svg{display:none}.nb-list-head input{flex:100%;min-width:0}}
