/* Dolijane V3.8.0 stable revision 11. */

/* Notes catalogue: filters stay on row two, selected sources on row three. */
html[data-v74-route="notes"] .notes-tools{display:flex!important;width:100%;flex:0 0 100%}
html[data-v74-route="notes"] .notes-tools>[data-note-filter-reset]{margin-left:auto!important;color:var(--accent)!important}
html[data-v74-route="notes"] .notes-context{display:flex!important;width:100%;flex:0 0 100%;margin-top:8px!important;color:var(--ink)}
html[data-v74-route="notes"] .notes-context:empty{display:none!important}
.notes-tools .notes-button[aria-pressed="true"]{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.notes-selection[data-kind="text-context"]{width:max-content!important;max-width:calc(100vw - 16px)!important;flex-wrap:nowrap!important;padding:5px!important;overflow-x:auto!important;overflow-y:hidden!important}
.notes-selection[data-kind="table-create"]{width:min(176px,calc(100vw - 16px))!important}
.notes-table-create{grid-template-columns:1fr!important;gap:8px!important}.notes-table-create label{grid-template-columns:1fr 52px!important;align-items:center!important}.notes-table-create>div{grid-column:auto!important}
.notes-selection[data-kind="pages"]{display:grid!important;gap:3px!important;width:min(250px,calc(100vw - 16px))!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important}
.notes-pages-menu-row{display:grid;grid-template-columns:minmax(54px,1fr) 36px 36px 36px;gap:3px;align-items:center}.notes-pages-menu-row button{display:grid;place-items:center;min-width:34px;min-height:34px;padding:4px}.notes-pages-menu-row .v22-icon{width:19px;height:19px}
.notes-editor .notes-text{overflow:hidden!important}

/* Web/Windows task headings and descriptions are always horizontal. */
@media(min-width:1025px){
  [data-task-form] :is(input[name="title"],.task-title-input,.v17-subtask-title,.modal-title,.v35-title-editor),[data-task-form] :is(textarea[name="description"],.description-wrap,.rich-description,[data-rich-description]){writing-mode:horizontal-tb!important;text-orientation:mixed!important;word-break:normal!important;overflow-wrap:anywhere!important;min-width:0!important;width:100%!important}
  [data-task-form] .task-head-v09{grid-template-columns:34px 28px 22px minmax(0,1fr)!important}
  [data-task-form] .v35-title-source[aria-hidden="true"]{display:none!important}
  [data-task-form] .v35-title-editor{grid-column:4!important;grid-row:1!important;height:auto!important;min-height:34px!important;align-self:center!important}
  .notes-focus-pair{z-index:100100!important;pointer-events:auto!important}
}

/* Project toolbar and summary. */
.project-mode{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;overflow-x:auto!important}
.project-mode>.v83-project-select-control{position:static!important;flex:0 0 auto!important;order:initial!important}
.v83-project-metric{display:inline-flex!important;align-items:center!important;gap:4px!important;white-space:nowrap}.v83-project-metric .v22-icon{width:19px!important;height:19px!important}
.project-tree-head>.nav-item{min-width:0!important}.project-tree-head>.nav-item>span{min-width:0!important}

/* The month and week use one inner edge; no duplicate bottom border. */
html[data-interface-design="claude"][data-v74-route="calendar"] :is(.v56-week-grid,.v56-month-grid)>.v56-day:is(.today,.tif-today){border-bottom-color:#17130f!important;outline:1px solid #17130f!important;outline-offset:-1px!important;box-shadow:inset 0 0 18px 7px rgba(255,255,255,.96),0 0 3px 1px rgba(255,224,140,.18)!important}
html[data-interface-design="claude"][data-v74-route="calendar"] :is(.v56-week-grid,.v56-month-grid)>.v56-day:is(.today,.tif-today)::after{border-bottom:0!important;box-shadow:none!important}

/* Comment feeds retain full width and halve only their vertical rhythm. */
.entity-feed,.compact-feed{width:100%!important;max-width:100%!important}.entity-feed :is(.feed-item,.feed-entry,.v56-feed-entry){padding-top:4px!important;padding-bottom:4px!important}.entity-feed :is(.feed-compose-card,.v30-feed-compose-card){padding-top:5px!important;padding-bottom:5px!important}.entity-feed textarea,.feed-compose-card textarea{min-height:22px!important;height:22px!important}

/* Time menu: three compact fields per row and four quick actions per row. */
.v83-system-action,.v83-notification-ok{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}.v83-system-action .v22-icon,.v83-notification-ok .v22-icon{width:20px;height:20px;color:#fff!important}
.v80-notification-add{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;gap:6px!important}.v80-notification-add>button{width:36px!important;height:36px!important;padding:6px!important}

/* Task metadata cannot enlarge the mobile page. */
.task-row-main,.task-meta,.v56-task-properties{min-width:0!important;max-width:100%!important}.task-meta{overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;scrollbar-width:none}.task-meta::-webkit-scrollbar{display:none}

@media(max-width:1024px){
  .v76-mobile-header{z-index:100080!important;pointer-events:auto!important}
  .v76-mobile-actions :is(button,.btn),.sidebar .nav-item{font-family:var(--font,system-ui)!important;font-size:15px!important;font-weight:600!important}
  .v13-time-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.78fr) auto!important;gap:6px!important}.v13-time-grid label{min-width:0!important}.v13-time-grid input{width:100%!important;min-width:0!important;padding-inline:5px!important}.v13-no-deadline{align-self:end!important;white-space:nowrap!important;padding-inline:7px!important}
  .v13-quick{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;align-items:start!important}.v13-quick>*{min-width:0!important}.v13-quick>.btn,.v13-postpone-wrap>.btn,.v80-notification-heading{width:100%!important;min-width:0!important;padding-inline:5px!important;white-space:nowrap!important}
  .v13-quick>.v80-notifications{display:block!important;position:relative!important}.v80-notification-panel{right:0!important;left:auto!important;width:min(330px,calc(100vw - 20px))!important}
  .task-row-v11,.v15-task-row{min-width:0!important;max-width:100%!important}.task-row-tools{min-width:0!important}.v76-mobile-task-artifacts,.v36-artifact-picker-list,[data-task-artifacts]{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important}
  .v82-settings-platform-line{display:block!important;width:max-content!important;max-width:none!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}
}
