:root {
  color-scheme: dark;
  --bg: #202124;
  --rail: #25262a;
  --rail-active: #303136;
  --row: #25262a;
  --row-alt: #25262a;
  --row-hover: #303136;
  --text: #c5c6ca;
  --strong: #e5e6ea;
  --muted: #a5a6aa;
  --dim: #95969a;
  --line: #45464a;
  --soft-line: #35363a;
  --blue: #2e88f7;
  --yellow: #fad134;
  --green: #acb;
  --pink: #c9a;
  --tan: #cb9;
  --next-blue: rgb(118, 161, 229);
  --danger: #f34444;
}

@font-face {
  font-family: "proxima-nova";
  src: url("https://focus.nirvanahq.com/desktop/fonts/ProximaNova-Reg-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "proxima-nova";
  src: url("https://focus.nirvanahq.com/desktop/fonts/ProximaNova-Sbold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "proxima-nova";
  src: url("https://focus.nirvanahq.com/desktop/fonts/ProximaNova-Bold-webfont.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Figtree";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Figtree";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Figtree-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Figtree";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src: url("https://focus.nirvanahq.com/desktop/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "nirvcons-light";
  src: url("https://focus.nirvanahq.com/desktop/fonts/nirvcons-light.woff?35334505") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "proxima-nova", Figtree, Inter, "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select {
  font: inherit;
}

.app {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: var(--rail);
  border-right: 1px solid transparent;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 42px;
  height: 42px;
  padding: 0 12px;
  background: var(--bg);
  color: #d5d6da;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.brand-mark rect {
  fill: #303136;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark path:last-child {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 2;
}

.brand-text {
  color: #d5d6da;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.rail-nav {
  display: grid;
  gap: 0;
  padding: 6px 0 18px;
}

.rail-heading {
  margin: 24px 10px 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.context-panel {
  display: block;
}

.context-summary {
  position: relative;
  display: block;
  padding-right: 16px;
  cursor: pointer;
  user-select: none;
}

.context-summary::-webkit-details-marker {
  display: none;
}

.context-summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.42);
}

.context-panel:not([open]) .context-summary::after {
  margin-top: -4px;
  transform: rotate(-90deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  padding: 0 8px 0 10px;
}

.project-list {
  display: grid;
  gap: 1px;
}

.tag-button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #d5d6da;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.tag-button:hover,
.tag-button.active {
  background: var(--rail-active);
}

.tag-button.active {
  box-shadow: inset 0 0 0 1px rgba(46, 136, 247, 0.55);
}

.tag-button span {
  min-width: 0;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-button strong {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
}

.rail-link {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  min-height: 30px;
  margin: 1px 3px;
  padding: 0 10px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: #d5d6da;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.rail-link:hover,
.rail-link.active {
  background: var(--rail-active);
  color: #d5d6da;
  border-left-color: var(--blue);
}

.rail-link.drag-over-nav,
.footer-link.drag-over-nav {
  background: rgba(46, 136, 247, 0.2);
  border-left-color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(46, 136, 247, 0.25);
}

.rail-link.active::before {
  content: none;
}

.rail-link span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-link strong {
  justify-self: end;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.rail-link[data-view-link="inbox"] {
  margin-bottom: 13px;
}

.rail-footer {
  margin-top: auto;
  display: grid;
  gap: 1px;
  padding: 16px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
}

.footer-link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  margin: 1px -7px;
  padding: 0 10px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: #d5d6da;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.footer-link:hover,
.footer-link.active {
  background: var(--rail-active);
  border-left-color: var(--blue);
}

.rail-footer > span {
  font-size: 12px;
  padding-top: 8px;
}

.icon,
.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #ccc;
}

.icon::before,
.dot::before,
.caret::before {
  display: inline-block;
  direction: ltr;
  font-family: "nirvcons-light";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-smoothing: antialiased;
}

.icon::after,
.dot::after {
  content: none;
}

.icon.inbox::before {
  content: "\e8ae";
  color: #ccc;
}

.icon.focus::before {
  content: "\e8c4";
  color: var(--yellow);
  font-size: 23px;
}

.icon.next::before {
  content: "\e81d";
  color: var(--next-blue);
  font-size: 22px;
}

.icon.later::before {
  content: "\e8b5";
  color: var(--next-blue);
}

.icon.scheduled::before {
  content: "\e822";
  color: var(--green);
}

.icon.someday::before {
  content: "\e8af";
  color: var(--pink);
}

.icon.waiting::before {
  content: "\e802";
  color: var(--tan);
}

.dot::before {
  content: "o";
  color: #ccc;
  font-size: 14px;
}

.icon.logbook::before {
  content: "\e84c";
  color: #ccc;
}

.icon.trash::before {
  content: "\e835";
  color: #ccc;
}

.icon.inbox,
.icon.focus,
.icon.today,
.icon.forecast,
.icon.next,
.icon.later,
.icon.scheduled,
.icon.someday,
.icon.waiting,
.icon.projects,
.icon.review {
  --mui-sidebar-icon: none;
}

.icon.inbox::before,
.icon.focus::before,
.icon.today::before,
.icon.forecast::before,
.icon.next::before,
.icon.later::before,
.icon.scheduled::before,
.icon.someday::before,
.icon.waiting::before,
.icon.projects::before,
.icon.review::before {
  content: "";
  width: 19px;
  height: 19px;
  background: currentColor;
  font-family: initial;
  font-size: 0;
  -webkit-mask: var(--mui-sidebar-icon) center / contain no-repeat;
  mask: var(--mui-sidebar-icon) center / contain no-repeat;
}

.icon.inbox {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%203H5c-1.1%200-2%20.9-2%202v14c0%201.1.89%202%202%202h14c1.1%200%202-.9%202-2V5c0-1.1-.9-2-2-2zm0%2016H5v-3h3.56c.69%201.19%201.97%202%203.45%202s2.75-.81%203.45-2H19v3zm0-5h-4.99c0%201.1-.9%202-2%202s-2-.9-2-2H5V5h14v9z%22%2F%3E%3C%2Fsvg%3E");
  color: #ccc;
}

.icon.focus {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2017.27L18.18%2021l-1.64-7.03L22%209.24l-7.19-.61L12%202%209.19%208.63%202%209.24l5.46%204.73L5.82%2021z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--yellow);
}

.icon.today {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%204h-1V2h-2v2H8V2H6v2H5c-1.1%200-2%20.9-2%202v14c0%201.1.9%202%202%202h14c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zM5%2010h14v10H5V10zm0-4h14v2H5V6zm10.6%205.6l1.4%201.4-5.5%205.5L8%2015l1.4-1.4%202.1%202.1%204.1-4.1z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--green);
}

.icon.forecast {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%202v2H5c-1.1%200-2%20.9-2%202v14c0%201.1.9%202%202%202h14c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2h-2V2h-2v2H9V2H7zm12%208v10H5V10h14zM5%208V6h14v2H5zm3%204h3v3H8v-3zm5%200h3v3h-3v-3zm-5%205h3v2H8v-2zm5%200h3v2h-3v-2z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--next-blue);
}

.icon.next {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.5%205H11l5%207-5%207h4.5l5-7z%22%2F%3E%3Cpath%20d%3D%22M8.5%205H4l5%207-5%207h4.5l5-7z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--next-blue);
}

.icon.later {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M17.63%205.84C17.27%205.33%2016.67%205%2016%205L5%205.01C3.9%205.01%203%205.9%203%207v10c0%201.1.9%201.99%202%201.99L16%2019c.67%200%201.27-.33%201.63-.84L22%2012l-4.37-6.16zM16%2017H5V7h11l3.55%205L16%2017z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--next-blue);
}

.icon.scheduled {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%204h-1V2h-2v2H8V2H6v2H5c-1.11%200-1.99.9-1.99%202L3%2020c0%201.1.89%202%202%202h14c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%2016H5V10h14v10zm0-12H5V6h14v2zm-7%205h5v5h-5z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--green);
}

.icon.someday {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2019.57l-1.427%201.428-6.442-6.442%201.43-1.428zM13.12%203c-2.58%200-5.16.98-7.14%202.95l-.01.01c-3.95%203.95-3.95%2010.36%200%2014.31l14.3-14.31C18.3%203.99%2015.71%203%2013.12%203zM6.14%2017.27C5.4%2016.03%205%2014.61%205%2013.12c0-.93.16-1.82.46-2.67.19%201.91.89%203.79%202.07%205.44l-1.39%201.38zm2.84-2.84C7.63%2012.38%207.12%209.93%207.6%207.6c.58-.12%201.16-.18%201.75-.18%201.8%200%203.55.55%205.08%201.56l-5.45%205.45zm1.47-8.97c.85-.3%201.74-.46%202.67-.46%201.49%200%202.91.4%204.15%201.14l-1.39%201.39c-1.65-1.18-3.52-1.88-5.43-2.07z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--pink);
}

.icon.waiting {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M16%205v8c0%201.1-.9%202-2%202H8c-1.1%200-2-.9-2-2V5h10m4-2H4v10c0%202.21%201.79%204%204%204h6c2.21%200%204-1.79%204-4v-3h2c1.11%200%202-.89%202-2V5c0-1.11-.89-2-2-2zm-2%205V5h2v3h-2zm2%2011H2v2h18v-2z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--tan);
}

.icon.projects {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%205.5C3%204.12%204.12%203%205.5%203h4.2c.67%200%201.3.27%201.77.73L13.73%206H18.5C19.88%206%2021%207.12%2021%208.5v8c0%201.38-1.12%202.5-2.5%202.5h-13C4.12%2019%203%2017.88%203%2016.5v-11zM5.5%205c-.28%200-.5.22-.5.5v11c0%20.28.22.5.5.5h13c.28%200%20.5-.22.5-.5v-8c0-.28-.22-.5-.5-.5h-5.6l-2.84-2.84A.5.5%200%200%200%209.7%205H5.5z%22%2F%3E%3C%2Fsvg%3E");
  color: #ccc;
}

.icon.review {
  --mui-sidebar-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M6%203h9.2L20%207.8V19c0%201.1-.9%202-2%202H6c-1.1%200-2-.9-2-2V5c0-1.1.9-2%202-2zm8%202H6v14h12V9h-4V5zm1.4.6V7H16.8l-1.4-1.4zM8.4%2010.6l1.1%201.1%202.2-2.2%201.1%201.1-3.3%203.3-2.2-2.2%201.1-1.1zm5.1.4H17v1.6h-3.5V11zm-5.1%205.1l1.1%201.1%202.2-2.2%201.1%201.1-3.3%203.3-2.2-2.2%201.1-1.1zm5.1.4H17v1.6h-3.5v-1.6z%22%2F%3E%3C%2Fsvg%3E");
  color: var(--green);
}

.main {
  position: relative;
  min-width: 0;
}

.topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 8px;
  background: var(--bg);
}

.top-spacer {
  flex: 1 1 auto;
}

.top-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 108px;
  height: 27px;
  border: 0;
  background: transparent;
  color: #c5c6ca;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.top-util {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  border: 0;
  background: transparent;
  color: #c5c6ca;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.top-util:hover {
  color: #e5e6ea;
}

.settings-panel {
  position: absolute;
  top: 40px;
  right: 18px;
  z-index: 12;
  width: min(420px, calc(100vw - 280px));
  border: 1px solid #45464a;
  border-radius: 4px;
  background: #25262a;
  color: #d5d6da;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.settings-head strong {
  font-size: 14px;
  font-weight: 600;
}

.settings-head button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #a5a6aa;
  cursor: pointer;
}

.settings-head button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e6ea;
}

.settings-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.settings-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.settings-list dt {
  color: #8f9096;
  font-size: 12px;
  font-weight: 600;
}

.settings-list dd {
  min-width: 0;
  margin: 0;
  color: #c5c6ca;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-actions button,
.settings-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #45464a;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #d5d6da;
  padding: 0 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.settings-actions button:hover,
.settings-actions a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.settings-actions button:disabled {
  opacity: 0.55;
  cursor: default;
}

.settings-status {
  margin: 10px 0 0;
  color: #a5a6aa;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.settings-status.ok {
  color: #acb;
}

.settings-status.error {
  color: #ff9c9c;
}

.plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 0;
  background: transparent;
  color: #c5c6ca;
  font-size: 0;
  font-weight: 400;
  line-height: 1;
}

.plus::before {
  content: "\e8c0";
  color: #c5c6ca;
  font-family: "nirvcons-light";
  font-size: 15.3px;
  line-height: 1;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #c5c6ca;
  opacity: 0.7;
}

.caret::before {
  content: none;
}

.search {
  display: flex;
  align-items: center;
  position: relative;
  gap: 0;
  width: 188px;
  height: 27px;
  min-width: 188px;
  color: #c5c6ca;
  font-weight: 600;
}

.search-mark {
  position: absolute;
  left: 7px;
  top: 50%;
  display: block;
  width: 17px;
  height: 17px;
  margin-top: -8px;
  border: 0;
  border-radius: 0;
  pointer-events: none;
}

.search-mark::before {
  content: "\e8c1";
  color: #c5c6ca;
  font-family: "nirvcons-light";
  font-size: 17px;
  line-height: 1;
}

.search-mark::after {
  content: none;
}

.search input {
  width: 100%;
  height: 27px;
  min-height: 27px;
  border: 0;
  background: transparent;
  color: #c5c6ca;
  padding: 5px 10px 3px 26px;
  font-size: 13px;
  font-weight: 600;
  outline: 0;
}

.search input::placeholder {
  color: #c5c6ca;
}

.view {
  max-width: none;
  margin: 40px 0 100px;
  padding: 0 30px;
}

.view-head h1 {
  margin: 0;
  color: #c5c6ca;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.view-head p {
  margin: 4.2px 0 0 1px;
  color: #c5c6ca;
  font-size: 13.125px;
  line-height: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.4px;
  margin-top: 20px;
}

.chip {
  min-width: 35px;
  min-height: 18.45px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.8px 7px 1.4px;
  font-size: 12.25px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.chip.active {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.meta-filter {
  min-height: 18.45px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: 1px 22px 1px 8px;
  font-size: 12.25px;
  font-weight: 600;
  line-height: 1;
  outline: 0;
  cursor: pointer;
}

.meta-filter:hover,
.meta-filter:focus {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.view-tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.note-toggle {
  min-width: 28px;
  min-height: 28px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.note-toggle:first-child {
  border-left: 0;
}

.note-toggle:hover,
.note-toggle.active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.quick-add {
  display: grid;
  grid-template-columns: 403px 118px auto;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 34px 0 42px;
}

body.project-mode .view-head {
  display: none;
}

body.project-mode .quick-add {
  min-height: 46px;
  margin-top: 83px;
  margin-bottom: 30px;
}

.project-summary {
  margin: 0 0 0;
}

.project-summary-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 25px;
  align-items: start;
  min-height: 138px;
  width: 100%;
  background: var(--row);
  color: #e5e6ea;
  overflow: hidden;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.07);
  padding: 24px 14px 25px 21px;
}

.project-summary-count {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 32px;
  color: rgba(229, 230, 234, 0.55);
  font-size: 11px;
  line-height: 1.15;
}

.project-summary-count strong {
  color: #c5c6ca;
  font-size: 16px;
  font-weight: 700;
}

.project-summary-count span {
  margin-top: 2px;
  text-align: center;
}

.project-summary-main {
  min-width: 0;
  padding: 0;
}

.project-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

.project-summary-title h2 {
  min-width: 0;
  margin: 0;
  color: #e5e6ea;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.project-summary-card .task-note {
  margin-top: 10px;
}

.project-summary-card .progress {
  max-width: min(690px, 100%);
  margin-top: 10px;
}

.project-jump {
  position: relative;
  display: block;
  width: 25px;
  min-height: 32px;
}

.project-jump::before {
  content: "\e801";
  position: absolute;
  left: 5px;
  top: 10px;
  color: #8f9096;
  font-family: "nirvcons-light";
  font-size: 14px;
  line-height: 1;
}

.project-section h2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.section-title.project-section {
  min-height: 24px;
  margin-bottom: 0;
  align-items: center;
}

.project-section h2 span {
  color: rgba(197, 198, 202, 0.42);
  font-size: 12px;
  font-weight: 600;
}

.project-section strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.quick-add input {
  height: 32px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  outline: 0;
  padding: 7px 0 7px 3px;
}

.quick-add input::placeholder {
  color: var(--muted);
}

.quick-add input:focus {
  border-bottom-color: var(--blue);
}

.quick-add select,
.quick-add button {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}

.quick-add:focus-within select,
.quick-add:focus-within button {
  opacity: 1;
  pointer-events: auto;
}

.quick-add select {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  color: #e5e6ea;
  padding: 0 7px;
  font-size: 13px;
}

.quick-add button {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #c5c6ca;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.quick-add button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #d5d6da;
}

.quick-add p {
  grid-column: 1 / -1;
  margin: 0;
  color: #95969a;
  font-size: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.section-title h2 {
  margin: 0;
  color: #c5c6ca;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.section-title span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  margin: 0 0 28px;
  max-width: 760px;
}

.status-card {
  display: grid;
  gap: 5px;
  min-height: 58px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--row);
  padding: 10px 12px;
}

.status-card strong {
  color: #e5e6ea;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.status-card span {
  color: rgba(197, 198, 202, 0.68);
  font-size: 12px;
  font-weight: 600;
}

.project-grid {
  display: grid;
  gap: 1px;
  margin-bottom: 26px;
}

.project-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  background: var(--row);
  padding: 13px 18px 12px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.07);
}

.project-card:hover {
  background: var(--row-hover);
}

.project-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #e5e6ea;
  text-decoration: none;
}

.project-card-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.project-card-title:hover strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-card .progress {
  max-width: min(720px, 100%);
  margin-top: 3px;
}

.project-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-card-footer span {
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(229, 230, 234, 0.55);
  font-size: 11px;
}

.items {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.task {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(90px, 265px) 25px;
  gap: 0;
  align-items: start;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  background: var(--row);
  color: #e5e6ea;
  overflow: visible;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.07);
}

.task.menu-open {
  z-index: 6;
  overflow: visible;
}

.task.dragging {
  opacity: 0.42;
  pointer-events: none;
}

.task.drop-before::before,
.task.drop-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(46, 136, 247, 0.16);
}

.task.drop-before::before {
  top: -1px;
}

.task.drop-after::after {
  bottom: -1px;
}

.task:nth-child(even) {
  background: var(--row-alt);
}

.task:hover {
  background: var(--row-hover);
}

.task-controls {
  display: grid;
  grid-template-columns: 24px 4px 16px 9px 16px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  width: 78px;
  height: 32px;
  min-height: 32px;
  overflow: hidden;
}

.grip {
  position: relative;
  display: block;
  grid-column: 1;
  width: 24px;
  height: 32px;
  margin: 0;
  padding: 4px;
  background: url("/assets/nirvana/grippy.png") center center / auto no-repeat;
  color: #95969a;
  opacity: 1;
  cursor: grab;
  user-select: none;
  touch-action: none;
  font-size: 0;
}

.grip::before {
  content: none;
}

body.is-dragging-task,
body.is-dragging-task * {
  cursor: grabbing;
  user-select: none;
}

.task.dragging .grip {
  cursor: grabbing;
}

.check {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  grid-column: 3;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

button.check:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.check.checked {
  position: relative;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.check.checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid rgba(255, 255, 255, 0.62);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.task.done-state .task-title,
.task.done-state .project-title-link {
  color: rgba(255, 255, 255, 0.56);
}

.star {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
  grid-column: 5;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
}

.star::before {
  content: "\e8c4";
  position: absolute;
  left: 0;
  top: -1px;
  color: currentColor;
  font-family: "nirvcons-light";
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.star.active {
  color: #ffd700;
}

.task-main {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0;
}

.title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 32px;
}

.state {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #45464a;
  color: #d5d6da;
  font-size: 10px;
  font-weight: 600;
}

.state-proj {
  min-width: 34px;
  justify-content: center;
  border-radius: 12px;
  background: #57585f;
  color: #d7d8dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.state-next {
  color: #ffe27c;
}

.state-wait {
  color: var(--tan);
}

.title-row h3,
.project-title-link {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: #e5e6ea;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.project-title-link {
  cursor: pointer;
}

.project-title-link:hover {
  color: #f2f3f6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 15px;
  min-width: 44px;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: #c5c6ca;
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
}

.note-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-left: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(171, 172, 178);
  padding: 0;
  opacity: 0.76;
  cursor: pointer;
}

.note-mark::before {
  content: "\e81e";
  position: absolute;
  left: 0;
  top: 1px;
  color: currentColor;
  font-family: "nirvcons-light";
  font-size: 15px;
  line-height: 1;
}

.note-mark:hover,
.note-mark:focus-visible {
  color: #f2f3f6;
  opacity: 1;
  outline: 0;
}

.note-mark:focus-visible {
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(46, 136, 247, 0.65);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin: -1px 0 7px;
  color: #a5a6aa;
  font-size: 11px;
}

.meta span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.metaicon {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 0 4px 0 0;
  vertical-align: -2px;
}

.metaicon::after {
  color: rgb(159, 160, 166);
  font-family: "nirvcons-light";
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.metaicon.etime::after {
  content: "\e829";
}

.metaicon.energy::after {
  content: "\e84e";
}

.metaicon.due::after {
  content: "\2691";
  font-family: inherit;
}

.metaicon.scheduled::after {
  content: "\e822";
}

.metaicon.repeat::after {
  content: "\21bb";
  font-family: inherit;
}

.metaicon.belongsto::after {
  content: "\e801";
}

.metaicon.tags::after {
  content: "\e82f";
}

.task-note {
  margin: 9px 0 0 30px;
  padding-left: 18px;
  border-left: 4px solid rgba(171, 172, 178, 0.32);
  color: #b9bac0;
  font-size: 13px;
  line-height: 1.45;
}

.progress {
  max-width: 560px;
  margin-top: 8px;
  opacity: 0.78;
}

.project-task .task-main {
  padding-bottom: 8px;
}

.project-task .title-row {
  min-height: 34px;
  gap: 8px;
}

.project-task .progress {
  max-width: min(690px, 100%);
  margin-top: 6px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  color: #a8a9af;
  font-size: 13px;
  font-weight: 700;
}

.track {
  height: 4px;
  margin-top: 5px;
  border-radius: 999px;
  background: #35363a;
  overflow: hidden;
}

.track span {
  display: block;
  height: 100%;
  background: #45464a;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.badges span {
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.task-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  min-height: 32px;
  padding: 0 7px 0 10px;
  color: #8f9096;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
}

.task-tag {
  min-width: 0;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(229, 230, 234, 0.5);
}

.task-menu-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: 25px;
}

.actions {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.12s;
  background: transparent;
  padding: 0;
}

.actions button:not(.row-menu-button) {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}

.task:hover .actions button,
.task:focus-within .actions button {
  opacity: 1;
  pointer-events: auto;
}

.trash-actions button {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border: 1px solid #45464a;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #c5c6ca;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.actions button.primary {
  background: #e0aa86;
  border-color: #e0aa86;
  color: #202124;
}

.actions button.danger {
  color: #e8b7b7;
}

.row-menu-button {
  position: relative;
  min-width: 14px;
  width: 14px;
  height: 14px;
  min-height: 14px !important;
  border-color: rgba(192, 192, 192, 0.36) !important;
  border-radius: 3px !important;
  background: transparent !important;
  padding: 0 !important;
  opacity: 0.55 !important;
  pointer-events: auto !important;
  font-size: 0 !important;
}

.row-menu-button::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #7e8087;
}

.row-menu-button:hover,
.task:focus-within .row-menu-button,
.task:hover .row-menu-button {
  opacity: 1 !important;
}

.task-menu {
  position: absolute;
  right: 15px;
  top: 29px;
  z-index: 30;
  width: 166px;
  overflow: visible;
  border: 0;
  border-radius: 3px;
  background: #35363a;
  color: #c5c6ca;
  padding: 5px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.task-menu *,
.menu-flyout * {
  box-sizing: border-box;
}

.menu-title {
  position: relative;
  display: block;
  width: 156px;
  min-height: 29px;
  margin: 0 0 4px;
  border-bottom: 1px solid #414248;
  background: transparent;
  color: #a5a6aa;
  padding: 5px 10px 7px;
  font: inherit;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 17px;
  text-align: left;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-menu > button.menu-row,
.menu-parent,
.menu-flyout button,
.menu-label {
  position: relative;
  display: flex;
  align-items: center;
  width: 156px;
  height: 23px;
  min-height: 23px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #d0d1d6;
  padding: 0 24px 0 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-label {
  cursor: default;
  color: #a5a6aa;
}

.task-menu > button.menu-row:hover,
.menu-parent:hover,
.menu-flyout button:hover,
.has-submenu:hover > .menu-parent {
  background: #44454b;
  color: #f2f3f6;
}

.has-submenu {
  position: relative;
  display: block;
  z-index: 1;
  width: 156px;
  height: 23px;
  min-height: 23px;
  padding: 0;
  overflow: visible;
}

.has-submenu:hover,
.has-submenu:focus-within {
  z-index: 2;
}

.has-submenu.submenu-open {
  z-index: 5;
}

.has-submenu > .menu-parent::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #8f9096;
}

.menu-flyout {
  position: absolute;
  top: 0;
  right: calc(100% - 5px);
  z-index: 40;
  display: none;
  width: 166px;
  max-height: min(70vh, 460px);
  overflow: visible;
  border-radius: 3px;
  background: #35363a;
  padding: 5px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.has-submenu:hover > .menu-flyout,
.has-submenu:focus-within > .menu-flyout,
.has-submenu.submenu-open > .menu-flyout {
  display: block;
}

.has-submenu.submenu-open > .menu-flyout {
  z-index: 60;
}


.menu-info {
  font-family: "nirvcons-light", inherit;
}

.edit-task {
  grid-template-columns: 78px minmax(360px, 1fr) 230px;
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  min-height: 240px;
  padding: 20px 0;
  overflow: visible;
  border-color: #45464a;
  background: #303136;
}

.new-task {
  grid-template-columns: 47px minmax(360px, 1fr) 205px;
  column-gap: 0;
  min-height: 374px;
  margin: 0 0 26px;
  padding: 31px 17px 28px 0;
  border-color: transparent;
  border-radius: 4px;
  box-shadow: none;
}

.new-task .task-controls {
  grid-template-columns: 1fr;
  justify-items: center;
  width: 47px;
  height: auto;
  min-height: 34px;
  overflow: visible;
  padding-top: 0;
}

.new-task .grip,
.new-task .check {
  display: none;
}

.new-task .star {
  grid-column: 1;
  color: #6f7178;
  width: 44px;
  height: 44px;
  margin-top: -10px;
  transform: none;
  outline: 0;
}

.new-task .star::before {
  content: "\2605";
  font-family: Arial, sans-serif;
  font-size: 22px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.new-task .star:focus,
.new-task .star:focus-visible {
  outline: 0;
  box-shadow: none;
}

.new-task .star.active {
  color: #ffd700;
}

.new-task .edit-main {
  padding-right: 24px;
}

.new-task .edit-main .title-input {
  min-height: 40px;
}

.new-task .edit-main input[name="tags"] {
  margin-top: 4px;
}

.new-task .edit-main textarea {
  min-height: 182px;
  margin-bottom: 6px;
}

.new-task .edit-side {
  gap: 4px;
  margin-top: 3px;
}

.new-task .edit-side label {
  position: relative;
  display: block;
}

.new-task .edit-side label > span {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: 20px;
  height: 18px;
  margin-top: -9px;
  color: #a5a6aa;
  font-size: 0;
  line-height: 18px;
  pointer-events: none;
}

.new-task .edit-side label > span::before {
  display: inline-block;
  width: 17px;
  color: #a5a6aa;
  font-family: "nirvcons-light";
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.new-task .side-time > span::before {
  content: "\e829";
}

.new-task .side-energy > span::before {
  content: "\e84e";
}

.new-task .side-due > span::before {
  content: "\2691";
  font-family: inherit;
}

.new-task .side-list > span::before {
  content: "\e8ae";
}

.new-task .side-project > span::before {
  content: "\e801";
}

.new-task .side-list {
  margin-top: 30px;
}

.new-task .side-field select,
.new-task .side-field input {
  height: 32px;
  min-height: 32px;
  padding: 6px 34px 6px 48px;
  border: 0;
  border-radius: 3px;
  background-color: #25262a;
  color: #d5d6da;
  font-size: 14px;
  line-height: 20px;
}

.new-task .side-field input::placeholder {
  color: #a5a6aa;
  opacity: 1;
}

.new-task .side-field .native-field {
  display: none;
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.new-task .side-control {
  position: relative;
  display: block;
  width: 100%;
  height: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  background-color: #25262a;
  color: #d5d6da;
  padding: 6px 34px 6px 48px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.new-task .side-control:hover,
.new-task .side-control:focus-visible {
  background-color: #202124;
  outline: 0;
}

.new-task .side-control-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-task .side-control::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #a5a6aa;
  opacity: 0.8;
  pointer-events: none;
}

.new-task-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 2px);
  z-index: 40;
  display: grid;
  width: 166px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  background: #25262a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  padding: 5px 0;
}

.new-task-menu button {
  width: 100%;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: #cfd0d5;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  line-height: 16px;
  text-align: left;
  cursor: pointer;
}

.new-task-menu button:hover,
.new-task-menu button:focus-visible,
.new-task-menu button.active {
  background: #303136;
  color: #f2f3f6;
  outline: 0;
}

.edit-task .actions {
  position: static;
  align-self: start;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
  padding-left: 0;
}

.edit-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 92px 116px 80px 138px;
  gap: 7px;
}

.edit-grid input,
.edit-grid select,
.edit-grid textarea {
  min-width: 0;
  border: 1px solid #45464a;
  border-radius: 4px;
  background: #202124;
  color: #d5d6da;
  padding: 6px 7px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.edit-grid input:focus,
.edit-grid select:focus,
.edit-grid textarea:focus {
  border-color: var(--blue);
}

.edit-grid textarea {
  grid-column: 1 / -1;
  resize: vertical;
  line-height: 1.35;
}

.edit-main {
  display: grid;
  gap: 8px;
}

.edit-main input,
.edit-main textarea,
.edit-side input,
.edit-side select {
  min-width: 0;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #25262a;
  color: #d5d6da;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.edit-main .title-input {
  min-height: 34px;
  color: #e5e6ea;
  font-size: 15px;
  font-weight: 600;
}

.edit-main textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
}

.edit-main input:focus,
.edit-main textarea:focus,
.edit-side input:focus,
.edit-side select:focus {
  border-color: #45464a;
}

.edit-side {
  display: grid;
  gap: 8px;
}

.edit-side label {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.edit-side label > span {
  color: #a5a6aa;
  font-size: 12px;
}

.edit-actions {
  display: flex;
  gap: 6px;
}

.edit-actions button {
  min-height: 27px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #5a5b61;
  color: #e5e6ea;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.edit-actions button + button {
  background: #45464a;
  color: #c5c6ca;
}

.empty-card {
  width: min(460px, 100%);
  padding: 36px 28px;
  border: 2px solid var(--line);
  border-radius: 7px;
  color: #cfd0d5;
}

.empty-card h2 {
  margin: 0 0 22px;
  color: #d6d7dc;
  font-size: 17px;
  font-weight: 600;
}

.empty-card p {
  margin: 0;
  color: #c6c7cd;
  font-size: 15px;
  line-height: 1.45;
}

.clear-search {
  min-height: 34px;
  margin-top: 22px;
  border: 1px solid #4b4c53;
  border-radius: 5px;
  background: #2b2c31;
  color: #e1e2e6;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.clear-search:hover {
  background: #35363c;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  margin: 0 7px;
  border: 2px solid #63646c;
  border-radius: 7px;
  background: #222326;
  color: #dadbe0;
  font: inherit;
  font-size: 18px;
}

.error {
  color: #ff9c9c !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .app {
    grid-template-columns: 1fr;
    grid-template-rows: 54px minmax(0, 1fr);
  }

  .rail {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 54px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid #202125;
    overflow: hidden;
  }

  .brand {
    display: none;
  }

  .rail-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    scrollbar-width: none;
    align-items: center;
  }

  .rail-nav::-webkit-scrollbar {
    display: none;
  }

  .rail-heading,
  .project-list,
  .tag-list,
  .context-panel,
  .rail-footer {
    display: none;
  }

  .rail-link {
    flex: 0 0 auto;
    grid-template-columns: 24px max-content max-content;
    column-gap: 4px;
    min-height: 38px;
    margin: 0;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 16px;
  }

  .rail-link strong {
    justify-self: start;
  }

  .rail-link[data-view-link="inbox"] {
    margin-bottom: 0;
  }

  .rail-link.active::before {
    left: 0;
    width: 3px;
  }

  .icon,
  .dot {
    width: 20px;
    height: 20px;
  }

  .view {
    margin: 34px 0 72px;
    padding: 0 18px;
    width: 100%;
    max-width: 100%;
  }

  .view-head h1 {
    font-size: 34px;
  }

  .topbar {
    display: grid;
    grid-template-columns: max-content minmax(108px, 1fr) max-content;
    align-items: center;
    padding: 0 18px;
    gap: 12px;
  }

  .top-spacer {
    display: none;
  }

  .top-action {
    width: auto;
    min-width: 100px;
  }

  .top-util {
    justify-self: end;
    padding: 6px 0 6px 8px;
  }

  .settings-panel {
    position: fixed;
    top: 48px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .search {
    width: auto;
    min-width: 0;
  }

  .quick-add {
    grid-template-columns: 1fr;
    margin: 40px 0 42px;
    max-width: none;
  }

  .quick-add select,
  .quick-add button {
    opacity: 1;
    pointer-events: auto;
  }

  .task {
    grid-template-columns: 78px minmax(0, 1fr) 25px;
    max-width: 100%;
    overflow: visible;
  }

  .edit-task {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 0;
    row-gap: 8px;
  }

  .edit-side {
    grid-column: 2;
  }

  .task-main,
  .title-row,
  .meta,
  .progress,
  .edit-main,
  .edit-side {
    width: calc(100vw - 121px);
    max-width: calc(100vw - 121px);
    min-width: 0;
  }

  .task-tags {
    display: none;
  }

  .task-menu-cell {
    grid-column: 3;
  }

  .title-row {
    display: block;
  }

  .title-row h3 {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .meta {
    display: block;
  }

  .meta span {
    display: block;
  }

  .note-mark {
    display: none;
  }

  .actions {
    position: static;
    grid-column: 3;
    opacity: 1;
    pointer-events: auto;
    flex-wrap: wrap;
    background: transparent;
    padding-left: 0;
  }

  .task-menu {
    position: static;
    grid-column: 1 / -1;
    width: 166px;
    max-height: none;
    margin-top: 8px;
  }

  .menu-flyout {
    position: static;
    display: none;
    width: 156px;
    box-shadow: none;
    margin-left: 10px;
  }

  .empty-card {
    padding: 30px 28px;
  }
}
