/* 1165: My Tasks, to the Figma (cards and list). The page's old controls stay in the page, hidden, so its own code keeps working. */
#view-tasks.mtv-on > .kpis, #view-tasks.mtv-on > .capbox, #view-tasks.mtv-on > .toolbar, #view-tasks.mtv-on > .tchips, #view-tasks.mtv-on > #list, #view-tasks.mtv-on > #doneWrap { display: none !important; }
.mtv { --ink:#192341; --ink2:#3D4663; --mut:#6B7390; --dim:#9AA0B8; --line:#E3E6EF; --bd:#D5D9E3; --red:#D92D4B;
  display:flex; flex-direction:column; gap:16px; color:var(--ink); font-family:var(--cl-font,Inter,system-ui,sans-serif); max-width:1460px; }
.mtv svg { flex:none; }
.mtv .mthead { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.mtv .mthead h1 { margin:0; font-size:30px; line-height:38px; font-weight:700; color:var(--ink); letter-spacing:-.01em; }
.mtv .mtsp { flex:1; }
.mtv .mtmut { color:var(--dim); font-size:13px; }
.mtv .mtlink { border:0; background:none; padding:0; color:#4A6CF7; font:600 13px inherit; font-family:inherit; cursor:pointer; }
/* toolbar */
.mtv .mttb { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.mtv .mtsrch { display:flex; align-items:center; gap:8px; height:44px; padding:0 14px; width:min(370px,100%); flex:0 1 370px; background:#fff; border:1px solid var(--line); border-radius:8px; color:var(--dim); }
.mtv .mtsrch input { border:0; outline:0; background:transparent; font:15px inherit; font-family:inherit; color:var(--ink); width:100%; height:100%; padding:0; box-shadow:none; }
.mtv .mtbtn { display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 16px; background:#fff; border:1px solid var(--line); border-radius:8px; font:500 15px inherit; font-family:inherit; color:var(--ink2); cursor:pointer; white-space:nowrap; }
.mtv .mtbtn:hover { border-color:var(--bd); background:#FAFBFD; }
.mtv .mtbtn.on { border-color:#192341; color:#192341; }
.mtv .mtbtn.sm { height:34px; padding:0 12px; font-size:13px; gap:6px; }
.mtv .mtn { font-style:normal; background:#192341; color:#fff; border-radius:999px; font-size:11px; line-height:18px; padding:0 6px; }
.mtv .mttog { display:inline-flex; align-items:center; gap:10px; font-size:15px; color:var(--ink2); cursor:pointer; user-select:none; }
.mtv .mttog input { position:absolute; opacity:0; width:0; height:0; }
.mtv .mttog span { width:40px; height:22px; border-radius:999px; background:#D5D9E3; position:relative; transition:background .15s; }
.mtv .mttog span::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:left .15s; }
.mtv .mttog input:checked + span { background:#192341; }
.mtv .mttog input:checked + span::after { left:21px; }
.mtv .mttog input:focus-visible + span { outline:2px solid #8900B5; outline-offset:2px; }
.mtv .mtextra { display:inline-flex; align-items:center; gap:8px; }
.mtv .mtextra .btn { height:36px; }
.mtv .mtseg { display:inline-flex; background:#ECEEF4; border-radius:10px; padding:4px; gap:2px; }
.mtv .mtseg button { display:inline-flex; align-items:center; gap:7px; border:0; background:transparent; border-radius:7px; height:36px; padding:0 14px; font:500 15px inherit; font-family:inherit; color:var(--mut); cursor:pointer; }
.mtv .mtseg button.on { background:#fff; color:var(--ink); font-weight:600; box-shadow:0 1px 2px rgba(25,35,65,.1); }
/* active filters */
.mtv .mtchips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:-4px; }
.mtv .mtfc { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:3px 6px 3px 10px; font-size:13px; }
.mtv .mtfc button { border:0; background:none; color:var(--mut); cursor:pointer; display:inline-flex; padding:2px; border-radius:50%; }
.mtv .mtfc button:hover { background:#ECEEF4; }
/* status chips */
.mtst { display:inline-flex; align-items:center; gap:7px; height:30px; padding:0 14px; border-radius:999px; background:var(--b); color:var(--f); font:600 14px var(--cl-font,Inter,sans-serif); white-space:nowrap; }
.mtst svg { width:14px; height:14px; }
.mtv .mtstb { border:0; background:none; padding:0; cursor:pointer; border-radius:999px; flex:none; }
.mtv .mtstb:hover .mtst { filter:brightness(.96); box-shadow:0 0 0 2px rgba(25,35,65,.08); }
.mtv .mtstb:focus-visible { outline:2px solid #8900B5; outline-offset:2px; }
/* the overdue box */
.mtv .mtod { border:1px solid #F3C1CB; background:#FDF1F3; border-radius:14px; overflow:hidden; }
.mtv .mtodh { width:100%; display:flex; align-items:center; gap:10px; border:0; background:transparent; padding:16px 22px; cursor:pointer; color:var(--red); font:500 16px inherit; font-family:inherit; text-align:left; }
.mtv .mtodh b { font-weight:600; }
.mtv .mtodh span { color:var(--red); }
.mtv .mtodb { border-top:1px solid #F3C1CB; padding:14px 18px 18px; display:flex; flex-direction:column; gap:12px; }
.mtv .mtodbar { display:flex; align-items:center; gap:10px; }
/* groups */
.mtv .mtgrp { display:flex; flex-direction:column; gap:12px; }
.mtv .mtgh { display:inline-flex; align-items:center; gap:10px; border:0; background:none; padding:4px 0; cursor:pointer; color:var(--ink2); font:500 17px inherit; font-family:inherit; align-self:flex-start; }
.mtv .mtgh b { font-weight:600; color:var(--ink); }
.mtv .mtgh i { font-style:normal; background:#ECEEF4; color:var(--mut); border-radius:6px; font-size:13px; padding:1px 7px; }
.mtv .mtitems { display:flex; flex-direction:column; gap:12px; }
.mtv .mtitems.list { gap:10px; }
/* a card */
.mtv .mtcard { position:relative; display:flex; align-items:stretch; gap:0; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; cursor:pointer; box-shadow:0 1px 2px rgba(25,35,65,.04); }
.mtv .mtcard::before { content:""; width:10px; flex:none; background:var(--bar); }
.mtv .mtcard:hover, .mtv .mtrow:hover { box-shadow:0 6px 18px rgba(25,35,65,.10); }
.mtv .mtcard:focus-visible, .mtv .mtrow:focus-visible { outline:2px solid #8900B5; outline-offset:2px; }
.mtv .mtcard.flash, .mtv .mtrow.flash { box-shadow:0 0 0 3px #EC720E; }
.mtv .mtmain { flex:1; min-width:0; padding:16px 18px 16px 18px; display:flex; flex-direction:column; gap:12px; }
.mtv .mtr1 { display:flex; align-items:center; gap:14px; flex-wrap:wrap; min-width:0; }
.mtv .mtr1 > svg { color:var(--dim); margin-left:-4px; }
.mtv .mtnm { font-size:18px; font-weight:600; color:var(--ink); }
.mtv .mtdates { font-size:17px; font-weight:500; color:var(--ink); white-space:nowrap; }
.mtv .mtdates b { font-weight:500; }
.mtv .mtdates b.late { color:var(--red); }
.mtv .mtdates b.ok { color:#3A8A1F; }
.mtv .mtdates.none { color:var(--dim); font-size:14px; }
.mtv .mtover { display:inline-flex; align-items:center; gap:7px; height:30px; padding:0 14px; border-radius:999px; background:#FCE4E8; color:var(--red); font-size:15px; font-weight:600; white-space:nowrap; }
.mtv .mtr2 { display:flex; align-items:center; gap:14px; flex-wrap:nowrap; padding-left:22px; font-size:14px; color:var(--dim); }
.mtv .mtnums { display:inline-flex; gap:14px; flex-wrap:nowrap; white-space:nowrap; }
.mtv .mtr2 .mtsub { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; flex:0 1 auto; }
.mtv .mtnums b { color:var(--ink2); font-weight:600; }
.mtv .mtbar { flex:1; min-width:60px; height:4px; background:#ECEEF4; border-radius:3px; overflow:hidden; }
.mtv .mtbar i { display:block; height:100%; background:linear-gradient(90deg,#F5852B,#E8344F); border-radius:3px; }
.mtv .mtpct { white-space:nowrap; }
.mtv .mtpct b { color:var(--ink2); }
.mtv .mtsub { display:inline-flex; align-items:center; gap:6px; color:var(--dim); font-size:14px; }
.mtv .mtsub b { color:var(--ink2); font-weight:500; }
.mtv .mtdiv { width:1px; height:16px; background:var(--line); }
.mtv .mtside { display:flex; align-items:center; gap:22px; padding:0 22px; border-left:1px solid var(--line); margin:14px 0; }
.mtv .mtlog { height:40px; padding:0 22px; border:1px solid var(--bd); background:#fff; border-radius:8px; font:600 15px inherit; font-family:inherit; color:var(--ink); cursor:pointer; white-space:nowrap; }
.mtv .mtlog:hover { background:#F5F6FA; }
.mtv .mtlogo { width:78px; height:78px; border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; }
.mtv .mtlogo img { max-width:100%; max-height:100%; object-fit:contain; }
.mtv .mtlogo.txt { background:var(--ac); color:#fff; font-size:28px; font-weight:700; }
.mtv .mtlogo.none { background:transparent; }
/* a list row */
.mtv .mtrow { position:relative; display:flex; align-items:center; gap:14px; min-height:66px; padding:8px 14px 8px 0; background:#fff; border:1px solid var(--line); border-radius:10px; overflow:hidden; cursor:pointer; }
.mtv .mtrow::before { content:""; align-self:stretch; width:10px; margin:-8px 0; flex:none; background:var(--bar); }
.mtv .mtrn { display:flex; align-items:center; gap:10px; width:min(400px,32%); flex:none; min-width:0; padding-right:12px; border-right:1px solid var(--line); }
.mtv .mtrn > svg { color:var(--dim); }
.mtv .mtrn > span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.mtv .mtrn .mtnm { font-size:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mtv .mtrn .mtsub { font-size:13px; }
.mtv .mtrc { display:flex; align-items:center; padding-right:14px; border-right:1px solid var(--line); min-height:34px; flex:none; }
.mtv .mtrh { min-width:96px; font-size:14px; color:var(--ink2); gap:4px; }
.mtv .mtrh i { font-style:normal; }
.mtv .mtrh i.g { color:#3A8A1F; }
.mtv .mtrh i.o { color:#C2560F; }
.mtv .mtdpill { display:inline-flex; align-items:center; height:30px; padding:0 14px; border-radius:999px; background:var(--b); color:var(--ink2); font-size:13px; font-weight:500; white-space:nowrap; }
.mtv .mtdpill.late { color:var(--red); }
.mtv .mtrow .mtlogo { width:40px; height:40px; border-radius:8px; }
.mtv .mtrow .mtlogo.txt { font-size:17px; }
.mtv .mtrow .mtlog { height:38px; padding:0 18px; }
/* empty and loading */
.mtv .mtempty { background:#fff; border:1px solid var(--line); border-radius:12px; padding:40px; display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--mut); text-align:center; }
.mtv .mtempty b { color:var(--ink); font-size:18px; }
.mtv .mtsk { height:110px; border-radius:12px; background:linear-gradient(90deg,#EEF0F5 0%,#F7F8FB 50%,#EEF0F5 100%); background-size:200% 100%; animation:mtsk 1.2s linear infinite; }
@keyframes mtsk { from { background-position:200% 0; } to { background-position:-200% 0; } }
/* pop-overs */
.mtpop { position:fixed; z-index:2200; background:#fff; border:1px solid #E3E6EF; border-radius:12px; box-shadow:0 12px 36px rgba(25,35,65,.22); padding:8px; display:flex; flex-direction:column; gap:4px; font-family:var(--cl-font,Inter,sans-serif); color:#192341; max-height:70vh; overflow:auto; }
.mtpop > button { display:flex; align-items:center; gap:8px; border:0; background:none; border-radius:8px; padding:6px 8px; cursor:pointer; font:500 14px inherit; font-family:inherit; color:#3D4663; text-align:left; }
.mtpop > button:hover, .mtpop > button.on { background:#F1F3F8; }
.mtpop p { margin:6px 8px 2px; font-size:12px; color:#9AA0B8; }
.mtpop.filt { flex-direction:row; flex-wrap:wrap; gap:18px; padding:14px 16px; width:min(560px,calc(100vw - 16px)); }
.mtpop .mtfcol { display:flex; flex-direction:column; gap:6px; min-width:200px; flex:1; }
.mtpop .mtfcol b { font-size:12px; letter-spacing:.04em; text-transform:uppercase; color:#6B7390; margin-bottom:2px; }
.mtpop .mtfcol label { display:flex; align-items:center; gap:8px; font-size:14px; cursor:pointer; }
.mtpop .mtfcol .mtst { height:24px; font-size:12px; padding:0 10px; }
.mtpop .mtfft { width:100%; display:flex; align-items:center; border-top:1px solid #ECEEF4; padding-top:10px; }
.mtpop .mtlink { border:0; background:none; padding:0; color:#4A6CF7; font:600 13px inherit; font-family:inherit; cursor:pointer; }
.mtpop .mtmut { color:#9AA0B8; font-size:13px; }
.mtpop .mtsp { flex:1; }
/* a monday task's own card, in a pop-up */
.mtpov { position:fixed; inset:0; z-index:2100; background:rgba(25,35,65,.28); display:flex; justify-content:flex-end; }
.mtpbox { position:relative; width:min(720px,100%); height:100%; overflow:auto; background:var(--card,#fff); box-shadow:-12px 0 40px rgba(25,35,65,.22); padding:46px 18px 24px; }
.mtpx { position:absolute; top:10px; right:12px; width:34px; height:34px; border:0; border-radius:8px; background:transparent; cursor:pointer; color:#3D4663; display:inline-flex; align-items:center; justify-content:center; }
.mtpx:hover { background:#ECEEF4; }
.mtplegacy .card { margin:0; }
/* narrower screens */
@media (max-width:1200px) {
  .mtv .mtside { padding:0 14px; gap:14px; }
  .mtv .mtlogo { width:56px; height:56px; }
  .mtv .mtrow .mtrh { display:none; }
}
@media (max-width:767px) {
  .mtv .mthead { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.mtv .mthead h1 { font-size:24px; }
  .mtv .mtsrch { width:100%; }
  .mtv .mtbtn { height:40px; padding:0 12px; font-size:14px; }
  .mtv .mtseg { margin-left:auto; }
  .mtv .mtcard { flex-direction:column; }
  .mtv .mtcard::before { width:auto; height:6px; }
  .mtv .mtside { border-left:0; border-top:1px solid var(--line); margin:0 16px; padding:12px 0; justify-content:space-between; }
  .mtv .mtlogo { width:44px; height:44px; }
  .mtv .mtr2 { padding-left:0; flex-wrap:wrap; gap:8px 12px; }
  .mtv .mtnums { flex-wrap:wrap; gap:6px 12px; }
  .mtv .mtbar { flex:1 1 100%; }
  .mtv .mtr2 .mtsub, .mtv .mtr2 .mtdiv { display:none; }
  .mtv .mtnm { font-size:16px; }
  .mtv .mtdates { font-size:15px; }
  .mtv .mtrow { flex-wrap:wrap; padding:10px 12px 10px 0; }
  .mtv .mtrn { width:100%; border-right:0; }
  .mtv .mtrc { border-right:0; }
  .mtv .mtrow .mtsp { display:none; }
  .mtv .mtod .mtodh span { display:none; }
}

/* 1209: everything on a card or row stays on its line at any screen width - long names shorten with "…",
   the All tasks list scrolls sideways inside its box rather than squeezing its columns */
@media (min-width: 768px) {
  .mtv .mtr1 { flex-wrap: nowrap !important; }
  .mtv .mtr1 .mtnm { flex: 0 1 auto; min-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mtv .mtr1 > :not(.mtnm):not(.mtsp):not(.mtdates):not(.mtover) { flex: none; white-space: nowrap; }
  .mtv .mtr1 > .mtdates, .mtv .mtr1 > .mtover { white-space: nowrap; }
  /* when the line is tight, the dates and the overdue pill give way before the name does */
  .mtv .mtr1 > .mtdates, .mtv .mtr1 > .mtover { flex: 0 1 auto; min-width: 34px; overflow: hidden; text-overflow: ellipsis; }
  .mtv .mtr1 > .mtsp { flex: 1 1 0; min-width: 0; }
  .mtv .mtmain { min-width: 0; overflow: hidden; }
  .mtv .mtr2 > :not(.mtsub):not(.mtbar) { flex: none; white-space: nowrap; }
  .mtv .mtr2 .mtbar { flex: 1 1 40px; min-width: 40px; }
  .mtv .mtrow { flex-wrap: nowrap !important; }
  .mtv .mtrow > * { flex-shrink: 0; white-space: nowrap; }
  .mtv .mtrow > .mtrn { flex: 1 1 auto; min-width: 120px; overflow: hidden; }
  .mtv .mtrow .mtrn > span { min-width: 0; overflow: hidden; }
  .mtv .mtrow .mtrn b.mtnm { display: block; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 768px) and (max-width: 1280px) {
  .mtv .mtr1 { gap: 10px; }
  .mtv .mtr2 { gap: 10px; }
  .mtv .mtr2 .mtpct { display: none; }
}

/* 1210: a monday task's panel - the Hub task panel's look (480px drawer, sticky header and foot, labelled fields, hours box) */
.mtpbox.mtmp { width: min(480px, 100%); padding: 0; display: flex; flex-direction: column; font-family: var(--cl-font, Inter, sans-serif); color: #192341; }
.mtmp .mtmh { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 20px 24px 16px; background: #fff; border-bottom: 1px solid #EEF0F5; }
.mtmp .mtmh .mtlogo { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.mtmp .mtmh .mtlogo.txt { font-size: 18px; }
.mtmp .mtmhl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mtmp .mtmeye { font: 600 12px/16px var(--cl-font, Inter, sans-serif); color: #EC720E; }
.mtmp .mtmcrumb { font: 400 13.5px/20px var(--cl-font, Inter, sans-serif); color: #6B7390; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtmp .mtmcrumb i { font-style: normal; color: #9AA0B8; }
.mtmp .mtpx { position: static; flex: none; width: 32px; height: 32px; }
.mtmp .mtmbody { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px 24px 24px; }
.mtmp .mtmf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mtmp .mtml { font: 500 13px/18px var(--cl-font, Inter, sans-serif); color: #3D4663; }
.mtmp .mtmname { border: 1px solid #D5D9E3; border-radius: 8px; padding: 9px 12px; font: 600 16px/22px var(--cl-font, Inter, sans-serif); color: #192341; background: #FAFAFD; }
.mtmp .mtmgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mtmp .mtmsel { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px 0 6px; border: 1px solid #D5D9E3; border-radius: 8px; background: #fff; cursor: pointer; color: #6B7390; }
.mtmp .mtmval { min-height: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 8px 12px; border: 1px solid #EEF0F5; border-radius: 8px; background: #FAFAFD; font: 500 14px/20px var(--cl-font, Inter, sans-serif); color: #192341; }
.mtmp .mtmval b { font-weight: 600; color: #1F8F4E; } .mtmp .mtmval b.late { color: #D92D4B; }
.mtmp .mtmval .mvbtn { margin-left: auto; font-size: 12px; padding: 2px 10px; }
.mtmp .mtmhrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; background: #F5F6FA; border: 1px solid #EEF0F5; border-radius: 12px; padding: 14px 16px; }
.mtmp .mtmhrs > div { display: flex; flex-direction: column; gap: 4px; }
.mtmp .mtmhrs span { font: 500 13px var(--cl-font, Inter, sans-serif); color: #3D4663; }
.mtmp .mtmhrs b { font: 700 18px/24px var(--cl-font, Inter, sans-serif); color: #192341; }
.mtmp .mtmbar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #E3E6EF; overflow: hidden; margin-top: 6px; }
.mtmp .mtmbar i { display: block; height: 100%; background: linear-gradient(90deg, #FF7800, #F22A5C); border-radius: 3px; }
.mtmp .mtmlog { display: flex; align-items: center; gap: 12px; }
.mtmp .mtmlog span { flex: 1; font: 500 14px var(--cl-font, Inter, sans-serif); color: #3D4663; }
.mtmp .mtmlogb, .mtmp .mtmdone { height: 40px; min-width: 110px; padding: 0 18px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(90deg, #FF7800, #F22A5C); font: 600 14px var(--cl-font, Inter, sans-serif); cursor: pointer; }
.mtmp .mtmfoot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 16px 24px; background: #fff; border-top: 1px solid #EEF0F5; }
/* monday's own sections under it, in the panel's style - its header, ribbon and own Log time are replaced by the panel's */
.mtmp .mtmlegacy .card { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
.mtmp .mtmlegacy .card::before, .mtmp .mtmlegacy .card::after { display: none !important; }
.mtmp .mtmlegacy .chead, .mtmp .mtmlegacy .cardrib, .mtmp .mtmlegacy .cardpct, .mtmp .mtmlegacy .logbox { display: none !important; }
.mtmp .mtmlegacy .cbody { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; margin: 0 !important; }
.mtmp .mtmlegacy .field { margin: 0 0 16px; }
.mtmp .mtmlegacy .k, .mtmp .mtmlegacy .dgrid .k, .mtmp .mtmlegacy .dgrid dt, .mtmp .mtmlegacy .dlab { font: 500 13px/18px var(--cl-font, Inter, sans-serif) !important; color: #3D4663 !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 6px; }
.mtmp .mtmlegacy .v, .mtmp .mtmlegacy .dgrid { font: 400 14px/20px var(--cl-font, Inter, sans-serif) !important; color: #192341; }
.mtmp .mtmlegacy .tlpill { background: #F5F6FA !important; color: #192341 !important; border: 1px solid #EEF0F5; font: 500 13px var(--cl-font, Inter, sans-serif) !important; }
.mtmp .mtmlegacy .briefbox { margin: 0 0 12px !important; border: 1px solid #EEF0F5 !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; }
.mtmp .mtmlegacy .briefbox > summary { padding: 12px 14px !important; font: 600 14px/20px var(--cl-font, Inter, sans-serif) !important; color: #192341 !important; text-transform: none !important; letter-spacing: 0 !important; }
.mtmp .mtmlegacy .briefbox > summary::after { color: #9AA0B8 !important; font-size: 12px !important; letter-spacing: 0 !important; }
.mtmp .mtmlegacy .briefbox .btext { padding: 0 14px 14px !important; font: 400 14px/21px var(--cl-font, Inter, sans-serif) !important; }
.mtmp .mtmlegacy .briefedit { font: 500 12px var(--cl-font, Inter, sans-serif) !important; color: #6B7390 !important; text-transform: none !important; letter-spacing: 0 !important; }
.mtmp .mtmlegacy .btn, .mtmp .mtmlegacy .btn.ghost2 { height: 36px; padding: 0 14px !important; border-radius: 8px !important; font: 500 14px var(--cl-font, Inter, sans-serif) !important; text-transform: none !important; letter-spacing: 0 !important; }
.mtmp .mtmlegacy .btn.ghost2 { background: #fff !important; border: 1px solid #D5D9E3 !important; color: #192341 !important; }
.mtmp .mtmlegacy .commentbox textarea { border: 1px solid #D5D9E3; border-radius: 8px; font: 400 14px var(--cl-font, Inter, sans-serif); }
.mtmp .mtlogo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mtmp .mtlogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mtmp .mtlogo.txt { background: var(--ac); color: #fff; font-weight: 700; }
.mtmp .mtmfoot .mtsp { flex: 1; }
.mtmp .mtmdone { margin-left: auto; }
.mtmp .mtmlegacy .briefbox > summary { display: flex; align-items: center; gap: 8px; }

/* 1212: the task a notification opened, lit up where it sits on the page */
.mtv .hlnote, .altv .hlnote { position: relative; z-index: 1; outline: 3px solid #FF7800 !important; outline-offset: 2px; background-color: #FFF4EA !important; box-shadow: 0 0 0 6px rgba(255,120,0,.18) !important; transition: background-color .4s, outline-color .4s; }
/* 1234: Up for grabs - offered to everyone with the skill, kept apart from your own */
.mtv .mtgh .mtgrabhint { font-weight: 400; font-size: 12.5px; color: #8A90A6; margin-left: 10px; }

/* 1254 (Ellie: filters as "a nice looking label dropdown" everywhere): a labelled dropdown a filter, and its labels */
.mtdd { display:inline-flex; align-items:center; gap:7px; height:36px; padding:0 10px 0 12px; border:1px solid #E3E6EF; border-radius:10px; background:#fff; color:#192341; font:500 13.5px var(--cl-font,Inter,sans-serif); cursor:pointer; white-space:nowrap; }
.mtdd:hover, .mtdd[aria-expanded="true"] { border-color:#192341; }
.mtdd .mtddl { font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:#8A91AB; }
.mtdd b { font-weight:600; max-width:160px; overflow:hidden; text-overflow:ellipsis; }
.mtdd svg { color:#8A91AB; }
.mtdd.on { border-color:#F22A5C; box-shadow:0 0 0 1px #F22A5C inset; }
.mtpop.lpk { min-width:250px; max-height:min(70vh,520px); }
.mtpop.lpk .lpkh { display:flex; align-items:center; padding:4px 8px 8px; border-bottom:1px solid #ECEEF4; margin-bottom:4px; }
.mtpop.lpk .lpkh b { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#6B7390; }
.mtpop.lpk .mtlink[disabled] { color:#C3C8D8; cursor:default; }
.mtpop.lpk .lpko { width:100%; }
.mtpop.lpk .lpkl { display:inline-flex; align-items:center; padding:3px 10px; border-radius:6px; background:#EEF0F6; color:#3D4663; font-weight:500; }
.mtpop.lpk .lpkn { font-size:12.5px; color:#9AA0B8; min-width:18px; text-align:right; }
.mtpop.lpk .lpkt { width:18px; text-align:center; color:transparent; font-weight:700; }
.mtpop.lpk .lpko.on { background:rgba(242,42,92,.07); }
.mtpop.lpk .lpko.on .lpkt { color:#F22A5C; }
:root[data-theme="dark"] .mtdd { background:#1B2136; border-color:#3A4363; color:#E6E9F2; }
:root[data-theme="dark"] .mtdd:hover { border-color:#6F7896; }
:root[data-theme="dark"] .mtpop.lpk .lpkl { background:#262D48; color:#D3D8E6; }
:root[data-theme="dark"] .mtpop.lpk .lpkh { border-color:#2E3654; }
:root[data-theme="dark"] .mtpop.lpk .lpko.on { background:rgba(242,42,92,.14); }
/* 1254: the Hub's other filter dropdowns (Planning, the task lists) - same look: label, what is picked, labels to pick */
.msel.lbld summary { display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 10px 0 12px !important; border:1px solid #E3E6EF; border-radius:10px; background:#fff; color:#192341; font:500 13px var(--cl-font,Inter,sans-serif); }
.msel.lbld .mslbl { font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:#8A91AB; }
.msel.lbld summary b { font-weight:600; max-width:150px; overflow:hidden; text-overflow:ellipsis; }
.msel.lbld .mscar { color:#8A91AB; font-size:10px; }
.msel.lbld[open] summary { border-color:#192341; }
.msel.lbld .mopts { min-width:230px; padding:6px; border-radius:12px; box-shadow:0 12px 32px rgba(25,35,65,.18); }
.msel.lbld .mso { display:flex !important; align-items:center; gap:8px; padding:6px 8px; border-radius:8px; cursor:pointer; }
.msel.lbld .mso:hover { background:#F1F3F8; }
.msel.lbld .mso input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.msel.lbld .msol { display:inline-flex; padding:3px 10px; border-radius:6px; background:#EEF0F6; color:#3D4663; font-weight:500; font-size:13px; }
.msel.lbld .msot { margin-left:auto; width:18px; text-align:center; color:transparent; font-weight:700; }
.msel.lbld .mso:has(input:checked) { background:rgba(242,42,92,.07); }
.msel.lbld .mso:has(input:checked) .msot { color:#F22A5C; }
.msel.lbld .mso:has(input:focus-visible) { outline:2px solid #4A6CF7; outline-offset:1px; }
.msel.lbld:has(input:checked) summary { border-color:#F22A5C; box-shadow:0 0 0 1px #F22A5C inset; }
:root[data-theme="dark"] .msel.lbld summary { background:#1B2136 !important; border-color:#3A4363 !important; color:#E6E9F2 !important; }
:root[data-theme="dark"] .msel.lbld:has(input:checked) summary { border-color:#F22A5C !important; }
:root[data-theme="dark"] .msel.lbld .msol { background:#262D48; color:#D3D8E6; }
:root[data-theme="dark"] .msel.lbld .mso:hover { background:#232A42; }

/* 1262: waiting on another task */
.mtwait{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 9px;border-radius:999px;background:#FFF1DD;color:#9A5B00;font:600 11.5px var(--cl-font,Inter,sans-serif);white-space:nowrap;max-width:280px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.t2card .mtwait{margin:4px 0 0;display:inline-flex}
:root[data-theme="dark"] .mtwait{background:#3A2A12;color:#F5C98A}
.amlcafter{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.amlcafter .amdep{display:inline-flex;align-items:center;gap:5px}
.amlcafter .amdep button{border:0;background:none;color:inherit;opacity:.6;cursor:pointer;padding:0 2px;font-size:13px}
.amlcafter .amdep button:hover{opacity:1}
.amlcafter select{max-width:240px}

/* 1267 (Ellie, 6 Nov: monday is cut off - "remove all the monday buttons", keep Move from monday for its information).
   Hidden: Accounts' "Import from monday", the "on monday" chips on assets/projects, AM setup's "Read monday again" box,
   Admin's "monday archive" tab, Purchases' "Bring the monday board across?", Tasks' "Social media graphics" (read monday's
   board), IT Desk's "Copy from monday again". Move from monday and Completed › Finished on monday stay. */
#amcimport, a.ammchip, .amsec:has(> #amsboard), button[data-tab="marchive"], .blcard.blnote:has(#blImp), #smGraphics, [data-timport] { display: none !important; }
