/* Shared R25 corrections use the six typography roles from DESIGN_STANDARDS. */
.tp-row .v38-today-time{display:none!important}
.tp-artifact.tp-tag,.v38-task-tag:not(.v15-system-tag){border-radius:0!important;padding-inline:5px!important;line-height:1.15!important;min-height:16px!important;align-items:center!important}
.tp-artifact.tp-tag-circle{width:16px!important;height:16px!important;min-height:16px!important}
.tp-artifact.tp-tag-circle>.v22-icon{width:12px!important;height:12px!important;flex-basis:12px!important}
.tp-right-owner .tp-artifact>.v22-icon{color:var(--tp-color,var(--accent))!important}
[data-fold-ghost]{pointer-events:none!important}
.r25-postpone-overdue{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--accent);font:inherit;padding:4px}
.r25-postpone-overdue .v22-icon{width:20px;height:20px}
[data-v38-today-section=overdue] .section-note{display:flex;align-items:center;gap:10px}
.r25-nested-settings{border:0!important;margin-block:8px!important;padding:0!important}
.r25-nested-settings>h3{font-size:var(--dj-text-secondary-size)!important;font-weight:var(--dj-text-secondary-weight)!important}
.r25-favorite-item,.r25-favorite-item>span:last-child,.v78-sidebar-project-name{color:var(--ink)!important}
.r25-favorite-item .v22-icon,.r25-favorite-item .v24-favorite-entry-icon{color:var(--r25-artifact-color,var(--accent))!important}
html .r25-confirm-backdrop{position:fixed;inset:0;z-index:101000;background:#0006;display:grid;place-items:center;padding:16px;box-sizing:border-box}
.r25-confirm-dialog{width:min(440px,100%);box-sizing:border-box;background:var(--panel,#fff);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius,16px);padding:20px;box-shadow:var(--shadow)}
.r25-confirm-dialog h2{font-size:var(--dj-text-heading-size);font-weight:var(--dj-text-heading-weight);margin:0 0 12px}.r25-confirm-dialog p{font-size:var(--dj-text-body-size);font-weight:var(--dj-text-reading-weight);white-space:normal;overflow-wrap:anywhere}
.r25-confirm-dialog footer{display:flex;justify-content:flex-start;gap:10px;margin-top:18px}
.r25-confirm-dialog footer button{width:44px;height:44px;min-width:44px;border:0;border-radius:50%;background:var(--accent);color:#fff;padding:0;display:grid;place-items:center}
.r25-confirm-dialog footer button .v22-icon{width:20px;height:20px;color:#fff!important}
.r25-status-menu{z-index:100500;display:grid;max-height:calc(100dvh - 150px);overflow:auto}.r25-status-menu button{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 12px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:var(--dj-text-body-size)}.r25-status-menu .v22-icon{width:20px;height:20px;color:var(--accent)}
:is(.v82-create-button,[data-idea-action=new],.notes-button[data-note-action=new],.notes-button[data-note-action=quick-new],.topbar .btn.primary.v22-icon-button,.v76-mobile-header .btn.primary.v22-icon-button) .v22-icon *{color:inherit!important}
@media(max-width:1024px){
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head){display:flex!important;padding-inline:12px!important;gap:8px!important;align-items:center!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>:is([data-v38-more],[data-v18-comments-toggle]){width:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:0!important;padding:0!important;order:-1!important;justify-content:center!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>:is(.section-title,span:first-child){margin:0!important;text-align:left!important;flex:1 1 auto!important;min-width:0!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>:is([data-v38-add],[data-v18-comments-add]){margin:0!important;width:44px!important;min-width:44px!important;flex:0 0 44px!important;order:8!important;justify-content:center!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>.v19-count{order:9!important;margin:0!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head){padding-left:13px!important;gap:6px!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>:is([data-v38-more],[data-v18-comments-toggle]){width:22px!important;min-width:22px!important;flex-basis:22px!important}
 .v19-task-menu.v19-task-menu.v19-task-menu :is(.subtask-panel>.section-head,.v18-comments-head)>:is([data-v38-more],[data-v18-comments-toggle]) .v22-icon{width:22px!important;height:22px!important}
}
@media(max-width:599px){
 .sidebar .nav-item[data-route=today]{display:none!important}
 .sidebar .nav-item[data-route=projects]{order:1!important}.sidebar .nav-item[data-route=inbox]{order:2!important}.sidebar .nav-item[data-route=calendar]{order:3!important}.sidebar .v75-mobile-more{order:4!important}
 .sidebar{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .sidebar .nav-item[data-route=ideas]{display:none!important}
}
@media(min-width:600px) and (max-width:1024px){
 :root{--v78-sidebar-width:64px}
 .app-shell{grid-template-columns:64px minmax(0,1fr)!important}
 .sidebar{display:flex!important;flex-direction:column!important;width:64px!important;max-width:244px!important;padding:10px 6px!important;overflow:hidden!important;transition:width .18s ease;z-index:100070!important;top:env(safe-area-inset-top,0px)!important;height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;min-height:0!important}
 .sidebar.r25-rail-open{width:244px!important;box-shadow:8px 0 20px #0002!important}
 .sidebar>.brand,.sidebar>.search{flex-shrink:0!important;position:relative!important;width:100%!important;box-sizing:border-box!important}
 .sidebar>.brand{overflow:hidden;white-space:nowrap}.sidebar:not(.r25-rail-open)>.brand>:not(.brand-mark){display:none!important}
 .sidebar:not(.r25-rail-open)>.search input{width:0!important;min-width:0!important;padding:0!important;opacity:0!important}
 .sidebar>.r25-sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;width:232px}.sidebar>.r25-sidebar-scroll::-webkit-scrollbar{display:none}
 .sidebar:not(.r25-rail-open) .nav-item{width:50px!important;overflow:hidden!important;gap:20px!important;padding-inline:13px!important}
 .sidebar:not(.r25-rail-open) :is(.nav-title,.v19-favorites-drawer,.v78-sidebar-project-tree,.v78-projects-toggle,[data-v19-favorite-toggle],.v76-wide-more-items){display:none!important}
 .sidebar:not(.r25-rail-open) .v76-wide-more-toggle{width:50px!important;overflow:hidden;justify-content:flex-start}.sidebar:not(.r25-rail-open) .v76-wide-more-toggle>span:last-child{display:none}
 .sidebar :is(.nav-item,.v78-sidebar-project-link,.v19-favorites-drawer button,.v76-wide-more-items button){font-family:var(--font,inherit)!important;font-size:var(--dj-text-body-size)!important;font-weight:var(--dj-text-body-weight)!important}
 .modal-backdrop,.time-menu{padding-left:12px!important}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none!important}}

/* Compact selected tag chips; picker controls retain their separate touch targets. */
.v19-task-menu.v19-task-menu.v19-task-menu.v19-task-menu .v18-artifact-row:not(.v18-artifact-pickers)[data-artifact-row="tag"]>button{border-radius:0!important;height:auto!important;min-height:22px!important;min-block-size:22px!important;padding:0 5px!important;line-height:1.15!important;align-items:center!important}
