/* Shared task controls and the direct Today queue. */
#next-board .nx-feedback-action{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin-top:18px;padding:12px 16px;border:1px solid #a9e5ea35;border-radius:10px;background:linear-gradient(110deg,#0b171d,#10232b);color:var(--nb-accent);font-size:14px;text-decoration:none;box-shadow:0 3px 20px -12px var(--cs-flow)}
#next-board .nx-feedback-action:hover{border-color:#a9e5ea70}
#next-board .nx-feedback-action:focus-visible{outline:2px solid var(--nb-accent);outline-offset:4px}
#next-board .nx-beta-intro{font-size:14px;margin:0 0 24px;line-height:1.6}
/* Keep destructive confirmation copy and actions on the same reading column. */
#next-board .nb-drawer:has(.nx-project-delete-confirm) .nb-drawer-head{max-width:620px;margin:0 auto 20px;min-height:44px;--nx-close-y:0px}
#next-board .nb-drawer:has(.nx-project-delete-confirm) .nb-drawer-head h2{overflow-wrap:anywhere;line-height:1.3}
#next-board .nx-project-delete-confirm{display:grid;gap:24px}
#next-board .nx-project-delete-confirm>p{margin:0}
#next-board .nx-project-delete-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#next-board .nx-project-delete-actions>button{min-height:48px;margin:0;padding:12px 18px;border-radius:10px}
#next-board .nx-project-delete{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 18px;border:0;border-radius:10px;font-size:14px;color:#280b10;background:linear-gradient(110deg,#ee8997,#ffc0c5);box-shadow:0 3px 20px -12px #ff7388;transition:box-shadow 180ms ease,filter 180ms ease}
@media(hover:hover){#next-board .nx-project-delete:hover{filter:brightness(1.06);box-shadow:0 3px 24px -9px #ff7388}}
#next-board .nx-project-delete:active{filter:brightness(.95)}
#next-board .nx-project-delete:focus-visible{outline:2px solid #ffc0c5;outline-offset:4px}
#next-board .nx-project-delete-link{background:transparent;border:0;border-radius:4px;box-shadow:none;padding:10px 0;min-height:44px;font-size:13px;color:#f2a2ad;text-shadow:0 0 5px #ff73888c,0 0 20px #ff738847;transition:color 180ms ease,text-shadow 180ms ease}
@media(hover:hover){#next-board .nx-project-delete-link:hover{color:#ffd4da;text-shadow:0 0 5px #ff7388aa,0 0 20px #ff738866}}
#next-board .nx-project-delete-link:focus-visible{outline:2px solid #ffc0c5;outline-offset:4px}
@media(prefers-reduced-motion:reduce){#next-board .nx-project-delete-link{transition:none}}
@media(prefers-reduced-motion:reduce){#next-board .nx-project-delete{transition:none}}
#next-board{--nx-space-copy:8px;--nx-space-note:16px;--nx-space-section:24px}
/* Supporting copy follows a shared rhythm; layout containers own the outer gaps. */
#next-board :is(.nb-muted,.nb-form-note,.nb-detail-copy,.nb-task-project){line-height:1.6}
#next-board .nb-task-project{margin-top:var(--nx-space-copy)}
#next-board [data-drawer-body]>p.nb-muted:not(:empty){margin-block:0 var(--nx-space-section)}
#next-board .nx-project-options>p.nb-muted{margin-block:var(--nx-space-copy) var(--nx-space-note)}
#next-board .nx-menu-count{flex:0 0 28px;box-sizing:border-box;width:28px;height:28px;font-size:13px;font-variant-numeric:tabular-nums}
#next-board .nx-menu-count[hidden],#next-board [data-account-attention][hidden]{display:none}
#next-board .nx-menu-review{margin:0 0 24px;padding:18px;border:1px solid #83dce52b;border-radius:16px;background:#0b171dcc}
#next-board .nx-menu-review h2{margin:0 0 10px;font-size:20px}
#next-board .nx-review-item{padding:14px 0;border-top:1px solid var(--nb-line);overflow-wrap:anywhere}
#next-board .nx-review-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
#next-board .nx-project-review-actions{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;margin-top:16px;max-width:480px}
#next-board .nx-keep-active{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 16px;border:1px solid #a9e5ea35;border-radius:10px;background:#0b171d;color:var(--nb-text);font-size:14px;transition:background 180ms ease,border-color 180ms ease,transform 180ms ease}
#next-board .nx-keep-active svg{width:16px;height:16px;color:var(--nb-muted)}
#next-board .nx-review-arrow{transition:transform 180ms ease}
@media(hover:hover){#next-board .nx-keep-active:hover{background:#14262d;border-color:#a9e5ea70}#next-board .nx-project-review-actions .nb-primary:hover .nx-review-arrow{transform:translateX(3px)}}
#next-board .nx-keep-active:active{transform:scale(.975)}
@media(max-width:520px){#next-board .nx-project-review-actions{grid-template-columns:minmax(0,1fr)}}
#next-board.cs-motion-paused .nx-keep-active,#next-board.cs-motion-paused .nx-review-arrow{transition:none;transform:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-keep-active,#next-board .nx-review-arrow{transition:none;transform:none!important}}
#next-board .nx-workspace-menu .nx-menu-count{margin-left:auto;margin-right:12px}
#next-board .nx-nav-dialog{width:min(340px,calc(100vw - 32px));padding:20px 22px}
#next-board .nx-nav-dialog::backdrop{background:linear-gradient(90deg,#000 0,#000 min(340px,calc(100vw - 32px)),#0000 min(560px,100vw));mask-image:linear-gradient(180deg,#000 0,#000 600px,#0000 900px)}
#next-board .nx-workspace-menu{gap:10px}
#next-board .nx-nav-dialog .nx-menu-destination{display:flex;flex-direction:column;align-items:stretch;gap:16px;min-height:64px;padding:16px;border:1px solid #ffffff12;border-radius:12px;background:linear-gradient(110deg,#0c171de8,#071014b8);transition:border-color 200ms ease,background-color 200ms ease}
#next-board .nx-menu-top{display:flex;align-items:center;gap:10px;width:100%}
#next-board .nx-menu-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:var(--nx-space-copy)}
#next-board .nx-menu-title{font-size:17px;letter-spacing:-.02em}
#next-board .nx-menu-description{font-size:12px;line-height:1.6;color:var(--nb-muted);font-weight:400}
#next-board .nx-menu-top>svg{flex:0 0 16px}
#next-board .nx-workspace-menu .nx-menu-count{margin:0}
#next-board .nx-nav-dialog .nx-menu-today{border-color:#77dbe83b;background:linear-gradient(115deg,#11262de8,#071014d9);box-shadow:inset 0 1px #d5fbff08}
#next-board .nx-menu-track{height:2px;background:#9ce9f016;border-radius:2px;overflow:hidden}
#next-board .nx-menu-track-fill{display:block;height:100%;width:0;background:var(--nb-accent);box-shadow:0 0 10px #80e7ef66;transition:width 340ms cubic-bezier(.22,.8,.25,1)}
#next-board .nx-menu-today.is-finished .nx-menu-description{color:#b3d4d2}
#next-board .nx-nav-dialog .nx-menu-account,#next-board .nx-nav-dialog .nx-menu-archive{background:transparent;border-color:transparent;padding-top:10px;padding-bottom:10px}
#next-board .nx-nav-dialog .nx-menu-destination:hover{border-color:#93e1e54d}
#next-board.cs-motion-paused .nx-menu-track-fill,#next-board.cs-motion-paused .nx-menu-destination{transition:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-menu-track-fill,#next-board .nx-menu-destination{transition:none}}
#next-board .nx-today-count-heading{display:flex;align-items:center;gap:12px}
#next-board .nx-menu-count svg{width:20px;height:20px}
#next-board .nx-menu-count.is-cleared{color:var(--nb-accent);border-color:#8eeaf080}
#next-board .nx-menu-count.is-earned{animation:nx-count-earned 540ms ease-out}
#next-board .nx-menu-count.is-earned path{stroke-dasharray:1;animation:nx-earned-check 520ms cubic-bezier(.22,.8,.25,1) both}
@keyframes nx-count-earned{from{box-shadow:0 0 16px #80e7ef55}to{box-shadow:0 0 0 #80e7ef00}}
#next-board.cs-motion-paused .nx-menu-count,#next-board.cs-motion-paused .nx-menu-count path{animation:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-menu-count,#next-board .nx-menu-count path{animation:none}}
#next-board .nx-archive-total{display:flex;align-items:center;gap:14px;margin:12px 0 24px;font-size:20px;font-weight:600;letter-spacing:-.025em}
#next-board .nx-archive-total .nb-node{flex:0 0 40px;width:40px;height:40px;font-size:16px;color:var(--nb-accent)}
#next-board .nx-project-achievement{display:flex;justify-content:center;position:relative;z-index:3;margin:10px 0 4px}
#next-board .nx-project-achievement[hidden]{display:none}
#next-board .nx-archive-action{display:flex;align-items:center;gap:14px;min-height:64px;max-width:100%;padding:12px 20px;background:linear-gradient(120deg,#123039,#071017);border:1px solid #8eeaf05c;border-radius:16px;color:var(--nb-text);cursor:pointer;text-align:left;box-shadow:0 0 24px #63d9ed12}
#next-board .nx-archive-action strong,#next-board .nx-archive-action small{display:block}
#next-board .nx-archive-action strong{font-size:15px;letter-spacing:-.02em}
#next-board .nx-archive-action small{font-size:12px;color:var(--nb-accent);margin-top:5px}
#next-board .nx-complete-seal{flex:0 0 36px;box-sizing:border-box;width:36px;height:36px;color:#d5fbff;border-color:#96eff2;box-shadow:0 0 18px #80e7ef40;font-size:20px}
#next-board .nx-complete-seal svg{width:26px;height:26px}
#next-board .nx-complete-seal path{stroke-dasharray:1;animation:nx-earned-check 520ms cubic-bezier(.22,.8,.25,1) both}
@keyframes nx-earned-check{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
#next-board.cs-motion-paused .nx-complete-seal path{animation:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-complete-seal path{animation:none}}
#next-board .nx-archive-card{display:flex;width:100%;gap:14px;align-items:center;text-align:left;margin:12px 0;padding:16px;color:var(--nb-text)}
#next-board .nx-archive-card .nb-task-label{flex:1;min-width:0;overflow-wrap:anywhere}
#next-board .nx-archive-card small{font-size:12px}
#next-board .nx-membership-card{margin-top:20px;padding:24px;max-width:560px}
#next-board .nx-membership-card h2{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin:18px 0 12px}
#next-board .nx-membership-card p{line-height:1.6;overflow-wrap:anywhere}
#next-board .nx-membership-footer{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:var(--nx-space-section)}
#next-board .nx-membership-footer .nb-under{min-height:44px}
#next-board .nx-membership-card label{display:block;margin:18px 0 12px}
#next-board .nx-membership-card [role=status]:not(:empty){margin-top:12px}
#next-board .nx-membership-options{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 12px}
#next-board .nx-membership-options .nb-task{flex:1 1 160px;min-height:48px;justify-content:center}
#next-board .nx-membership-options [aria-pressed=true]{border-color:var(--nb-accent);color:var(--nb-accent)}
#next-board .nx-membership-card{max-width:none;min-height:0;padding:24px;margin:20px 0 16px}
#next-board .nx-membership-top{display:flex;align-items:center;gap:12px}
#next-board .nx-membership-top .nb-node{color:var(--nb-accent);border-color:color-mix(in srgb,var(--nb-accent) 40%,transparent)}
#next-board .nx-membership-card h2{font-size:clamp(26px,4vw,36px);max-width:17ch;margin:24px 0 14px}
#next-board .nx-membership-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--nx-space-section);padding-top:var(--nx-space-section);margin-top:var(--nx-space-section);border-top:1px solid var(--nb-line)}
#next-board .nx-membership-facts>div{display:grid;gap:8px;font-size:13px}
#next-board .nx-membership-facts strong{font-weight:500;font-size:16px;font-variant-numeric:tabular-nums}
#next-board .nx-membership-tools{display:grid;gap:10px}
#next-board .nx-membership-tool{width:100%;text-align:left;gap:14px}
#next-board .nx-membership-tool-copy{flex:1;min-width:0}
#next-board .nx-membership-tool>span:last-child{color:var(--nb-accent)}
#next-board .nx-membership-card .nx-membership-note,#next-board .nx-membership-note{font-size:12px;line-height:1.6;color:var(--nb-muted)}
#next-board .nx-membership-card .nx-membership-note{margin-top:var(--nx-space-note)}
#next-board .nx-membership-card>p+.nb-primary{margin-top:var(--nx-space-section)}
#next-board .nx-membership-options .nb-task{flex-basis:120px;font-size:14px;padding:12px;min-height:48px}
#next-board .nx-membership-terms{font-size:13px;margin-bottom:0}
#next-board .nx-membership-exit{padding:20px;border:1px solid var(--nb-line);border-radius:16px;background:var(--nb-panel)}
#next-board .nx-membership-exit[hidden]{display:none}
#next-board .nx-membership-exit h3{font-size:24px;letter-spacing:-.035em;margin:0 0 12px}
#next-board .nx-membership-exit p{font-size:14px;line-height:1.6;margin:0 0 20px}
#next-board .nx-membership-cancel{text-align:left;justify-self:start;color:var(--nb-text)}
#next-board .nx-membership-offer{border-left:1px solid var(--nb-accent);padding:4px 0 4px 16px;margin:20px 0}
#next-board .nx-membership-offer strong{display:block;font-weight:500;font-size:22px;letter-spacing:-.025em;margin:12px 0}
#next-board .nx-membership-offer p{margin:0}
#next-board .nx-membership-feedback:not(:empty){display:grid;gap:var(--nx-space-note);margin-top:var(--nx-space-section);line-height:1.6;font-size:14px}
#next-board .nx-membership-feedback>.nx-membership-note{margin:0;max-width:60ch}
#next-board .nx-membership-feedback a{text-decoration:none;box-sizing:border-box}
#next-board [data-billing-controls] button:focus-visible,#next-board [data-billing-controls] a:focus-visible{outline:2px solid var(--nb-accent);outline-offset:4px}
@media(max-width:380px){#next-board .nx-membership-card{padding:18px}#next-board .nx-membership-facts{gap:12px}#next-board .nx-membership-facts strong{font-size:14px}}
#next-board.cx-task-focus [data-history-scrub]{display:none}
#next-board.cx-task-focus [data-prev],#next-board.cx-task-focus [data-next]{visibility:hidden;pointer-events:none}
#next-board .cx-detail[data-task-focus]{outline:none;min-width:0}
#next-board .cx-detail .nx-task-heading{align-items:center;margin:4px 0 16px;gap:16px}
#next-board .cx-detail .nx-task-heading h3{font-size:22px;line-height:1.3;overflow-wrap:anywhere}
#next-board .cx-detail .nx-task-description-button{min-height:44px}
#next-board .nx-task-checklist{margin:24px 0 6px}
#next-board .nx-task-checklist h2{font-size:16px;line-height:1.4;margin:0;letter-spacing:0}
#next-board .nx-focus-exits{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
#next-board .nx-focus-exits .nb-under{min-height:44px;margin-top:12px}
#next-board .nx-task-steps{list-style:none;margin:12px 0;padding:0}
#next-board .nx-task-step{display:flex;gap:12px;align-items:center;border-bottom:1px solid #a2ddeb18;min-height:52px}
#next-board .nx-task-step input[type=checkbox]{width:20px;height:20px;accent-color:#92e4ed;flex-shrink:0;cursor:pointer}
#next-board .nx-task-step input[type=text],#next-board .nx-step-add input{min-width:0;width:100%;background:transparent;border:0;border-radius:4px;color:var(--nb-text);padding:12px 3px;font-size:15px}
#next-board .nx-task-step.is-done input[type=text]{text-decoration:line-through;color:var(--nb-muted)}
#next-board .nx-step-remove{background:none;border:0;min-width:44px;min-height:44px;font-size:22px;color:var(--nb-muted)}
#next-board .nx-step-add{display:flex;gap:14px;align-items:center}
#next-board .nx-step-add .nb-under{margin:0;min-height:44px}
#next-board .nx-completion-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px;margin-bottom:24px;border:1px solid #80e7ef55;border-radius:12px;color:#c8faff;background:#10272d}
#next-board .nx-completion-notice .nb-under{margin:0;min-height:44px}
#next-board .nx-today-body{display:none}
#next-board.nx-home:not(.nx-panel-open):not(.nx-onboarding) .nx-today-body{display:block}
#next-board.nx-home:not(.nx-panel-open) .nb-content{display:block;min-height:calc(100svh - 92px);max-width:1380px;margin:auto;padding:32px clamp(18px,4vw,56px) 60px}
#next-board.nx-home .nb-top{border-bottom:1px solid var(--nb-line);padding:19px 25px}
#next-board.nx-home .nx-landing{margin-bottom:24px;padding-bottom:0}
#next-board.nx-home .nx-day-head h1{font-size:26px;color:var(--nb-text);letter-spacing:-.035em}
#next-board.nx-home .nx-day-footer{margin-top:-4px}
#next-board.nx-home .nx-day-actions{display:none}
#next-board .nx-task-schedule{margin:16px 0;font-size:14px}
#next-board .nx-task-schedule summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--nb-accent)}
#next-board .nx-task-schedule summary::after{content:'+';margin-left:auto}
#next-board .nx-task-schedule[open] summary::after{content:'−'}
#next-board .nx-schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 16px}
#next-board .nx-schedule-grid label{display:grid;gap:7px;font-size:12px}
#next-board .nx-schedule-grid input,#next-board .nx-schedule-grid select{min-width:0;font-size:14px;height:44px}
#next-board .nx-schedule-summary{font-size:12px;line-height:1.6;color:var(--nb-muted);margin-top:var(--nx-space-note)}
#next-board .nx-schedule-summary:empty{display:none}
#next-board .nx-choice-group{margin:28px 0}
#next-board .nx-choice-row{display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--nb-line);padding:16px 0}
#next-board .nx-choice-row strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}
#next-board .nx-choice-row small{display:block;line-height:1.6;color:var(--nb-muted);margin-top:var(--nx-space-copy)}
#next-board .nx-choice-row>.nb-under{flex-shrink:0;color:var(--nb-accent)}
#next-board .nx-workspace-menu button[aria-current=page]{color:var(--nb-accent)}
#next-board.nx-route-panel [data-close]{display:none}
#next-board[data-view=calendar] .nx-landing,#next-board[data-view=account] .nx-landing{display:none}
#next-board .nx-calendar-view{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,70px);padding:20px 0 30px}
#next-board .nx-agenda-month{align-self:start;border:1px solid var(--nb-line);border-radius:16px;padding:22px}
#next-board .nx-agenda-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center;margin-top:24px}
#next-board .nx-agenda-grid>span{font-size:11px;color:var(--nb-muted);padding:5px 0}
#next-board .nx-agenda-day{position:relative;min-height:44px;border:1px solid transparent;border-radius:10px;background:transparent}
#next-board .nx-agenda-day[aria-current=date]{color:var(--nb-accent);border-color:#a1e7f533}
#next-board .nx-agenda-day[aria-pressed=true]{background:var(--nb-accent);color:var(--nb-ink)}
#next-board .nx-agenda-day i{position:absolute;width:3px;height:3px;border-radius:50%;background:currentColor;bottom:5px;left:calc(50% - 1px)}
#next-board .nx-agenda-event{display:flex;flex-direction:column;gap:8px;width:100%;background:none;border:0;border-bottom:1px solid var(--nb-line);padding:18px 0;text-align:left}
#next-board .nx-agenda-event small{color:var(--nb-accent);font-size:11px}
#next-board .nx-agenda-event strong{font-size:18px;font-weight:500;overflow-wrap:anywhere}
#next-board .nx-agenda-list>h3{margin-top:28px}
#next-board .nx-agenda-list>p{margin-top:20px}
#next-board .nx-project-picker{display:block;margin:20px auto 0}
#next-board .nx-account-page{max-width:620px;margin:12px auto 36px}
#next-board .nx-account-profile{padding:24px;border:1px solid #9be3ed26;border-radius:16px;background:linear-gradient(120deg,#10212a,#0a141b);margin-bottom:24px}
#next-board .nx-account-profile h3,#next-board .nx-account-group h3{font-size:11px;font-weight:500;letter-spacing:.12em;color:var(--nb-muted);margin:0 0 14px}
#next-board .nx-account-name{display:block;max-width:100%;min-height:44px;font-size:clamp(24px,4vw,32px);font-weight:500;letter-spacing:-.04em;padding:0;background:none;border:0;text-align:left;overflow-wrap:anywhere;line-height:1.25}
#next-board .nx-account-profile p{font-size:13px;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}
#next-board .nx-account-preferences{display:grid;gap:20px}
#next-board .nx-account-group{border:1px solid var(--nb-line);border-radius:12px;background:#0a151bb8;overflow:hidden}
#next-board .nx-account-group h3{padding:18px 20px 0;margin-bottom:8px}
#next-board .nx-account-row,#next-board .nx-account-group .nb-menu-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:16px 20px;text-align:left;background:transparent;border:0;border-radius:0;font-size:14px;color:var(--nb-text);transition:background-color 180ms ease}
#next-board .nx-account-row+.nx-account-row{border-top:1px solid var(--nb-line)}
#next-board .nx-account-row-copy{display:grid;gap:var(--nx-space-copy);min-width:0}
#next-board .nx-account-row small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#next-board .nx-account-arrow{color:var(--nb-muted);font-size:22px}
#next-board .nx-account-group [data-motion]::after{content:'';flex:0 0 30px;width:30px;height:18px;border:1px solid #92a9ae55;border-radius:20px;background:radial-gradient(circle at 8px 9px,#92a9ae 5px,transparent 6px)}
#next-board .nx-account-group [data-motion][aria-pressed=true]::after{border-color:#8eeaf077;background:radial-gradient(circle at 22px 9px,var(--nb-accent) 5px,transparent 6px),#8eeaf018}
#next-board .nx-account-page>.nb-under{margin-top:20px;min-height:44px;color:var(--nb-muted)}
#next-board .nx-account-edit-actions{display:flex;align-items:center;gap:20px}
#next-board .nx-account-edit-actions .nb-primary{width:auto;min-width:120px}
@media(hover:hover){#next-board .nx-account-row:hover,#next-board .nx-account-group .nb-menu-item:hover{background:#9be3ed08;transform:none;box-shadow:none}#next-board .nx-account-name:hover{color:var(--nb-accent)}}
@media(max-width:520px){#next-board .nx-account-profile{padding:20px}#next-board .nx-account-page{margin-top:4px}}
@media(prefers-reduced-motion:reduce){#next-board .nx-account-row,#next-board .nx-account-group .nb-menu-item{transition:none}}
#next-board.cs-motion-paused .nx-account-row,#next-board.cs-motion-paused .nx-account-group .nb-menu-item{transition:none}
#next-board .nx-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
#next-board .nx-section-heading .nb-under{padding:0;font-size:13px}
#next-board .nx-today-body h2{font-size:19px;letter-spacing:-.025em}
#next-board .nx-ranking-note{font-size:12px;color:var(--nb-muted);line-height:1.6;margin:0 0 18px}
@media(max-width:700px){#next-board.nx-home:not(.nx-panel-open) .nb-content{padding:24px 18px 40px}#next-board .nx-calendar-view{grid-template-columns:1fr}#next-board .nx-agenda-month{padding:16px}}
@media(max-width:360px){#next-board .nx-schedule-grid{grid-template-columns:1fr}}

/* Today is a direct daily queue; Project View owns the cards and cortex. */
#next-board.nx-home:not(.nx-panel-open) .nb-content{max-width:1120px;padding-top:34px}
#next-board.nx-home .nx-landing{display:block;margin-bottom:38px}
#next-board.nx-home .nx-day-hud{display:block}
#next-board.nx-home .nx-day-head{display:flex;align-items:center;justify-content:space-between}
#next-board.nx-home .nx-day-value{display:block;font-size:48px}
#next-board.nx-home .nx-day-bar{display:block;margin-top:18px}
#next-board.nx-home .nx-day-track{height:24px}
#next-board.nx-home .nx-day-footer{display:flex;margin-top:12px}
#next-board .nx-day-count{border:0;background:none;text-align:left;padding:8px 0;margin:0;min-height:44px;color:var(--nb-accent);font-size:14px}
#next-board .nx-day-actions{display:none}
#next-board.nx-home .nx-day-count{font-size:14px}
#next-board.nx-home .nx-day-toggle{display:none}
#next-board .nx-day-track::after{transition:width .85s cubic-bezier(.2,.75,.25,1)}
#next-board .nx-landing.is-complete .nx-day-track::after{box-shadow:0 0 8px #a1e7f5,0 0 24px #a1e7f577}
#next-board .nx-daily-list{list-style:none;padding:0;margin:24px 0}
#next-board .nx-daily-row{display:flex;align-items:center;gap:18px;padding:23px 4px;border-top:1px solid var(--nb-line)}
#next-board .nx-daily-row:last-child{border-bottom:1px solid var(--nb-line)}
#next-board .nx-daily-row>input{width:22px;height:22px;flex-shrink:0;accent-color:var(--nb-accent);cursor:pointer}
#next-board .nx-daily-rank{color:var(--nb-accent);font-size:12px;font-variant-numeric:tabular-nums}
#next-board .nx-daily-copy{flex:1;min-width:0}
#next-board .nx-daily-title{display:block;background:none;border:0;text-align:left;padding:8px 0;color:var(--nb-text);font-size:22px;letter-spacing:-.025em;overflow-wrap:anywhere;min-height:44px}
#next-board .nx-daily-title:hover{color:var(--nb-accent)}
#next-board .nx-daily-project,#next-board .nx-daily-reason{display:block;color:var(--nb-muted);font-size:12px;line-height:1.6}
#next-board .nx-daily-reason{color:var(--nb-accent);margin-top:4px}
#next-board .nx-daily-row.is-done .nx-daily-title{text-decoration:line-through;color:var(--nb-muted)}
#next-board .nx-daily-row.is-done .nx-daily-reason{color:var(--nb-muted)}
#next-board .nx-daily-defer{font-size:12px;flex-shrink:0;margin:0;min-height:44px}
#next-board .nx-daily-empty{padding:30px 0}
#next-board .nx-focus-schedule{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px;margin:20px 0;width:100%;min-width:0}
#next-board .nx-focus-schedule>.nx-priority-slider{width:100%}
#next-board .nx-focus-schedule>.nb-under{justify-self:start}
#next-board .nx-focus-schedule select,#next-board .nx-focus-schedule input{background:transparent;border:0;border-bottom:1px solid var(--nb-line);border-radius:0;color:var(--nb-muted);padding:10px 0;min-height:44px;font:inherit;font-size:13px;color-scheme:dark;max-width:100%}
#next-board .nx-focus-schedule label{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--nb-muted);min-width:0}
#next-board .nx-focus-schedule label>span{white-space:nowrap}
#next-board .nx-focus-schedule .nb-under{font-size:12px;margin:0;min-height:44px}
#next-board.cs-motion-paused .nx-day-track::after{transition:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-day-track::after{transition:none}}
@media(max-width:600px){
 #next-board.nx-home .nx-day-value{font-size:38px}
 #next-board .nx-daily-row{display:grid;grid-template-columns:24px 20px minmax(0,1fr) 36px;gap:6px 10px;align-items:start;padding:18px 0}
 #next-board .nx-daily-row>input{margin-top:12px}
 #next-board .nx-daily-rank{padding-top:15px}
 #next-board .nx-daily-title{font-size:19px}
 #next-board .nx-daily-row .nx-task-resource{grid-column:4;grid-row:1;align-self:start}
 #next-board .nx-daily-row .nx-task-link{width:36px;height:44px}
 #next-board .nx-daily-defer{grid-column:3;justify-self:start}
}
#next-board .nx-daily-row>input{appearance:none;position:relative;border:1px solid #5a8795;border-radius:5px;background:transparent}
#next-board .nx-daily-row>input:checked{background:var(--nb-accent);border-color:var(--nb-accent);box-shadow:0 0 12px #91e6ef33}
#next-board .nx-daily-row>input:checked::after{content:'✓';position:absolute;inset:0;text-align:center;color:#07151c;font-size:16px;line-height:20px}
/* Today reuses Project View's card, circular node and primary-action vocabulary. */
#next-board.nx-home .nx-day-head h1{font-size:clamp(32px,5vw,46px);font-weight:500}
#next-board.nx-home .nx-day-track{height:8px}
#next-board.nx-home .nx-landing{margin-bottom:28px}
#next-board .nx-today-ordering{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}
#next-board .nx-today-ordering .nx-ranking-note{margin:0}
#next-board .nx-today-ordering .nb-under{margin:0;min-height:44px;font-size:12px}
#next-board .nx-daily-list{display:grid;gap:14px;margin-top:18px}
#next-board .nx-daily-row{position:relative;display:grid;grid-template-columns:44px 28px minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:18px 20px;background:light-dark(#f5f9fa,#0c151d);border:1px solid var(--nb-line);border-radius:12px;transition:border-color .2s ease,box-shadow .2s ease}
#next-board .nx-daily-row:last-child{border-bottom:1px solid var(--nb-line)}
#next-board .nx-daily-row.is-next{border-radius:16px;padding:22px 20px}
#next-board .nx-daily-row:hover{transform:none;border-color:color-mix(in srgb,var(--cs-flow) 32%,var(--nb-line));box-shadow:inset -15px 0 28px -24px var(--cs-flow)}
#next-board .nx-daily-row.is-dragging{z-index:2;border-color:var(--nb-accent);box-shadow:0 8px 28px -16px var(--cs-flow);background:var(--nb-panel)}
#next-board .nx-daily-grip{display:grid;place-items:center;grid-column:1;grid-row:1;align-self:start;width:44px;height:44px;min-height:44px;border:0;background:none;color:var(--nb-muted);cursor:grab;touch-action:none;user-select:none}
#next-board .nx-daily-grip svg{width:17px;height:17px}
#next-board .nx-daily-grip:hover,#next-board .is-dragging .nx-daily-grip{color:var(--nb-accent)}
#next-board .is-dragging .nx-daily-grip{cursor:grabbing}
#next-board .nx-daily-grip:disabled{visibility:hidden}
#next-board .nx-daily-rank{display:grid;grid-column:2;grid-row:1;align-self:start;margin-top:8px;padding:0;color:var(--nb-accent);font-variant-numeric:tabular-nums}
#next-board .nx-daily-copy{grid-column:3;grid-row:1}
#next-board .nx-daily-project{font-size:11px;color:var(--nb-accent);letter-spacing:.1em;margin:0}
#next-board .nx-daily-title{font-size:22px;font-weight:500;line-height:1.2;margin:4px 0;padding:5px 0;min-height:44px}
#next-board .is-next .nx-daily-title{font-size:26px;letter-spacing:-.04em}
#next-board .nx-daily-reason{color:var(--nb-muted);font-size:12px;margin-top:var(--nx-space-copy)}
#next-board .nx-daily-row .nx-task-resource{grid-column:4;grid-row:1;align-self:center}
#next-board .nx-daily-actions{grid-column:3/-1;display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;padding-top:10px}
#next-board .nx-daily-start{width:180px;max-width:100%;flex-shrink:0}
#next-board .is-next .nx-daily-start{width:100%}
#next-board .nx-daily-secondary{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center}
#next-board .nx-daily-complete{display:flex;gap:10px;align-items:center;min-height:44px;font-size:12px;color:var(--nb-muted);cursor:pointer}
#next-board .nx-daily-complete>input{margin:0;width:18px;height:18px;flex-shrink:0;appearance:none;border:1px solid #5a8795;border-radius:4px;background:transparent;position:relative;cursor:pointer}
#next-board .nx-daily-complete>input:checked{background:var(--nb-accent);border-color:var(--nb-accent)}
#next-board .nx-daily-complete>input:checked::after{content:'✓';position:absolute;inset:0;text-align:center;color:var(--nb-ink);font-size:14px;line-height:16px}
#next-board .nx-daily-defer{margin:0;min-height:44px;font-size:12px}
#next-board .nx-completion-notice{background:transparent;border:0;border-left:2px solid var(--nb-accent);border-radius:0;padding:8px 16px;margin:18px 0}
#next-board .nx-reorder-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){
 #next-board .nx-daily-row,#next-board .nx-daily-row.is-next{grid-template-columns:28px minmax(0,1fr) 44px;padding:16px;gap:8px 10px}
 #next-board .nx-daily-rank{grid-column:1;grid-row:1;margin-top:4px}
 #next-board .nx-daily-copy{grid-column:2;grid-row:1}
 #next-board .nx-daily-grip{grid-column:3;grid-row:1}
 #next-board .nx-daily-title,#next-board .is-next .nx-daily-title{font-size:22px}
 #next-board .nx-daily-actions{grid-column:1/-1;grid-row:2;display:grid;gap:8px;padding-top:8px}
 #next-board .nx-daily-start{width:100%}
 #next-board .nx-daily-row .nx-task-resource{grid-column:3;grid-row:2;align-self:end;z-index:1}
 #next-board .nx-daily-row.has-resource .nx-daily-secondary{padding-right:40px}
}
#next-board.cs-motion-paused .nx-daily-row{transition:none}
#next-board.cs-motion-paused .nx-action-surface::before{animation:none}
@media(prefers-reduced-motion:reduce){#next-board .nx-daily-row{transition:none}#next-board .nx-action-surface::before{animation:none}}
/* Ten equal hit areas keep every priority point aligned at any width. */
#next-board .nx-priority-slider{width:min(100%,20rem);min-width:0;--priority-color:var(--nb-accent);--priority-glow:6px}
#next-board .nx-priority-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;min-height:24px}
#next-board .nx-priority-heading>span{font-size:12px;color:var(--nb-muted)}
#next-board .nx-priority-heading output{color:var(--nb-accent);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
#next-board .nx-priority-track{position:relative;width:100%;height:44px;isolation:isolate}
#next-board .nx-priority-bars{position:absolute;inset:0;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:center;pointer-events:none}
#next-board .nx-priority-bar{display:block;justify-self:center;width:calc(100% - 6px);height:3px;border-radius:1px;background:var(--nb-line);transition:background-color .08s ease,box-shadow .1s ease}
#next-board .nx-priority-bar.is-lit{background:var(--nb-accent);box-shadow:0 0 var(--priority-glow) #8bdce938}
#next-board .nx-priority-slider input[type=range]{position:absolute;inset:0;appearance:none;-webkit-appearance:none;width:100%;max-width:none;height:44px;min-height:44px;margin:0;padding:0;background:transparent;border:0;border-radius:0;cursor:pointer;touch-action:pan-y}
#next-board .nx-priority-slider input[type=range]::-webkit-slider-runnable-track{height:44px;background:transparent;border:0}
#next-board .nx-priority-slider input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10%;height:44px;border-radius:0;background:transparent;border:0;box-shadow:none}
#next-board .nx-priority-slider input[type=range]::-moz-range-track{height:44px;background:transparent;border:0}
#next-board .nx-priority-slider input[type=range]::-moz-range-thumb{width:10%;height:44px;border-radius:0;background:transparent;border:0;box-shadow:none}
#next-board .nx-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#next-board .nx-schedule-grid>.nx-priority-slider{grid-column:1/-1}
@media(max-width:360px){#next-board .nx-schedule-grid{grid-template-columns:minmax(0,1fr)}}
#next-board.cs-motion-paused .nx-priority-slider,#next-board.cs-motion-paused .nx-priority-slider *,#next-board.cs-motion-paused .nx-priority-slider ::before,#next-board.cs-motion-paused .nx-priority-slider ::after{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){#next-board .nx-priority-slider,#next-board .nx-priority-slider *,#next-board .nx-priority-slider ::before,#next-board .nx-priority-slider ::after{transition:none!important;animation:none!important}}

/* One focus treatment across the app. Typing after a click stays in pointer mode. */
#next-board{-webkit-tap-highlight-color:transparent}
#next-board[data-focus-input] :focus{outline:none!important}
#next-board[data-focus-input=keyboard] :is(button,a,input,textarea,select,summary,[tabindex],[contenteditable=true]):focus-visible{outline:1px solid #a1e7f599!important;outline-offset:3px!important}

/* Session recovery keeps pending work in this tab and offers a private export. */
#next-board.nx-session-suspended :is([data-site-home],[data-signup],[data-signup-back],[data-try-demo],.nx-signup>.nx-auth-copy,.nx-signup>.nx-site-note){display:none}
#next-board [data-session-recovery] :is(a,button){display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;margin:8px 0;text-align:left;white-space:normal}

/* Keep the mobile cortex, with the task action ahead of optional editing. */
@media(max-width:650px){
 #next-board.cx-task-focus .cs-sky{padding-top:210px;min-height:0}
 #next-board.cx-task-focus .cx-open{height:200px}
 #next-board.cx-task-focus .nx-landing{margin-bottom:10px;padding-bottom:0}
 #next-board.cx-task-focus .cx-detail[data-task-focus]{display:flex;flex-direction:column;margin-top:10px;padding-top:10px}
 #next-board.cx-task-focus .cx-detail>.nx-task-heading{margin-bottom:8px}
 #next-board.cx-task-focus .nx-focus-actions{margin:0 0 12px;padding-top:0}
 #next-board.cx-task-focus .nx-focus-actions>.nb-primary{width:100%;min-height:48px}
}

/* Signed-out acquisition page. Scoped away from the working app. */
#next-board .nx-site-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:44px 64px;padding:52px 0 64px;min-height:0}
#next-board .nx-auth .nx-site-headline{font-family:Arial,Helvetica,sans-serif;font-size:clamp(40px,6vw,100px);line-height:.88;letter-spacing:-.065em;font-weight:900;text-wrap:initial;text-transform:uppercase;color:#f4f7f8;margin:0 0 30px;max-width:100%}
#next-board .nx-site-headline>span{display:block;white-space:nowrap}
#next-board .nx-site-pitch{min-width:0}
#next-board .nx-site-hero .nx-auth-copy{max-width:30rem;font-size:17px;line-height:1.65;margin:0 0 28px;color:#a7bbc8}
#next-board .nx-site-footer{padding:44px 0 48px;gap:24px}
#next-board .nx-site-footer h2{font-size:clamp(23px,2.6vw,34px);line-height:1.15;letter-spacing:-.035em;color:#f4f7f8;max-width:27rem;margin:0 0 12px}
#next-board .nx-site-footer p{font-size:15px;line-height:1.6;margin:0;color:#a7bbc8}
#next-board .nx-site-footer .nx-site-primary{flex-shrink:0}
#next-board .nx-site-primary:focus-visible{outline:2px solid #f4f7f8;outline-offset:5px}
@media(max-width:700px){
 #next-board .nx-site-hero{grid-template-columns:minmax(0,1fr);padding:34px 0 38px;gap:32px}
 #next-board .nx-auth .nx-site-headline{font-size:clamp(36px,12vw,76px);line-height:.94;margin:0 0 26px}
 #next-board .nx-site-hero .nx-auth-copy{font-size:16px;margin:0 0 24px}
 #next-board .nx-site-footer{flex-direction:column;align-items:flex-start;padding:32px 0}
 #next-board .nx-site-note{line-height:1.5}
}
/* Calendar: bounded month overview and project-grouped task cards. */
#next-board .nx-calendar-tabs{display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;margin-bottom:20px}
#next-board .nx-calendar-tabs [aria-pressed=true]{color:var(--nb-accent);border-bottom:1px solid var(--nb-accent)}
#next-board .nx-calendar-completed{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--nb-muted);min-height:44px}
#next-board .nx-calendar-view{grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr);align-items:start}
#next-board .nx-agenda-month{min-width:0;padding:18px;background:var(--nb-panel)}
#next-board .nx-agenda-month h2{font-size:18px;font-weight:500;text-align:center}
#next-board .nx-agenda-grid{gap:2px;margin-top:12px}
#next-board .nx-agenda-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:3px;font-size:13px}
#next-board .nx-calendar-count{font-size:9px;line-height:12px;opacity:.75}
#next-board .nx-calendar-legend{font-size:11px;color:var(--nb-muted);line-height:1.6;margin-top:var(--nx-space-note)}
#next-board .nx-calendar-agenda{min-width:0}
#next-board .nx-calendar-agenda>h2{font-size:24px;letter-spacing:-.035em}
#next-board .nx-calendar-agenda>.nb-muted{font-size:13px;margin:var(--nx-space-copy) 0 var(--nx-space-section)}
#next-board .nx-calendar-group{margin:24px 0}
#next-board .nx-calendar-group>h3{margin:0 0 12px}
#next-board .nx-calendar-card{align-items:flex-start;gap:14px;margin:10px 0;padding:16px;background:var(--nb-panel)}
#next-board .nx-calendar-card>.nb-node{margin-top:8px}
#next-board .nx-calendar-task-copy{min-width:0;flex:1}
#next-board .nx-calendar-task-copy>.nb-muted{font-size:12px;line-height:1.6;margin:var(--nx-space-copy) 0 0}
#next-board .nx-calendar-task-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:var(--nx-space-note)}
#next-board .nx-calendar-task-actions>.nb-primary{width:auto;min-width:150px}
#next-board .nx-calendar-milestone{display:block;width:100%;padding:16px;text-align:left;border:1px solid var(--nb-line);border-left-color:var(--nb-accent);border-radius:10px;background:var(--nb-panel);color:var(--nb-accent);margin:10px 0}
#next-board .nx-calendar-projects>summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--nb-accent)}
#next-board .nx-calendar-date-form{max-width:540px;margin-top:24px}
@media(max-width:700px){#next-board .nx-calendar-view{grid-template-columns:minmax(0,1fr)}#next-board .nx-agenda-month{padding:12px}#next-board .nx-calendar-task-actions>.nb-primary{width:100%;min-width:0}#next-board .nx-calendar-card{padding:12px;gap:10px}#next-board .nx-calendar-card .nx-daily-title{font-size:20px}}
#next-board[data-view=calendar] [data-drawer-body]>:is(.nx-calendar-view,.nx-calendar-tabs,.nx-calendar-projects){max-width:1080px}
#next-board .nx-calendar-completed>input{width:18px;height:18px;min-height:0;margin:0;flex:none;accent-color:var(--nb-accent)}
#next-board .nx-calendar-completed>span{white-space:nowrap}

/* Shared Overnight date picker: explicit text entry plus an inline themed calendar. */
#next-board .nx-date-field{display:flex;flex-direction:column;gap:8px;min-width:0}
#next-board .nx-date-entry{display:flex;align-items:center;gap:8px;min-width:0}
#next-board .nx-date-entry input{min-width:0;width:100%;flex:1}
#next-board .nx-date-toggle{flex:none;width:44px;height:48px;border:1px solid var(--nb-line);border-radius:12px;background:var(--nb-panel);color:var(--nb-accent);font-size:24px;cursor:pointer}
#next-board .nx-date-picker{padding:12px;border:1px solid var(--nb-line);border-radius:16px;background:var(--nb-panel);width:100%;box-sizing:border-box}
#next-board .nx-date-picker[hidden]{display:none}
#next-board .nx-date-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:12px}
#next-board .nx-date-heading strong{font-size:15px;text-align:center}
#next-board .nx-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
#next-board .nx-date-grid small{color:var(--nb-muted);font-size:11px;padding:8px 0}
#next-board .nx-date-day{border:1px solid transparent;border-radius:10px;background:transparent;color:var(--nb-text);min-width:0;min-height:44px;padding:0;cursor:pointer}
#next-board .nx-date-day[aria-current=date]{border-color:var(--nb-line)}
#next-board .nx-date-day[aria-pressed=true]{background:var(--nb-accent);color:#06171c}
#next-board .nx-date-day:hover{border-color:var(--nb-accent)}
#next-board .nx-date-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:10px}
#next-board .nx-date-picker button:focus-visible,#next-board .nx-date-toggle:focus-visible{outline:2px solid var(--nb-accent);outline-offset:2px}

/* Focus task dates stay compact; opening the picker does not reflow the task. */
#next-board .nx-focus-schedule .nx-date-field{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:0}
#next-board .nx-focus-schedule .nx-date-field>label{white-space:nowrap}
#next-board .nx-focus-schedule .nx-date-picker{position:absolute;z-index:20;left:0;bottom:calc(100% + 8px);width:320px;max-width:calc(100vw - 38px);padding:10px;box-shadow:0 12px 40px #0009}
#next-board .nx-focus-schedule .nx-date-heading{margin-bottom:4px}
#next-board .nx-focus-schedule .nx-date-grid small{padding:4px 0}
#next-board .nx-focus-schedule .nx-date-day{min-height:36px}
#next-board .nx-focus-schedule .nx-date-actions{margin-top:4px}
#next-board .nx-focus-schedule .nx-date-actions .nb-under{min-height:36px}
@media(pointer:coarse){#next-board .nx-focus-schedule .nx-date-day,#next-board .nx-focus-schedule .nx-date-actions .nb-under{min-height:44px}}

#next-board .nx-walkthrough{display:flex;align-items:flex-start;gap:16px;max-width:760px;margin:20px auto;padding:20px;border:1px solid var(--nb-line);border-radius:16px;background:var(--nb-panel)}
#next-board .nx-walkthrough[hidden]{display:none}
#next-board .nx-walkthrough .nb-node{flex:none;margin-top:4px}
#next-board .nx-walkthrough-copy{min-width:0}
#next-board .nx-walkthrough h2{font-size:20px;margin:8px 0;letter-spacing:-.02em}
#next-board .nx-walkthrough p{font-size:14px;line-height:1.6;margin:0}
#next-board .nx-walkthrough-actions,#next-board .nx-starter-examples{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}
#next-board .nx-walkthrough-actions{margin-top:var(--nx-space-note)}
#next-board .nx-walkthrough-actions .nb-under,#next-board .nx-starter-examples .nb-under{min-height:44px;font-size:13px}
#next-board .nx-walkthrough-actions select{max-width:100%;min-width:0}
@media(max-width:700px){#next-board .nx-walkthrough{margin:12px 0;padding:16px;gap:12px}#next-board .nx-walkthrough h2{font-size:18px}}
/* Membership uses the existing quiet card surface, never a blocking paywall. */
.nx-membership-notice{margin:12px auto 20px;padding:16px 20px;max-width:1040px;border:1px solid #a6edff30;border-radius:16px;background:#08141bd9;display:flex;gap:20px;align-items:center;justify-content:space-between}
.nx-membership-notice[hidden]{display:none}
.nx-membership-notice strong{font-size:16px;font-weight:500}
.nx-membership-notice p{margin:6px 0 0;max-width:54ch}
.nx-membership-notice .nx-review-actions{flex-wrap:wrap;flex-shrink:0}
@media(max-width:650px){.nx-membership-notice{margin:10px 12px 18px;padding:16px;align-items:flex-start;flex-direction:column;gap:8px}.nx-membership-notice button{min-height:44px}}

/* Supporting-copy rhythm across entry, work, archive, and recovery screens.
   Keep margins on prose groups, not inline counts, date cells, or control labels. */
#next-board :is(.nx-site-note,.nx-auth-status,.nx-demo-banner,.nx-storage,.cx-pace,.cs-evidence,.nx-task-link-preview){line-height:1.6}
#next-board .nx-site-features h2{margin-bottom:var(--nx-space-note)}
#next-board .nx-signup .nx-auth-copy{margin-block:var(--nx-space-section)}
#next-board .nx-auth-status{margin-top:var(--nx-space-section)}
#next-board .nx-onboarding-intro p{margin-top:var(--nx-space-section)}
#next-board .nx-onboarding-card .nb-muted{margin-bottom:var(--nx-space-section)}
#next-board .nx-onboarding-note{margin-top:var(--nx-space-note)}
#next-board .nx-daily-empty>p{margin-top:var(--nx-space-copy);max-width:60ch}
#next-board .nx-daily-empty>.nb-under{margin-top:var(--nx-space-note)}
#next-board .cx-pace{margin:var(--nx-space-copy) 0 var(--nx-space-section)}
#next-board .cx-detail p{line-height:1.6;margin:var(--nx-space-copy) 0 var(--nx-space-note)}
#next-board .cs-evidence{margin-top:var(--nx-space-section);padding-top:var(--nx-space-note)}
#next-board .nx-archive-card .nb-task-label{display:grid;gap:var(--nx-space-copy)}
#next-board .nx-archive-card .nb-task-label>.nb-muted{margin:0}
#next-board .nx-task-edit{gap:var(--nx-space-note)}
#next-board :is(.nb-form,.nx-task-edit) label{gap:var(--nx-space-copy);line-height:1.6}
#next-board .nx-task-link-preview{margin-top:0;align-items:flex-start;overflow-wrap:anywhere}
#next-board .nx-task-link-preview svg{flex-shrink:0}
#next-board .nx-task-link-preview a{min-width:0}
#next-board .nx-menu-review>p{margin-bottom:var(--nx-space-note)}
#next-board .nx-review-item>p{margin-top:var(--nx-space-copy)}
#next-board .nx-review-actions{margin-top:var(--nx-space-note)}
#next-board .nx-membership-notice p{margin-top:var(--nx-space-copy)}
#next-board .nx-membership-notice .nx-review-actions{margin-top:0}
#next-board .nx-storage-actions{margin-top:var(--nx-space-copy)}
#next-board [data-drawer-body]>:is(button,a)+p.nb-muted:not(:empty){margin-top:var(--nx-space-note)}
@media(max-width:650px){#next-board .nx-membership-notice{gap:var(--nx-space-note)}}

/* Overnight legal/support flows */
#next-board .overnight-legal-links{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;padding:24px 0;color:#b5c7d3;font-size:14px}
#next-board .overnight-legal-links a,#next-board .overnight-eligibility a,#next-board .overnight-support a{color:#90e4f1;text-decoration:underline;text-underline-offset:4px}
#next-board .overnight-eligibility{border:1px solid #344550;border-radius:12px;padding:16px;margin:16px 0;min-width:0;display:grid;gap:16px;color:#e4edf3}
#next-board .overnight-eligibility legend{font-size:15px;padding:0 6px}
#next-board .overnight-eligibility label{display:grid;gap:8px;line-height:1.6;font-size:15px}
#next-board .overnight-eligibility select{font:inherit;color:#e4edf3;background:#101f2a;border:1px solid #526777;border-radius:8px;padding:12px;width:100%;min-height:44px}
#next-board .overnight-eligibility .overnight-check{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}
#next-board .overnight-check input{flex:0 0 22px;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;margin:0;accent-color:#90e4f1}
#next-board .overnight-eligibility-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
#next-board .overnight-eligibility-summary p{margin:0;font-size:14px;line-height:1.6;color:var(--nb-muted)}
#next-board .overnight-eligibility [hidden]{display:none!important}
#next-board .overnight-legal-error{color:#ffc1bd;font-size:15px;line-height:1.6;margin:0}
#next-board .overnight-legal-error:empty{display:none}
#next-board .overnight-support{display:grid;gap:20px;line-height:1.7;overflow-wrap:anywhere}
#next-board .overnight-support p{margin:0}
#next-board .nx-account-delete{display:grid;align-content:start;gap:16px;max-width:480px;line-height:1.6;overflow-wrap:anywhere}
#next-board .nx-account-delete p{margin:0}
#next-board .nx-account-delete [role=status]:empty{display:none}
#next-board .nx-account-delete .nb-form{width:100%;margin:0}
#next-board .nx-account-delete>button{width:100%;margin:0}
#next-board .overnight-eligibility :focus-visible,#next-board .overnight-support :focus-visible,#next-board .overnight-legal-links :focus-visible{outline:2px solid #90e4f1;outline-offset:4px}

/* Custom age chooser follows the Overnight calendar panel. */
#next-board .overnight-age-picker{position:relative;display:grid;gap:8px;margin-bottom:18px}
#next-board .overnight-age-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 14px;border:1px solid #526975;border-radius:10px;background:#10212c;color:#eaf1f4;text-align:left;font:inherit;cursor:pointer}
#next-board .overnight-age-trigger::after{content:'⌄';color:#a1e7f5;margin-left:16px}
#next-board .overnight-age-trigger[aria-expanded=true]{border-color:#a1e7f5}
#next-board .overnight-age-options{position:absolute;top:100%;left:0;right:0;z-index:30;padding:6px;margin-top:4px;border:1px solid #526975;border-radius:12px;background:#0b1922;box-shadow:0 14px 35px #0008}
#next-board .overnight-age-options[hidden]{display:none}
#next-board .overnight-age-options [role=option]{display:block;width:100%;min-height:44px;border:0;border-radius:8px;background:transparent;color:#eaf1f4;padding:12px;text-align:left;font:inherit;cursor:pointer}
#next-board .overnight-age-options [role=option]:hover,#next-board .overnight-age-options [role=option]:focus{background:#173442}
#next-board .overnight-age-options [role=option][aria-selected=true]{background:#a1e7f5;color:#08232f}
