@import "normalize.css";
@import "editor-snow.css";
* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0px solid transparent;
}
body {
  font: 0.875rem 'Inter', 'Noto Sans Arabic', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  color: #404040;
  line-height: 1.75rem;
  background-color: #f6f8fa;
}
::placeholder {
  opacity: 0.5;
}
:-ms-input-placeholder {
  opacity: 0.5;
}
.input-group {
  display: block;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.input-group small.note {
  opacity: 0.8;
}
input,
select,
textarea,
.tags-wrap {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d8dee4;
  background-color: #fff;
  border-radius: 0.3rem;
  -webkit-appearance: none;
}
input:focus,
select:focus,
textarea:focus,
.tags-wrap:focus {
  border: 1px solid #0083eb;
  background-color: #fff;
}
input.transparent,
select.transparent,
textarea.transparent,
.tags-wrap.transparent {
  border: none;
  box-shadow: none;
  background-color: transparent;
}
input.transparent:hover,
select.transparent:hover,
textarea.transparent:hover,
.tags-wrap.transparent:hover,
input.transparent:focus,
select.transparent:focus,
textarea.transparent:focus,
.tags-wrap.transparent:focus {
  background-color: transparent;
  box-shadow: none;
  border: none;
}
textarea {
  -webkit-appearance: none;
  padding: 16px;
  min-height: 80px;
}
select {
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-color: #f5f6f7;
  background-position-x: 97%;
  background-position-y: 13px;
  padding-right: 40px;
}
select.white {
  border: 1px solid transparent;
  border-color: rgba(0,0,0,0.25);
  background-color: #fff;
}
select[multiple] {
  height: auto;
  padding: 0;
  background-image: none;
}
select[multiple] option {
  padding: 16px;
}
select[multiple] option[selected],
select[multiple] option:checked {
  background-color: rgba(228,10,19,0.5);
}
.radio-select {
  display: block;
  width: 100%;
  height: 50px;
  text-align: center;
  font-weight: 400;
  font-size: 17px;
  line-height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  background-color: rgba(0,0,0,0.05);
  cursor: pointer;
}
.radio-select:hover {
  background-color: rgba(13,12,34,0.08);
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  font-weight: 400 !important;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch input:checked + .slider {
  background-color: #e40a13;
}
.switch input:focus + .slider {
  box-shadow: 0 0 1px #e40a13;
}
.switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.switch.inline {
  display: flex !important;
  gap: 10px;
  align-items: center;
  padding-left: 60px;
}
.switch.inline.small {
  padding-left: 30px;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.2s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.switch.small {
  width: 30px;
  height: 17px;
}
.switch.small input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}
.switch.small .slider:before {
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
}
.switch-text {
  position: absolute;
  margin-left: 80px;
  margin-top: -38px;
}
.switch-text.small {
  margin-left: 40px;
  margin-top: -29px;
}
.form .btn {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  padding: 19px 23px;
  background-color: #e40a13;
  color: #fff;
  border-radius: 0.3rem;
}
.form .btn.round {
  border-radius: 40px;
}
.form .btn > * {
  vertical-align: middle;
}
.form .btn .arrow {
  margin-left: 10px;
  transition: all 0.2s ease;
}
.form .btn:hover {
  background-color: rgba(228,10,19,0.9);
}
.form .btn:hover .arrow {
  transform: translateX(10px);
}
.form .btn.grey {
  background-color: rgba(51,51,51,0.05);
  color: #404040;
}
.form .btn.grey:hover {
  background-color: rgba(51,51,51,0.7);
}
.form .btn.grey.signup {
  font-size: 20px;
}
.form .btn.orange {
  background-color: #e40a13;
  color: #fff;
}
.form .btn.orange:hover {
  background-color: rgba(228,10,19,0.7);
}
.form .loader {
  display: inline-block;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-left-color: #fff;
  animation: loader 1s linear infinite;
}
.form .loader.black {
  border-left-color: $blackcolor;
}
.form .username,
.form .input-search {
  margin: 30px 0;
  position: relative;
}
.form .username input.success,
.form .input-search input.success {
  border: 1px solid rgba(33,191,115,0.5);
  box-shadow: 0 0 4px 0 rgba(33,191,115,0.41);
}
.form .username input.error,
.form .input-search input.error {
  border: 1px solid rgba(255,0,0,0.5);
  box-shadow: 0 0 4px 0 rgba(255,0,0,0.41);
}
.form .username .username-avail,
.form .input-search .username-avail,
.form .username .search-avail,
.form .input-search .search-avail,
.form .username .search-unavail,
.form .input-search .search-unavail,
.form .username .loader,
.form .input-search .loader {
  position: absolute;
  top: 15px;
  right: 15px;
}
.form .username .preview,
.form .input-search .preview {
  margin-top: 20px;
}
.form .username .preview svg,
.form .input-search .preview svg {
  display: inline-block;
}
.form .username .preview p,
.form .input-search .preview p {
  display: inline-block;
  margin-left: 10px;
}
@-moz-keyframes loader {
  from {
    transfrom: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes loader {
  from {
    transfrom: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-o-keyframes loader {
  from {
    transfrom: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes loader {
  from {
    transfrom: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.verification {
  margin: 30px 0;
  text-align: center;
}
.verification input {
  display: inline-block;
  margin: 0 2%;
  width: 17%;
  -webkit-appearance: none;
  text-align: center;
}
.verification input::-webkit-outer-spin-button,
.verification input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.alert-error {
  margin-top: 20px;
  margin-bottom: 20px;
  min-height: 24px;
  padding: 5px;
  background-color: transparent;
  color: #f64b3d;
  font-size: 13px;
  text-align: center;
  border-radius: 2px;
}
.alert-error.show {
  background-color: #ffedec;
}
button,
.btn {
  display: block;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background-color: #404040;
  color: #fff;
  border-radius: 0.4rem;
  border: 0;
}
a {
  color: #0083eb;
  text-decoration: none;
}
p {
  margin-bottom: 1.25rem !important;
}
.none {
  display: none !important;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ta-center {
  text-align: center;
}
.container {
  display: flex;
}
.pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.bg-muted {
  opacity: 0.5;
}
.show-in-mobile {
  display: none !important;
}
.show-in-desktop {
  display: inherit !important;
}
.ellipsis-2-rows {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
  text-wrap: pretty;
}
.trumbowyg-editor,
main article,
.ql-editor {
  line-height: inherit;
}
.trumbowyg-editor strike,
main article strike,
.ql-editor strike {
  text-decoration: line-through;
}
.trumbowyg-editor ol,
main article ol,
.ql-editor ol,
.trumbowyg-editor ul,
main article ul,
.ql-editor ul {
  margin-left: 1rem;
  margin-bottom: 1.25rem;
}
.trumbowyg-editor ol li,
main article ol li,
.ql-editor ol li,
.trumbowyg-editor ul li,
main article ul li,
.ql-editor ul li {
  padding-left: 1rem;
}
.trumbowyg-editor ol,
main article ol,
.ql-editor ol {
  list-style: decimal;
}
.trumbowyg-editor ul,
main article ul,
.ql-editor ul {
  list-style: disc;
}
.trumbowyg-editor a,
main article a,
.ql-editor a {
  text-decoration: underline;
  color: #0083eb;
}
.ql-container {
  border-radius: 0 0 0.3rem 0.3rem;
  font-family: inherit;
  font-size: inherit;
  height: 400px;
}
.ql-editor {
  background-color: #fff;
  white-space: inherit;
  border-radius: 0 0 0.3rem 0.3rem;
}
.ql-editor.read {
  background-color: transparent;
  padding: 0;
}
.ql-editor ol,
.ql-editor ul {
  padding-left: 0;
  margin-left: 0;
}
.ql-editor ol li:before,
.ql-editor ul li:before {
  text-align: left !important;
  width: 1rem;
}
.ql-editor ol li.ql-indent-2:before,
.ql-editor ul li.ql-indent-2:before {
  text-align: right !important;
}
.toggler-btn {
  display: none;
  position: fixed;
  z-index: 40;
  top: calc(0.6rem + env(safe-area-inset-top, 0px));
  left: calc(1.1rem + env(safe-area-inset-left, 0px));
  width: 1.5rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #404040;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition-property: opacity;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.toggler-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-0.325rem, -50%);
}
.toggler-btn:active {
  opacity: 0.55;
}
.toggler-btn svg {
  stroke: currentColor;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}
.toggler-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.toggler-icons {
  position: relative;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 6px;
}
.toggler-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  transition-property: opacity, transform, filter;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.toggler-icon-close {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
.toggler-icon-open {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
input.toggler {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
input.toggler:focus-visible ~ .toggler-btn {
  outline: 2px solid #0083eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}
input.toggler:checked ~ .toggler-btn .toggler-icon-close {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
input.toggler:checked ~ .toggler-btn .toggler-icon-open {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
.sidebar-backdrop {
  display: none;
}
@media (min-width: 769px) {
  input.toggler {
    display: none;
  }
}
nav.sidebar,
nav.subsidebar {
  position: relative;
  width: 14rem;
  height: 100vh;
  border-right: 1px solid #d8dee4;
  padding: 0.6rem;
  overflow-y: auto;
  background-color: #fff;
}
nav.sidebar .header,
nav.subsidebar .header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.75rem;
}
nav.sidebar .header a.add,
nav.subsidebar .header a.add {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #0083eb;
  background-color: rgba(0,131,235,0.08);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition-property: opacity, background-color, transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
nav.sidebar .header a.add:active,
nav.subsidebar .header a.add:active {
  transform: scale(0.96);
  opacity: 0.85;
}
nav.sidebar .header a.add svg,
nav.subsidebar .header a.add svg {
  stroke: currentColor;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}
nav.sidebar h1,
nav.subsidebar h1 {
  font-size: 1rem;
  padding: 0 0.5rem;
}
nav.sidebar {
  flex-shrink: 0;
  transition-property: width, padding;
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
nav.sidebar > .header h1 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition-property: opacity, transform;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
nav.sidebar .sidebar-collapse {
  position: relative;
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #646d76;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition-property: background-color, color, transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
nav.sidebar .sidebar-collapse:hover {
  background-color: #f0f2f4;
  color: #404040;
}
nav.sidebar .sidebar-collapse:active {
  transform: scale(0.96);
}
nav.sidebar .sidebar-collapse:focus-visible {
  outline: 2px solid rgba(0,131,235,0.35);
  outline-offset: 2px;
}
nav.sidebar .sidebar-collapse-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition-property: opacity, transform, filter;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
nav.sidebar .sidebar-collapse-icon svg {
  display: block;
  stroke: currentColor;
}
nav.sidebar .sidebar-collapse-icon.is-collapsed {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
  pointer-events: none;
}
@media (min-width: 769px) {
  nav.sidebar .sidebar-collapse {
    display: inline-flex;
  }
  body.sidebar-rail nav.sidebar {
    width: 3.35rem;
    padding: 0.55rem 0.4rem;
    overflow-x: hidden;
  }
  body.sidebar-rail nav.sidebar > .header {
    justify-content: center;
    min-height: 2.5rem;
  }
  body.sidebar-rail nav.sidebar > .header h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
  }
  body.sidebar-rail nav.sidebar > .header .sidebar-collapse {
    margin-left: 0;
  }
  body.sidebar-rail nav.sidebar > .header .sidebar-collapse .sidebar-collapse-icon.is-expanded {
    opacity: 0;
    transform: scale(0.25);
    filter: blur(4px);
  }
  body.sidebar-rail nav.sidebar > .header .sidebar-collapse .sidebar-collapse-icon.is-collapsed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  body.sidebar-rail nav.sidebar ul {
    margin-bottom: 1.25rem;
  }
  body.sidebar-rail nav.sidebar ul h4 {
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
  body.sidebar-rail nav.sidebar ul.sidebar-products {
    display: none;
  }
  body.sidebar-rail nav.sidebar ul li a {
    justify-content: center;
    gap: 0;
    padding: 0.55rem 0.35rem;
  }
  body.sidebar-rail nav.sidebar ul li a > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  body.sidebar-rail nav.sidebar ul li a svg.redirect {
    display: none;
  }
  body.sidebar-rail nav.sidebar ul li a > svg:first-child {
    width: 1.05rem;
    height: 1.05rem;
  }
  body.sidebar-rail nav.sidebar ul.footer {
    width: calc(100% - 0.8rem);
    left: 0;
    right: 0;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }
  body.sidebar-rail nav.sidebar ul.footer li.settings {
    justify-content: center;
    gap: 0;
  }
  body.sidebar-rail nav.sidebar ul.footer li.settings img,
  body.sidebar-rail nav.sidebar ul.footer li.settings strong {
    display: none;
  }
  body.sidebar-rail nav.sidebar ul.footer li.settings a {
    margin-left: 0;
    padding: 0.45rem;
  }
  body.sidebar-rail nav.sidebar ul.footer li.settings a svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  body.sidebar-rail nav.sidebar ul.footer li.login a {
    justify-content: center;
    padding: 0.45rem 0.15rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-height: 2rem;
    border-radius: 0.4rem;
  }
}
nav.sidebar ul,
nav.subsidebar ul {
  list-style: none;
  margin-bottom: 2rem;
}
nav.sidebar ul.footer,
nav.subsidebar ul.footer {
  position: absolute;
  bottom: 0;
  width: calc(100% - 1.6rem);
  margin-bottom: 0.8rem;
}
nav.sidebar ul.footer li.settings,
nav.subsidebar ul.footer li.settings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
nav.sidebar ul.footer li.settings img,
nav.subsidebar ul.footer li.settings img {
  margin-left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 100%;
}
nav.sidebar ul.footer li.settings a,
nav.subsidebar ul.footer li.settings a {
  padding: 0.25rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}
nav.sidebar ul.footer li.settings a:hover,
nav.subsidebar ul.footer li.settings a:hover {
  background-color: transparent;
  transform: rotate(45deg);
}
nav.sidebar ul.footer li.login a,
nav.subsidebar ul.footer li.login a {
  border: 1px solid #0083eb;
  background-color: #0083eb;
  padding: 0.5rem;
  justify-content: center;
  color: #fff;
  font-weight: 500;
}
nav.sidebar ul.footer li.login a:hover,
nav.subsidebar ul.footer li.login a:hover {
  background-color: #0076d3;
}
nav.sidebar ul h4,
nav.subsidebar ul h4 {
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
nav.sidebar ul li,
nav.subsidebar ul li {
  margin: 0.25rem 0;
  line-height: 1;
}
nav.sidebar ul li a,
nav.subsidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: #404040;
  padding: 0.5rem;
  border-radius: 0.375rem;
}
nav.sidebar ul li a:hover,
nav.subsidebar ul li a:hover {
  background-color: #f0f2f4;
}
nav.sidebar ul li.active a,
nav.subsidebar ul li.active a {
  background-color: #f0f2f4;
}
nav.sidebar ul li.column a,
nav.subsidebar ul li.column a {
  flex-direction: column;
  align-items: flex-start;
}
nav.sidebar ul li svg,
nav.subsidebar ul li svg {
  stroke: #646d76;
  width: 16px;
  height: 16px;
}
nav.sidebar ul li svg.redirect,
nav.subsidebar ul li svg.redirect {
  margin-left: auto;
}
nav.sidebar ul li .subtext,
nav.subsidebar ul li .subtext {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(64,64,64,0.5);
  font-size: 0.7rem;
}
nav.sidebar ul li .subtext img,
nav.subsidebar ul li .subtext img {
  height: 1rem;
  border-radius: 10rem;
}
nav.subsidebar h1 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35rem;
}
nav.subsidebar ul li {
  line-height: normal;
}
nav.subsidebar ul li.column a {
  gap: 0.375rem;
  padding: 0.5625rem 0.5rem;
}
nav.subsidebar ul li.column .ellipsis-2-rows {
  font-weight: 500;
  width: 100%;
}
nav.subsidebar ul li.column .subtext {
  line-height: 1.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.005em;
  margin-top: 0.0625rem;
}
nav.subsidebar ul li.column .subtext img {
  height: 0.875rem;
  width: 0.875rem;
  flex-shrink: 0;
  outline: 1px solid rgba(0,0,0,0.08);
}
main {
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: column;
  background-color: #f6f8fa;
  max-height: 100vh;
  overflow-y: auto;
}
main .container {
  max-width: 32rem;
  padding: 3rem 2rem;
}
main .container.full {
  width: 100%;
}
main article {
  height: auto;
  width: 100%;
}
main article .book {
  text-transform: uppercase;
  color: rgba(64,64,64,0.5);
  font-size: 0.7rem;
}
main article h1 {
  margin-top: 0;
}
main .footer-actions,
main .settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #d8dee4;
}
main .footer-actions a,
main .settings-actions a {
  color: #404040;
  text-decoration: none;
}
main .footer-actions button,
main .settings-actions button {
  background-color: transparent;
  border: 1px solid #404040;
  color: #404040;
}
main.settings .container {
  max-width: 36rem;
}
main.settings article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
main.settings article ul {
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
main.settings p {
  margin-bottom: 0 !important;
}
main.settings .st-head {
  margin-bottom: 0.25rem;
}
main.settings .st-head h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 2rem;
  text-wrap: balance;
  margin: 0;
}
main.settings .st-card {
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  animation: st-enter 0.4s cubic-bezier(0.2, 0, 0, 1) both;
}
main.settings .st-card:nth-of-type(2) {
  animation-delay: 0.08s;
}
main.settings .st-card h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4rem;
  text-wrap: balance;
  margin: 0 0 0.85rem;
}
main.settings .st-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
main.settings .st-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
main.settings .st-field label,
main.settings .st-field .ns-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.2rem;
}
main.settings .st-field input,
main.settings .st-field textarea {
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  background-color: #fff;
  font-variant-numeric: tabular-nums;
}
main.settings .st-field input:focus,
main.settings .st-field textarea:focus {
  box-shadow: 0 0 0 2px #0083eb;
  background-color: #fff;
}
main.settings .st-field input[readonly],
main.settings .st-field textarea[readonly] {
  color: #6b7280;
  background-color: #f6f8fa;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
main.settings .st-field textarea {
  min-height: 4.5rem;
  resize: vertical;
  font-variant-numeric: normal;
}
main.settings .st-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
main.settings .st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  border: 0;
  border-radius: 0.65rem;
  background-color: #404040;
  color: #fff;
  cursor: pointer;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.settings .st-btn:hover {
  background-color: #2e2e2e;
}
main.settings .st-btn:active {
  transform: scale(0.96);
}
main.settings .st-btn:disabled {
  opacity: 0.6;
  transform: none;
}
main.settings .st-btn.st-btn-secondary {
  background-color: rgba(64,64,64,0.08);
  color: #404040;
}
main.settings .st-btn.st-btn-secondary:hover {
  background-color: rgba(64,64,64,0.12);
}
main.settings .settings-actions {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}
main.settings #nutrisi {
  scroll-margin-top: 1.25rem;
}
main.settings .ns-head {
  margin-bottom: 0.85rem;
}
main.settings .ns-head h2 {
  margin-bottom: 0.25rem;
}
main.settings .ns-head p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.45rem;
  text-wrap: pretty;
  max-width: 42ch;
}
main.settings .ns-saved {
  margin: 0 0 0.85rem !important;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  background-color: #ecfdf3;
  color: #166534;
  font-size: 0.8rem;
  line-height: 1.25rem;
  animation: st-enter 0.35s cubic-bezier(0.2, 0, 0, 1) both;
}
main.settings .ns-saved.is-gone {
  opacity: 0;
  transform: translateY(-4px);
  transition-property: opacity, transform;
  transition-duration: 0.35s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}
main.settings .ns-preview {
  margin-bottom: 1.15rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background-color: #f6f8fa;
  position: sticky;
  top: 0.75rem;
  z-index: 1;
}
main.settings .ns-preview.is-pending .ns-preview-cal strong {
  color: #6b7280;
}
main.settings .ns-preview-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1rem;
  margin: 0 0 0.15rem !important;
}
main.settings .ns-preview-cal {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 0.7rem !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
main.settings .ns-preview-cal strong {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #404040;
}
main.settings .ns-preview-cal span {
  color: #6b7280;
  font-size: 0.875rem;
}
main.settings .ns-preview-macros {
  display: flex;
  gap: 0;
  margin: 0 0 0.7rem;
}
main.settings .ns-preview-macros li {
  flex: 1;
  min-width: 0;
  padding: 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
main.settings .ns-preview-macros li:first-child {
  padding-left: 0;
}
main.settings .ns-preview-macros li:last-child {
  padding-right: 0;
}
main.settings .ns-preview-macros li:not(:first-child) {
  box-shadow: -1px 0 0 rgba(0,0,0,0.06);
}
main.settings .ns-preview-macros li span {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1rem;
}
main.settings .ns-preview-macros li strong {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.25rem;
}
main.settings .ns-preview-note {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.2rem;
  text-wrap: pretty;
  max-width: 48ch;
}
main.settings .ns-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
main.settings .ns-block {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
main.settings .ns-block legend {
  font-size: 0.8rem;
  font-weight: 600;
  color: #404040;
  line-height: 1.2rem;
  padding: 0;
  margin: 0 0 0.65rem;
  float: none;
  width: 100%;
}
main.settings .ns-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
main.settings .ns-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 4.4rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  background-color: #f6f8fa;
  cursor: pointer;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.settings .ns-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  box-shadow: none;
  pointer-events: none;
}
main.settings .ns-choice:hover {
  background-color: #f0f2f4;
}
main.settings .ns-choice:active {
  transform: scale(0.96);
}
main.settings .ns-choice:has(input:checked) {
  background-color: #fff;
  box-shadow: 0 0 0 1.5px #e40a13, 0 1px 2px rgba(0,0,0,0.04);
}
main.settings .ns-choice:has(input:checked) .ns-choice-icon {
  background-color: rgba(228,10,19,0.08);
  color: #e40a13;
}
main.settings .ns-choice:has(input:focus-visible) {
  box-shadow: 0 0 0 2px #0083eb;
}
main.settings .ns-choice:has(input:checked):has(input:focus-visible) {
  box-shadow: 0 0 0 1.5px #e40a13, 0 0 0 3px rgba(0,131,235,0.35);
}
main.settings .ns-choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.55rem;
  background-color: #fff;
  color: #404040;
  line-height: 0;
}
main.settings .ns-choice-icon svg {
  display: block;
}
main.settings .ns-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
main.settings .ns-choice-copy strong {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2rem;
  letter-spacing: -0.01em;
}
main.settings .ns-choice-copy span {
  font-size: 0.7rem;
  line-height: 1.05rem;
  color: #6b7280;
  text-wrap: pretty;
}
main.settings .ns-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.5rem;
  margin-bottom: 0.75rem;
}
main.settings .ns-stats.ns-stats-2 {
  grid-template-columns: 1fr;
  margin-bottom: 0.65rem;
}
main.settings .ns-unit {
  position: relative;
}
main.settings .ns-unit input {
  padding-right: 2.3rem;
  width: 100%;
}
main.settings .ns-unit span {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1;
  pointer-events: none;
}
main.settings .ns-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.85rem;
  background-color: #f6f8fa;
}
main.settings .ns-seg.ns-seg-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
main.settings .ns-seg-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.15rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.6rem;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.1rem;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.settings .ns-seg-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  box-shadow: none;
  pointer-events: none;
}
main.settings .ns-seg-item:hover {
  color: #404040;
}
main.settings .ns-seg-item:active {
  transform: scale(0.96);
}
main.settings .ns-seg-item:has(input:checked) {
  background-color: #fff;
  color: #404040;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}
main.settings .ns-seg-item:has(input:focus-visible) {
  box-shadow: 0 0 0 2px #0083eb;
}
main.settings .ns-seg-icon {
  display: flex;
  line-height: 0;
  color: #646d76;
}
main.settings .ns-seg-icon svg {
  display: block;
}
main.settings .ns-days {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.25rem;
}
main.settings .ns-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 0.65rem;
  background-color: #f6f8fa;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.85rem;
  color: #6b7280;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.settings .ns-day input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  box-shadow: none;
  pointer-events: none;
}
main.settings .ns-day:hover {
  color: #404040;
}
main.settings .ns-day:active {
  transform: scale(0.96);
}
main.settings .ns-day:has(input:checked) {
  background-color: #404040;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
main.settings .ns-day:has(input:focus-visible) {
  box-shadow: 0 0 0 2px #0083eb;
}
main.settings .ns-hint {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.2rem;
  text-wrap: pretty;
  max-width: 48ch;
}
main.settings .ns-target {
  display: none;
}
main.settings .ns-form:has([name='purpose'][value='lose']:checked) .ns-target,
main.settings .ns-form:has([name='purpose'][value='gain']:checked) .ns-target {
  display: block;
}
main.settings .ns-form:has(#training-days-0:checked) .ns-training-type {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  main.settings .st-card,
  main.settings .ns-saved {
    animation: none;
  }
  main.settings .st-btn:active,
  main.settings .ns-choice:active,
  main.settings .ns-seg-item:active,
  main.settings .ns-day:active {
    transform: none;
  }
  main.settings .ns-saved.is-gone {
    transition: none;
  }
}
@media (max-width: 640px) {
  main.settings .ns-choices {
    grid-template-columns: 1fr;
  }
  main.settings .ns-preview {
    position: static;
  }
  main.settings .ns-stats {
    grid-template-columns: 1fr 1fr;
  }
  main.settings .ns-seg.ns-seg-3 .ns-seg-item {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  main.settings .ns-days {
    gap: 0.2rem;
  }
  main.settings .ns-days .ns-day {
    min-height: 2.5rem;
  }
}
main.ama .container {
  max-width: 36rem;
}
main.ama article {
  display: flex;
  flex-direction: column;
}
main.ama h1 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
  margin: 0 0 1rem;
}
main.ama .ama-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem !important;
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.25rem;
}
main.ama .ama-meta img {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  flex-shrink: 0;
  outline: 1px solid rgba(0,0,0,0.08);
}
main.ama .ama-meta span {
  font-weight: 500;
}
main.ama .ama-answer {
  font-size: 1rem;
  line-height: 1.625;
  text-wrap: pretty;
  color: #404040;
  margin: 0 !important;
}
main.ama .ama-pending {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
  margin: 0 !important;
}
main.ama .ta-center p {
  line-height: 1.5;
  text-wrap: pretty;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}
main.ama article > form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #d8dee4;
}
main.food-logger {
  align-items: stretch;
}
main.food-logger .container {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
}
main.food-logger article {
  display: block;
  width: 100%;
  min-width: 0;
}
main.food-logger article a {
  text-decoration: none;
}
main.food-logger article ul {
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
main.food-logger .fl-head,
main.food-logger .fl-days,
main.food-logger .fl-card,
main.food-logger .fl-meals,
main.food-logger .fl-section,
main.food-logger .fl-search,
main.food-logger .fl-log-head {
  width: 100%;
  flex-shrink: 0;
}
main.food-logger .fl-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
main.food-logger .fl-head h1 {
  flex: 1;
  min-width: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 2rem;
  text-wrap: balance;
  margin-bottom: 0;
}
main.food-logger .fl-head .fl-streak {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 !important;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: 1;
}
main.food-logger .fl-head .fl-streak svg {
  stroke: #e40a13;
}
main.food-logger .fl-head .fl-streak span {
  font-weight: 600;
  color: #404040;
}
main.food-logger .fl-weigh {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}
main.food-logger .fl-weigh summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 0.75rem;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-weigh summary::-webkit-details-marker {
  display: none;
}
main.food-logger .fl-weigh summary::marker {
  content: none;
}
main.food-logger .fl-weigh summary svg {
  display: block;
  flex-shrink: 0;
}
main.food-logger .fl-weigh summary:hover {
  color: #404040;
}
main.food-logger .fl-weigh summary:active {
  transform: scale(0.96);
}
main.food-logger .fl-weigh.is-set summary {
  color: #404040;
}
main.food-logger .fl-weigh[open] summary {
  box-shadow: 0 0 0 1.5px #404040;
}
main.food-logger .fl-weigh .fl-weigh-value {
  white-space: nowrap;
}
main.food-logger .fl-weigh .fl-weigh-value.is-empty {
  color: #6b7280;
}
main.food-logger .fl-weigh-form {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  width: 16.75rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
  animation: fl-enter 0.28s cubic-bezier(0.2, 0, 0, 1) both;
}
main.food-logger .fl-weigh-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
main.food-logger .fl-weigh-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1rem;
}
main.food-logger .fl-weigh-unit {
  position: relative;
}
main.food-logger .fl-weigh-unit input {
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.45rem 1.85rem 0.45rem 0.55rem;
  border-radius: 0.65rem;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  background-color: #fff;
  font-variant-numeric: tabular-nums;
  color: #404040;
}
main.food-logger .fl-weigh-unit input:focus {
  box-shadow: 0 0 0 2px #0083eb;
}
main.food-logger .fl-weigh-unit span {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #6b7280;
  pointer-events: none;
}
main.food-logger .fl-weigh-save {
  margin-top: 0.7rem;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 0;
  border-radius: 0.65rem;
  background-color: #404040;
  color: #fff;
  cursor: pointer;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-weigh-save:hover {
  background-color: #2e2e2e;
}
main.food-logger .fl-weigh-save:active {
  transform: scale(0.96);
}
main.food-logger .fl-weigh-save:disabled {
  opacity: 0.6;
  transform: none;
}
main.food-logger .fl-weigh-status {
  margin: 0.45rem 0 0 !important;
  min-height: 1.1rem;
  font-size: 0.75rem;
  line-height: 1.1rem;
  color: #6b7280;
}
main.food-logger .fl-macro.is-approx p {
  color: #6b7280;
}
main.food-logger .fl-days {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}
main.food-logger .fl-days-track {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  overscroll-behavior-x: contain;
}
main.food-logger .fl-days-track::-webkit-scrollbar {
  display: none;
}
main.food-logger .fl-days-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
main.food-logger .fl-days-track.is-dragging .fl-day {
  pointer-events: none;
}
main.food-logger .fl-week {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
main.food-logger .fl-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0.1rem 0;
  color: #6b7280;
  line-height: 1;
  text-decoration: none;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-day:hover {
  color: #404040;
}
main.food-logger .fl-day:active {
  transform: scale(0.96);
}
main.food-logger .fl-day.is-today {
  color: #404040;
}
main.food-logger .fl-day.is-today .fl-day-mark {
  background-color: #e40a13;
}
main.food-logger .fl-day.is-selected {
  color: #404040;
}
main.food-logger .fl-day.is-logged .fl-day-dot {
  background-color: #404040;
  border-color: #404040;
  box-shadow: none;
  color: #fff;
}
main.food-logger .fl-day.is-today:not(.is-logged) .fl-day-dot {
  background-color: #fff;
  border-style: dashed;
  border-color: #404040;
  box-shadow: none;
}
main.food-logger .fl-day.is-selected:not(.is-today) .fl-day-dot {
  border-color: #404040;
}
main.food-logger .fl-day-mark {
  display: block;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 100%;
  background-color: transparent;
  flex-shrink: 0;
}
main.food-logger .fl-day-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
main.food-logger .fl-day-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 100%;
  background-color: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  box-shadow: none;
  color: #fff;
  flex-shrink: 0;
  line-height: 0;
}
main.food-logger .fl-day-dot svg {
  display: block;
  width: 16px;
  height: 16px;
}
main.food-logger .fl-card {
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  animation: fl-enter 0.4s cubic-bezier(0.2, 0, 0, 1) both;
}
main.food-logger .fl-calories .fl-calories-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
main.food-logger .fl-calories .fl-calories-main {
  flex: 1;
  min-width: 0;
}
main.food-logger .fl-calories .fl-calories-main h2 {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
main.food-logger .fl-calories .fl-calories-main p {
  margin: 0 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.75rem;
}
main.food-logger .fl-calories .fl-calories-main p strong {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #404040;
}
main.food-logger .fl-calories .fl-calories-main p span {
  color: #6b7280;
}
main.food-logger .fl-calories .fl-calories-left {
  margin: 0 !important;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  white-space: nowrap;
}
main.food-logger .fl-calories .fl-calories-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 0;
}
main.food-logger .fl-calories .fl-calories-edit {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
  text-decoration: none;
  min-height: 1.5rem;
  display: inline-flex;
  align-items: center;
}
main.food-logger .fl-calories .fl-calories-edit:hover {
  color: #404040;
}
main.food-logger .fl-calories .fl-calories-edit:active {
  transform: scale(0.96);
}
main.food-logger .fl-macros {
  display: flex;
  gap: 0;
}
main.food-logger .fl-macros .fl-macro {
  flex: 1;
  min-width: 0;
  padding: 0 0.85rem;
}
main.food-logger .fl-macros .fl-macro:first-child {
  padding-left: 0;
}
main.food-logger .fl-macros .fl-macro:last-child {
  padding-right: 0;
}
main.food-logger .fl-macros .fl-macro:not(:first-child) {
  box-shadow: -1px 0 0 rgba(0,0,0,0.06);
}
main.food-logger .fl-macros .fl-macro h3 {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.food-logger .fl-macros .fl-macro p {
  margin: 0 0 0.6rem !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.food-logger .fl-bar {
  height: 6px;
  border-radius: 999px;
  background-color: rgba(0,0,0,0.06);
  overflow: hidden;
}
main.food-logger .fl-bar .fl-bar-fill {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  max-width: 100%;
  border-radius: 999px;
  background-color: #e40a13;
  transition-property: width;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-bar.is-carbs .fl-bar-fill {
  background-color: #0d9488;
}
main.food-logger .fl-bar.is-fat .fl-bar-fill {
  background-color: #7c3aed;
}
main.food-logger .fl-bar.is-protein .fl-bar-fill {
  background-color: #ea580c;
}
main.food-logger .fl-meals {
  margin-top: 1.5rem;
}
main.food-logger .fl-meals > h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
main.food-logger .fl-meals > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
main.food-logger .fl-meal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  animation: fl-enter 0.4s cubic-bezier(0.2, 0, 0, 1) both;
}
main.food-logger .fl-meal:nth-child(1) {
  animation-delay: 80ms;
}
main.food-logger .fl-meal:nth-child(2) {
  animation-delay: 160ms;
}
main.food-logger .fl-meal:nth-child(3) {
  animation-delay: 240ms;
}
main.food-logger .fl-meal:nth-child(4) {
  animation-delay: 320ms;
}
main.food-logger .fl-meal .fl-meal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 100%;
  background-color: #f0f2f4;
  color: #646d76;
  flex-shrink: 0;
  line-height: 0;
}
main.food-logger .fl-meal .fl-meal-icon svg {
  display: block;
}
main.food-logger .fl-meal.is-logged .fl-meal-icon {
  background-color: rgba(228,10,19,0.1);
  color: #e40a13;
}
main.food-logger .fl-meal .fl-meal-body {
  flex: 1;
  min-width: 0;
}
main.food-logger .fl-meal .fl-meal-top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
main.food-logger .fl-meal .fl-meal-top h3 {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5rem;
}
main.food-logger .fl-meal .fl-meal-top .fl-meal-cal {
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
main.food-logger .fl-meal .fl-meal-summary {
  margin: 0 !important;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.25rem;
  text-wrap: pretty;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main.food-logger .fl-meal .fl-log {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  background-color: rgba(228,10,19,0.08);
  color: #e40a13;
  font-weight: 600;
  flex-shrink: 0;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-meal .fl-log:hover {
  background-color: rgba(228,10,19,0.14);
}
main.food-logger .fl-meal .fl-log:active {
  transform: scale(0.96);
}
main.food-logger .fl-log-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
main.food-logger .fl-log-head .fl-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -0.5rem;
  color: #404040;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
main.food-logger .fl-log-head .fl-close:hover {
  background-color: #f0f2f4;
}
main.food-logger .fl-log-head .fl-close:active {
  transform: scale(0.96);
}
main.food-logger .fl-log-head .fl-meal-switch {
  flex: 1;
  min-width: 0;
}
main.food-logger .fl-log-head .fl-meal-switch select {
  width: auto;
  max-width: 100%;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #404040;
  -webkit-text-fill-color: #404040;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.25rem 2rem 0.25rem 0.15rem;
  background-position-x: 100%;
  background-position-y: 50%;
}
main.food-logger .fl-log-head .fl-meal-switch select:focus {
  border: 0;
  background-color: transparent;
  color: #404040;
  -webkit-text-fill-color: #404040;
}
main.food-logger .fl-log-head .fl-meal-switch select option {
  color: #404040;
  -webkit-text-fill-color: #404040;
}
main.food-logger .fl-ok {
  margin: 0 0 1rem !important;
  padding: 0.65rem 0.85rem;
  background-color: #ecfdf3;
  color: #166534;
  border-radius: 0.75rem;
  text-wrap: pretty;
}
main.food-logger .fl-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #fff;
  border-radius: 1rem;
  padding: 0.35rem 0.9rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  margin-bottom: 0.25rem;
}
main.food-logger .fl-search svg {
  stroke: #646d76;
  flex-shrink: 0;
}
main.food-logger .fl-search input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
}
main.food-logger .fl-search input:focus {
  border: 0;
  background: transparent;
}
main.food-logger .fl-search input::-webkit-search-decoration,
main.food-logger .fl-search input::-webkit-search-cancel-button,
main.food-logger .fl-search input::-webkit-search-results-button,
main.food-logger .fl-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
main.food-logger .fl-search .fl-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin-right: -0.35rem;
  background: transparent;
  color: #646d76;
  border-radius: 100%;
  flex-shrink: 0;
  line-height: 0;
}
main.food-logger .fl-search .fl-search-clear svg {
  display: block;
  stroke: #646d76;
}
main.food-logger .fl-search .fl-search-clear:hover {
  color: #404040;
  background-color: #f0f2f4;
}
main.food-logger .fl-search .fl-search-clear[hidden] {
  display: none;
}
main.food-logger .fl-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  min-height: 0;
  margin: 0 !important;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.25rem;
}
main.food-logger .fl-live:not(:empty) {
  min-height: 1.25rem;
  margin: 0 0 0.75rem !important;
}
main.food-logger .fl-section {
  margin-bottom: 1.5rem;
}
main.food-logger .fl-section > h2 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
main.food-logger .fl-section-quick {
  margin-top: 2rem;
  padding-top: 1.25rem;
  box-shadow: 0 -1px 0 rgba(0,0,0,0.06);
}
main.food-logger .fl-section-quick > h2 {
  color: #404040;
}
main.food-logger .fl-food-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
main.food-logger .fl-food {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fff;
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
main.food-logger .fl-food.is-just-added {
  animation: fl-just-added 0.7s cubic-bezier(0.2, 0, 0, 1) both;
}
main.food-logger .fl-food .fl-food-body {
  flex: 1;
  min-width: 0;
}
main.food-logger .fl-food .fl-food-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main.food-logger .fl-food .fl-food-body p {
  margin: 0 !important;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main.food-logger .fl-food .fl-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 100%;
  background-color: #e40a13;
  color: #fff;
  line-height: 0;
  flex-shrink: 0;
  transition-property: transform, background-color;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-food .fl-plus .fl-plus-add,
main.food-logger .fl-food .fl-plus .fl-plus-done {
  display: flex;
  align-items: center;
  justify-content: center;
  transition-property: opacity, transform, filter;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-food .fl-plus .fl-plus-done {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
main.food-logger .fl-food .fl-plus svg {
  display: block;
}
main.food-logger .fl-food .fl-plus:hover {
  background-color: #d20911;
}
main.food-logger .fl-food .fl-plus:active {
  transform: scale(0.96);
}
main.food-logger .fl-food .fl-plus.is-done {
  background-color: #166534;
  pointer-events: none;
}
main.food-logger .fl-food .fl-plus.is-done .fl-plus-add {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
main.food-logger .fl-food .fl-plus.is-done .fl-plus-done {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
main.food-logger .fl-food .fl-food-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: transparent;
  color: #6b7280;
  border-radius: 0.5rem;
  line-height: 0;
}
main.food-logger .fl-food .fl-food-remove svg {
  display: block;
}
main.food-logger .fl-food .fl-food-remove:hover {
  color: #e40a13;
  background-color: rgba(228,10,19,0.08);
}
main.food-logger .fl-food .fl-food-remove:active {
  transform: scale(0.96);
}
main.food-logger .fl-empty {
  margin: 0 !important;
  color: #6b7280;
  font-size: 0.85rem;
  text-wrap: pretty;
}
main.food-logger .fl-quick {
  background-color: #fff;
  border-radius: 1.1rem;
  padding: 0.85rem 0.35rem 0.35rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
main.food-logger .fl-quick .fl-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
main.food-logger .fl-quick .fl-quick-row .input-group {
  flex: 1;
  min-width: 6.5rem;
  margin-bottom: 0.65rem;
}
main.food-logger .fl-quick .fl-quick-row .fl-quick-name {
  flex: 2;
  min-width: 10rem;
}
main.food-logger .fl-quick .fl-quick-row .fl-quick-cal {
  flex: 1;
  min-width: 5.5rem;
}
main.food-logger .fl-quick .fl-quick-more {
  margin: 0 0.5rem 0.75rem;
  color: #6b7280;
}
main.food-logger .fl-quick .fl-quick-more summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5rem;
  list-style: none;
  user-select: none;
}
main.food-logger .fl-quick .fl-quick-more summary::-webkit-details-marker {
  display: none;
}
main.food-logger .fl-quick .fl-quick-more summary:hover {
  color: #404040;
}
main.food-logger .fl-quick .fl-quick-more[open] summary {
  margin-bottom: 0.5rem;
  color: #404040;
}
main.food-logger .fl-quick .fl-quick-more .fl-quick-row .input-group {
  margin-bottom: 0.5rem;
}
main.food-logger .fl-quick .fl-primary {
  width: 100%;
  min-height: 2.5rem;
  background-color: #e40a13;
  color: #fff;
  border-radius: 0.7rem;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
main.food-logger .fl-quick .fl-primary:hover {
  background-color: #d20911;
}
main.food-logger .fl-quick .fl-primary:active {
  transform: scale(0.96);
}
@media (prefers-reduced-motion: reduce) {
  main.food-logger .fl-card,
  main.food-logger .fl-meal,
  main.food-logger .fl-food.is-just-added,
  main.food-logger .fl-weigh-form {
    animation: none;
  }
  main.food-logger .fl-day:active,
  main.food-logger .fl-log:active,
  main.food-logger .fl-plus:active,
  main.food-logger .fl-primary:active,
  main.food-logger .fl-close:active,
  main.food-logger .fl-weigh summary:active,
  main.food-logger .fl-weigh-save:active {
    transform: none;
  }
  main.food-logger .fl-plus .fl-plus-add,
  main.food-logger .fl-plus .fl-plus-done {
    transition: none;
    filter: none;
  }
}
@media (max-width: 768px) {
  main.food-logger .fl-macros .fl-macro {
    padding: 0 0.5rem;
  }
  main.food-logger .fl-macros .fl-macro h3 {
    font-size: 0.75rem;
  }
  main.food-logger .fl-macros .fl-macro p {
    font-size: 0.8rem;
  }
  main.food-logger .fl-quick .fl-quick-row .input-group {
    min-width: 46%;
  }
}
html:has(body.td-body) {
  height: 100%;
}
body.td-body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #fff;
}
body.td-body > .container {
  height: 100%;
  min-height: 0;
  width: 100%;
  align-items: stretch;
}
main.todo-app {
  background-color: #fff;
  --td-nav-w: 2.35rem;
  --td-col-pad-left: 1rem;
  --td-col-pad-right: 2.15rem;
  align-items: stretch;
  align-self: stretch;
  flex: 1;
  min-width: 0;
  width: auto;
  max-height: 100vh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  color: #222;
}
main.todo-app .container.full.td-stage {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
main.todo-app > .container.full.td-stage {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
main.todo-app > .td-foot {
  flex-shrink: 0;
}
main.todo-app .container.full.td-stage {
  display: grid;
  grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr);
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: 0.9rem 0 0;
  box-sizing: border-box;
}
main.todo-app ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
main.todo-app .td-board {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
main.todo-app .td-nav {
  position: static;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  width: var(--td-nav-w);
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 0;
  padding-top: 1.85rem;
  margin: 0;
  border: 0;
  border-right: 0;
  overflow: visible;
  background: transparent;
  user-select: none;
}
main.todo-app nav.td-nav {
  width: var(--td-nav-w);
  height: auto;
  max-height: none;
  min-height: 0;
  border: 0;
  padding: 0;
  padding-top: 1.85rem;
  overflow: visible;
  background: transparent;
}
main.todo-app .td-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.4rem;
  color: #b4b4b4;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
main.todo-app .td-nav-btn svg {
  display: block;
  stroke: currentColor;
}
main.todo-app .td-nav-btn:hover {
  color: #333;
  background-color: rgba(0,0,0,0.045);
}
main.todo-app .td-nav-btn:active {
  transform: scale(0.94);
  background-color: rgba(0,0,0,0.07);
}
main.todo-app .td-nav-week {
  color: #c2c2c2;
}
main.todo-app .td-nav-week:hover {
  color: #555;
}
main.todo-app .td-nav-day {
  color: #9a9a9a;
}
main.todo-app .td-nav-day:hover {
  color: #222;
}
main.todo-app .td-nav-today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.55rem;
  padding: 0.35rem 0.15rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #9a9a9a;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
main.todo-app .td-nav-today:hover {
  color: #e40a13;
  background-color: rgba(228,10,19,0.06);
}
main.todo-app .td-nav-today:active {
  transform: rotate(180deg) scale(0.96);
}
main.todo-app .td-nav-today.is-current {
  color: #e40a13;
  background-color: rgba(228,10,19,0.08);
}
main.todo-app .td-days {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--td-day-count, 5), minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
main.todo-app .td-day {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding: 0 var(--td-col-pad-right) 0 var(--td-col-pad-left);
  border: 0;
  border-left: 0;
  box-sizing: border-box;
}
main.todo-app .td-day + .td-day {
  border-left: 1px solid #ececec;
}
main.todo-app .td-day:first-child {
  border-left: 0;
}
main.todo-app .td-day.is-today .td-day-name {
  color: #111;
}
main.todo-app .td-day.is-today .td-day-meta {
  color: #666;
}
main.todo-app .td-day-meta {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-left: 1.15rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a3a3;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
main.todo-app .td-today-mark {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e40a13;
  line-height: 1;
}
main.todo-app .td-day-name {
  flex-shrink: 0;
  padding-left: 1.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3a3a3a;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
main.todo-app .td-day.is-today .td-day-name {
  position: relative;
  padding-bottom: 0.2rem;
}
main.todo-app .td-day.is-today .td-day-name::after {
  content: '';
  position: absolute;
  left: 1.15rem;
  bottom: 0;
  width: 1.1rem;
  height: 2px;
  background-color: #e40a13;
  border-radius: 1px;
}
main.todo-app .td-day-sheet,
main.todo-app .td-list-sheet {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 1.15rem;
  box-sizing: border-box;
}
main.todo-app .td-day-sheet::-webkit-scrollbar,
main.todo-app .td-list-sheet::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
main.todo-app .td-lists-board {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.45rem var(--td-nav-w) 0.35rem;
  background-color: #f7f8fa;
  border-top: 1px solid #e8eaee;
}
main.todo-app .td-lists-grid {
  display: flex;
  gap: 0;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,0.25) transparent;
  position: relative;
  cursor: grab;
}
main.todo-app .td-lists-grid::-webkit-scrollbar {
  height: 6px;
}
main.todo-app .td-lists-grid::-webkit-scrollbar-track {
  background: transparent;
}
main.todo-app .td-lists-grid::-webkit-scrollbar-thumb {
  background-color: rgba(15,23,42,0.22);
  border-radius: 999px;
}
main.todo-app .td-lists-grid::-webkit-scrollbar-thumb:hover {
  background-color: rgba(15,23,42,0.38);
}
main.todo-app .td-lists-grid.is-panning {
  cursor: grabbing;
  user-select: none;
}
main.todo-app .td-list {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(100% / var(--td-day-count, 7));
  width: calc(100% / var(--td-day-count, 7));
  min-width: calc(100% / var(--td-day-count, 7));
  max-width: calc(100% / var(--td-day-count, 7));
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding: 0 var(--td-col-pad-right) 0 var(--td-col-pad-left);
  border-right: 1px solid #e4e7ec;
  box-sizing: border-box;
  transition: opacity 0.18s ease;
}
main.todo-app .td-list:last-child {
  border-right: 0;
}
main.todo-app .td-list.is-list-dragging {
  opacity: 1;
  background-color: rgba(15,23,42,0.04);
  border-radius: 0.35rem;
}
main.todo-app .td-list-new {
  border-right: 0;
}
main.todo-app .td-list-new .td-list-sheet .td-slot-empty {
  pointer-events: none;
}
main.todo-app .td-list-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  min-height: 1.5rem;
  margin-bottom: 0.55rem;
  padding-left: 0;
  cursor: default;
  border-radius: 0.25rem;
}
main.todo-app .td-list-drag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.5rem;
  margin: 0 -0.1rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b0b0b0;
  cursor: grab;
  touch-action: none;
  border-radius: 0.2rem;
  opacity: 0.45;
  transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
main.todo-app .td-list-drag svg {
  display: block;
  pointer-events: none;
}
main.todo-app .td-list-drag:hover,
main.todo-app .td-list-drag:focus-visible {
  opacity: 1;
  color: #666;
  background-color: rgba(0,0,0,0.04);
  outline: none;
}
main.todo-app .td-list-drag:active {
  cursor: grabbing;
  opacity: 1;
  color: #444;
}
main.todo-app .td-list:hover .td-list-drag,
main.todo-app .td-list.is-list-dragging .td-list-drag,
main.todo-app .td-list.is-list-drag .td-list-drag {
  opacity: 0.85;
}
main.todo-app .td-task-drag {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  margin-left: -0.15rem;
  padding: 0;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  color: #c4c8cf;
  cursor: grab;
  touch-action: none;
  transition: color 0.14s ease, background-color 0.14s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-task-drag svg {
  display: block;
  pointer-events: none;
}
main.todo-app .td-task-drag:active {
  cursor: grabbing;
  transform: scale(0.96);
  background-color: rgba(0,0,0,0.05);
}
main.todo-app .td-list-head h3,
main.todo-app .td-list-head .td-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3a3a3a;
  line-height: 1.1;
  margin-bottom: 0;
  outline: none;
  min-width: 0;
  flex: 1;
  cursor: default;
  border-radius: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}
main.todo-app .td-list-head h3:hover,
main.todo-app .td-list-head .td-list-title:hover {
  color: #222;
}
main.todo-app .td-list-head h3:focus-visible,
main.todo-app .td-list-head .td-list-title:focus-visible {
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.12);
  background-color: rgba(0,0,0,0.02);
}
main.todo-app .td-list-head h3.is-editing,
main.todo-app .td-list-head .td-list-title.is-editing {
  cursor: text;
  user-select: text;
  text-overflow: clip;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.14);
  background-color: rgba(0,0,0,0.03);
  white-space: normal;
  overflow: visible;
}
main.todo-app .td-new-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.35rem;
  background-color: #ececec;
  color: #555;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}
main.todo-app .td-new-list-btn:hover {
  background-color: #e2e2e2;
  color: #222;
}
main.todo-app .td-list-delete {
  border: 0;
  background: transparent;
  color: #bbb;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}
main.todo-app .td-list-delete:hover {
  color: #666;
}
main.todo-app .td-list:hover .td-list-delete {
  opacity: 1;
}
main.todo-app .td-tasks {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding-left: 0;
  padding-bottom: 4.5rem;
  box-sizing: border-box;
  background-image: linear-gradient(to bottom, transparent 27px, #e8e8e8 27px, #e8e8e8 28px);
  background-size: 100% 28px;
  background-repeat: repeat-y;
}
main.todo-app .td-tasks-list {
  background-image: linear-gradient(to bottom, transparent 27px, #e5e8ed 27px, #e5e8ed 28px);
}
main.todo-app .td-task,
main.todo-app .td-slot,
main.todo-app .td-done-fold {
  box-shadow: inset 0 -1px 0 #e8e8e8;
}
main.todo-app .td-tasks-list > .td-task,
main.todo-app .td-tasks-list > .td-slot,
main.todo-app .td-tasks-list > .td-done-fold {
  box-shadow: inset 0 -1px 0 #e5e8ed;
}
main.todo-app .td-task,
main.todo-app .td-slot {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  min-height: 28px;
  height: 28px;
  padding: 0 0.1rem;
  box-sizing: border-box;
}
main.todo-app .td-slot-empty {
  cursor: default;
  pointer-events: none;
}
main.todo-app .td-slot-empty.is-active-slot {
  cursor: text;
  pointer-events: auto;
}
main.todo-app .td-slot-empty.is-editing .td-task-text {
  outline: none;
}
main.todo-app .td-slot-empty .td-task-text {
  display: block;
  width: 100%;
  min-height: 28px;
  line-height: 28px;
  cursor: inherit;
}
main.todo-app .td-done-fold {
  display: flex;
  align-items: center;
  min-height: 28px;
  height: 28px;
  margin: 0;
  padding: 0 0.1rem;
  list-style: none;
  position: relative;
  z-index: 2;
  border: 0;
  box-sizing: border-box;
}
main.todo-app .td-done-fold-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a3a3a3;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.2rem;
  transition: color 0.15s ease;
}
main.todo-app .td-done-fold-btn:hover {
  color: #666;
}
main.todo-app .td-done-fold-btn:active {
  color: #444;
}
main.todo-app .td-done-fold-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.7rem;
  height: 0.7rem;
  color: #c0c0c0;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), color 0.15s ease;
}
main.todo-app .td-done-fold-chevron svg {
  display: block;
}
main.todo-app .td-done-fold-btn:hover .td-done-fold-chevron {
  color: #888;
}
main.todo-app .td-tasks:not(.is-done-collapsed) .td-done-fold-chevron {
  transform: rotate(90deg);
}
main.todo-app .td-done-fold-label {
  flex-shrink: 0;
}
main.todo-app .td-done-fold-count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #b5b5b5;
}
main.todo-app .td-done-fold-count::before {
  content: '·';
  margin: 0 0.28rem 0 0.08rem;
  color: #ccc;
  font-weight: 500;
}
main.todo-app .td-done-fold.is-pulse .td-done-fold-count {
  animation: td-fold-pulse 0.4s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-tasks.is-done-collapsed > .td-task.is-done {
  display: none;
}
main.todo-app .td-task {
  cursor: grab;
}
main.todo-app .td-task:active {
  cursor: grabbing;
}
main.todo-app .td-task.is-sortable-ghost {
  opacity: 1;
  background-color: rgba(15,23,42,0.06);
  border-radius: 0.2rem;
}
main.todo-app .td-task.is-sinking {
  animation: td-task-sink 0.3s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-task.is-rising {
  animation: td-task-rise 0.3s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-task.is-done .td-task-text {
  color: #9a9a9a;
}
main.todo-app .td-task.is-done .td-task-text-inner {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0,0,0,0.32);
}
main.todo-app .td-task.is-done .td-task-check {
  border-color: #888;
  background-color: #888;
}
main.todo-app .td-task.is-done .td-task-check::after {
  opacity: 1;
  border-color: #fff;
}
main.todo-app .td-task.is-done .td-task-check:hover {
  border-color: #666;
  background-color: #666;
}
main.todo-app .td-task.is-done .td-task-check:hover::after {
  opacity: 1;
  border-color: #fff;
}
main.todo-app .td-task:hover .td-task-delete,
main.todo-app .td-task:hover .td-task-notes,
main.todo-app .td-task.is-editing .td-task-delete,
main.todo-app .td-task.is-editing .td-task-notes,
main.todo-app .td-task.has-notes .td-task-notes {
  opacity: 1;
}
main.todo-app .td-task:hover .td-task-check,
main.todo-app .td-task.is-editing .td-task-check,
main.todo-app .td-task.is-done .td-task-check {
  opacity: 1;
}
main.todo-app .td-task:hover:not(.is-editing) .td-task-text.is-truncated .td-task-text-inner {
  animation: td-marquee var(--td-marquee-duration, 4s) linear infinite alternate;
}
main.todo-app .td-task-check {
  position: absolute;
  left: -1.1rem;
  top: 50%;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.88rem;
  height: 0.88rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid #bdbdbd;
  border-radius: 0.15rem;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.14s ease, border-color 0.14s ease, background-color 0.14s ease, transform 0.14s ease;
}
main.todo-app .td-task-check::after {
  content: '';
  width: 0.28rem;
  height: 0.48rem;
  margin-top: -1px;
  border-right: 1.5px solid #9a9a9a;
  border-bottom: 1.5px solid #9a9a9a;
  transform: rotate(40deg) translate(-0.5px, -1px);
  opacity: 0;
  transition: opacity 0.14s ease, border-color 0.14s ease;
}
main.todo-app .td-task-check:hover {
  border-color: #777;
  background-color: rgba(0,0,0,0.03);
  transform: translateY(-50%) scale(1.05);
}
main.todo-app .td-task-check:hover::after {
  opacity: 0.7;
  border-color: #777;
}
main.todo-app .td-task-check:active {
  transform: translateY(-50%) scale(0.96);
}
main.todo-app .td-task-check:focus-visible {
  opacity: 1;
  outline: none;
  box-shadow: 0 0 0 2px rgba(228,10,19,0.25);
}
main.todo-app .td-task-check:focus-visible::after {
  opacity: 0.7;
  border-color: #777;
}
main.todo-app .td-task-text {
  flex: 1;
  min-width: 0;
  position: relative;
  font-size: 0.8125rem;
  line-height: 28px;
  outline: none;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  cursor: text;
}
main.todo-app .td-task-text.is-truncated {
  text-overflow: clip;
}
main.todo-app .td-task-text.is-truncated .td-task-text-inner {
  display: inline-block;
  padding-right: 0.85rem;
}
main.todo-app .td-task-text-inner {
  display: inline;
}
main.todo-app .td-task-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0,0,0,0.28);
  cursor: pointer;
}
main.todo-app .td-task-link:hover {
  color: #e40a13;
  text-decoration-color: #e40a13;
}
main.todo-app .td-task.is-done .td-task-link {
  color: #9a9a9a;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0,0,0,0.32);
}
main.todo-app .td-task.is-done .td-task-link:hover {
  color: #666;
  text-decoration: line-through underline;
  text-decoration-color: rgba(0,0,0,0.4);
  text-underline-offset: 2px;
}
main.todo-app .td-task.is-editing .td-task-text {
  user-select: text;
  cursor: text;
  overflow-x: auto;
  overflow-y: hidden;
  text-overflow: clip;
}
main.todo-app .td-task.is-editing .td-task-text .td-task-text-inner {
  display: inline;
  padding-right: 0;
  animation: none;
  transform: none;
}
main.todo-app .td-task-delete,
main.todo-app .td-task-notes {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s ease, color 0.12s ease;
}
main.todo-app .td-task-delete:hover,
main.todo-app .td-task-notes:hover {
  color: #666;
}
main.todo-app .td-task-notes svg {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
}
main.todo-app .td-task-notes.is-active {
  color: #666;
  opacity: 1;
}
main.todo-app .td-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: rgba(20,18,16,0.28);
}
main.todo-app .td-drawer-backdrop[hidden] {
  display: none;
}
main.todo-app .td-drawer {
  --td-drawer-w: 24rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: var(--td-drawer-w);
  min-width: 20rem;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background-color: #fff;
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer.is-open {
  transform: translateX(0);
}
main.todo-app .td-drawer-resize {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 16px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}
main.todo-app .td-drawer-resize::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background-color: transparent;
  transition: background-color 0.15s ease;
}
main.todo-app .td-drawer-resize:hover::before,
main.todo-app .td-drawer-resize:focus-visible::before {
  background-color: rgba(0,0,0,0.18);
}
main.todo-app .td-drawer-resize:focus-visible {
  outline: none;
}
main.todo-app .td-drawer-resize:active .td-drawer-resize-grip {
  transform: translate(-50%, -50%) scale(0.96);
}
main.todo-app .td-drawer-resize-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 2.5rem;
  border-radius: 999px;
  background-color: #f4f4f4;
  color: #c0c0c0;
  box-shadow: 0 0 0 1px #ececec;
  opacity: 0.55;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-resize-grip svg {
  display: block;
}
main.todo-app .td-drawer-resize:hover .td-drawer-resize-grip,
main.todo-app .td-drawer-resize:focus-visible .td-drawer-resize-grip {
  opacity: 1;
  color: #666;
  background-color: #eee;
}
main.todo-app .td-drawer-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #ececec;
}
main.todo-app .td-drawer-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #222;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main.todo-app .td-drawer-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #888;
  cursor: pointer;
}
main.todo-app .td-drawer-close:hover {
  background-color: #f3f3f3;
  color: #222;
}
main.todo-app .td-drawer-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem 0 0;
  overflow: hidden;
}
main.todo-app .td-drawer-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1rem;
  padding: 0 1.1rem;
}
main.todo-app .td-drawer-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
}
main.todo-app .td-drawer-hint {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  color: #b0b0b0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.todo-app .td-drawer-hint kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.05rem 0.28rem;
  margin-right: 0.15rem;
  border-radius: 0.25rem;
  background-color: #f0f0f0;
  color: #888;
  line-height: 1.3;
}
main.todo-app .td-drawer-hint[hidden] {
  display: none;
}
main.todo-app .td-drawer-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.7rem;
  line-height: 1.2;
  color: #9a9a9a;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
main.todo-app .td-drawer-status:not(:empty) {
  margin-left: 0.35rem;
}
main.todo-app .td-drawer-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 1.1rem 0.55rem;
  animation: td-drawer-progress-in 0.22s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-progress[hidden] {
  display: none;
}
main.todo-app .td-drawer-progress-track {
  flex: 1;
  min-width: 0;
  height: 0.28rem;
  border-radius: 999px;
  background-color: #eceff3;
  overflow: hidden;
}
main.todo-app .td-drawer-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e40a13, #ff5a4e);
  transition: width 0.18s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-progress-label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #888;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
main.todo-app .td-drawer-editor-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
main.todo-app .td-drawer-media-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
main.todo-app .td-drawer-editor {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
}
main.todo-app .td-drawer-editor .toastui-editor-toolbar {
  flex-shrink: 0;
  padding: 0 0.65rem;
  border: 0;
  border-bottom: 1px solid #eceff3;
  background-color: #fff;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar {
  padding: 0.2rem 0;
  height: auto;
  background-color: transparent;
  border: 0;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar button {
  border-radius: 0.35rem;
  transition: background-color 0.12s cubic-bezier(0.2, 0, 0, 1), color 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar button:hover {
  background-color: #f3f4f6;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar button:active {
  transform: scale(0.96);
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar button.active {
  background-color: #eef0f3;
  color: #111;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar .td-toolbar-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  color: #555;
  background-position: center;
  background-size: 0;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar .td-toolbar-video svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.75;
}
main.todo-app .td-drawer-editor .toastui-editor-defaultUI-toolbar .td-toolbar-video:hover {
  color: #e40a13;
}
main.todo-app .td-drawer-editor .toastui-editor-toolbar-divider {
  background-color: #e6e8ec;
}
main.todo-app .td-drawer-editor .toastui-editor-main {
  flex: 1;
  min-height: 0;
}
main.todo-app .td-drawer-editor .toastui-editor-main-container {
  height: 100%;
}
main.todo-app .td-drawer-editor .toastui-editor-ww-container,
main.todo-app .td-drawer-editor .toastui-editor-md-container {
  background-color: #fff;
}
main.todo-app .td-drawer-editor .ProseMirror {
  outline: none;
  caret-color: #111;
}
main.todo-app .td-drawer-editor .toastui-editor-contents {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  padding: 0.85rem 1.15rem 1.75rem;
  z-index: 1;
}
main.todo-app .td-drawer-editor .toastui-editor-contents * {
  box-sizing: border-box;
}
main.todo-app .td-drawer-editor .toastui-editor-contents > *:first-child {
  margin-top: 0 !important;
}
main.todo-app .td-drawer-editor .toastui-editor-contents > *:last-child {
  margin-bottom: 0 !important;
}
main.todo-app .td-drawer-editor .toastui-editor-contents p {
  margin: 0.35rem 0;
  text-wrap: pretty;
}
main.todo-app .td-drawer-editor .toastui-editor-contents p + p {
  margin-top: 0.45rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h1,
main.todo-app .td-drawer-editor .toastui-editor-contents h2,
main.todo-app .td-drawer-editor .toastui-editor-contents h3,
main.todo-app .td-drawer-editor .toastui-editor-contents h4,
main.todo-app .td-drawer-editor .toastui-editor-contents h5,
main.todo-app .td-drawer-editor .toastui-editor-contents h6 {
  margin: 0.85rem 0 0.28rem;
  padding: 0;
  border: 0 !important;
  border-bottom: 0 !important;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: #111;
  text-wrap: balance;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h1 + p,
main.todo-app .td-drawer-editor .toastui-editor-contents h2 + p,
main.todo-app .td-drawer-editor .toastui-editor-contents h3 + p,
main.todo-app .td-drawer-editor .toastui-editor-contents h4 + p,
main.todo-app .td-drawer-editor .toastui-editor-contents h1 + ul,
main.todo-app .td-drawer-editor .toastui-editor-contents h2 + ul,
main.todo-app .td-drawer-editor .toastui-editor-contents h3 + ul,
main.todo-app .td-drawer-editor .toastui-editor-contents h1 + ol,
main.todo-app .td-drawer-editor .toastui-editor-contents h2 + ol,
main.todo-app .td-drawer-editor .toastui-editor-contents h3 + ol {
  margin-top: 0.2rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h1 {
  font-size: 1.35rem;
  font-weight: 700;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h2 {
  font-size: 1.12rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h3 {
  font-size: 1rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents h4,
main.todo-app .td-drawer-editor .toastui-editor-contents h5,
main.todo-app .td-drawer-editor .toastui-editor-contents h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
main.todo-app .td-drawer-editor .toastui-editor-contents ul,
main.todo-app .td-drawer-editor .toastui-editor-contents ol {
  margin: 0.35rem 0 0.45rem;
  padding-left: 1.35rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents ul ul,
main.todo-app .td-drawer-editor .toastui-editor-contents ul ol,
main.todo-app .td-drawer-editor .toastui-editor-contents ol ul,
main.todo-app .td-drawer-editor .toastui-editor-contents ol ol {
  margin: 0.1rem 0 0.15rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li {
  margin: 0;
  padding: 0.08rem 0;
  line-height: 1.4;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li + li {
  margin-top: 0.05rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li > p {
  margin: 0 !important;
  display: inline;
  line-height: inherit;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li > p + p {
  display: block;
  margin-top: 0.2rem !important;
}
main.todo-app .td-drawer-editor .toastui-editor-contents ul > li::marker {
  color: #9aa0a6;
  font-size: 0.75em;
}
main.todo-app .td-drawer-editor .toastui-editor-contents ol > li::marker {
  color: #8b9198;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.82em;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item {
  list-style: none !important;
  position: relative;
  margin: 0.05rem 0 !important;
  margin-left: 0 !important;
  padding: 0.12rem 0 0.12rem 1.55rem !important;
  border: 0 !important;
  min-height: 1.35rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item:before,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item:before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.28rem !important;
  width: 0.95rem !important;
  height: 0.95rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 1.5px solid #c3c7ce !important;
  border-radius: 0.22rem !important;
  background-color: #fff !important;
  background-image: none !important;
  background-size: auto !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.12s cubic-bezier(0.2, 0, 0, 1), background-color 0.12s cubic-bezier(0.2, 0, 0, 1), transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item:hover:before,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item:hover:before {
  border-color: #8b9198 !important;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item:active:before,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item:active:before {
  transform: scale(0.96);
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item.checked,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item.checked {
  color: #8b9198;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item.checked:before,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item.checked:before {
  border-color: #e40a13 !important;
  background-color: #e40a13 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 L6.5 11.5 L12.5 4.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0.7rem 0.7rem !important;
}
main.todo-app .td-drawer-editor .toastui-editor-contents li.task-list-item.checked > *,
main.todo-app .td-drawer-editor .toastui-editor-contents .task-list-item.checked > * {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #b0b5bc;
}
main.todo-app .td-drawer-editor .toastui-editor-contents blockquote {
  margin: 0.5rem 0;
  padding: 0.15rem 0 0.15rem 0.75rem;
  border-left: 2.5px solid #d8dbe0;
  color: #5c6370;
  background: transparent;
}
main.todo-app .td-drawer-editor .toastui-editor-contents blockquote p {
  margin: 0.15rem 0;
}
main.todo-app .td-drawer-editor .toastui-editor-contents hr {
  margin: 0.55rem 0;
  border: 0;
  border-top: 1px solid #e1e4ea;
  height: 0;
  background: transparent;
}
main.todo-app .td-drawer-editor .toastui-editor-contents a {
  color: #0b57d0;
  text-decoration: none;
  border-bottom: 1px solid rgba(11,87,208,0.28);
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease;
}
main.todo-app .td-drawer-editor .toastui-editor-contents a:hover {
  color: #0842a0;
  border-bottom-color: rgba(8,66,160,0.55);
}
main.todo-app .td-drawer-editor .toastui-editor-contents a[data-td-link] {
  cursor: pointer;
}
main.todo-app .td-drawer-editor .toastui-editor-contents strong {
  font-weight: 650;
  color: #111;
}
main.todo-app .td-drawer-editor .toastui-editor-contents em {
  font-style: italic;
}
main.todo-app .td-drawer-editor .toastui-editor-contents del,
main.todo-app .td-drawer-editor .toastui-editor-contents s,
main.todo-app .td-drawer-editor .toastui-editor-contents strike {
  color: #8b9198;
}
main.todo-app .td-drawer-editor .toastui-editor-contents code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84em;
  line-height: 1.35;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background-color: #f3f4f6;
  color: #c7254e;
  letter-spacing: 0;
}
main.todo-app .td-drawer-editor .toastui-editor-contents pre {
  margin: 0.5rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background-color: #f6f7f9;
  border: 1px solid #eceff3;
  overflow-x: auto;
}
main.todo-app .td-drawer-editor .toastui-editor-contents pre code {
  padding: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: 0.8rem;
  line-height: 1.5;
}
main.todo-app .td-drawer-editor .toastui-editor-contents .td-note-video-wrap {
  display: block;
  width: 100%;
  margin: 0.75rem 0;
  position: relative;
}
main.todo-app .td-drawer-editor .toastui-editor-contents .td-note-video-wrap.is-uploading::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.22rem;
  border-radius: 0 0 0.7rem 0.7rem;
  background: linear-gradient(90deg, rgba(228,10,19,0.15), #e40a13, rgba(228,10,19,0.15));
  background-size: 200% 100%;
  animation: td-video-upload-shine 1.1s linear infinite;
  pointer-events: none;
}
main.todo-app .td-drawer-editor .toastui-editor-contents .td-note-video,
main.todo-app .td-drawer-editor .toastui-editor-contents video.td-note-video,
main.todo-app .td-drawer-editor .toastui-editor-contents video {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 52vh;
  margin: 0;
  border-radius: 0.7rem;
  background-color: #0f1115;
  outline: 1px solid rgba(0,0,0,0.1);
  outline-offset: -1px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  transition: box-shadow 0.18s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-drawer-editor .toastui-editor-contents .td-note-video:hover,
main.todo-app .td-drawer-editor .toastui-editor-contents video.td-note-video:hover,
main.todo-app .td-drawer-editor .toastui-editor-contents video:hover {
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}
main.todo-app .td-drawer-editor .toastui-editor-contents .td-note-video:focus-visible,
main.todo-app .td-drawer-editor .toastui-editor-contents video.td-note-video:focus-visible,
main.todo-app .td-drawer-editor .toastui-editor-contents video:focus-visible {
  outline: 2px solid rgba(228,10,19,0.45);
  outline-offset: 2px;
}
main.todo-app .td-drawer-editor .toastui-editor-contents img {
  max-width: 100%;
  height: auto;
  border-radius: 0.4rem;
  margin: 0.45rem 0;
  display: block;
  outline: 1px solid rgba(0,0,0,0.08);
  outline-offset: -1px;
}
main.todo-app .td-drawer-editor .toastui-editor-contents table {
  margin: 0.5rem 0;
  border-collapse: collapse;
  width: 100%;
  font-size: 0.84rem;
}
main.todo-app .td-drawer-editor .toastui-editor-contents th,
main.todo-app .td-drawer-editor .toastui-editor-contents td {
  border: 1px solid #e6e8ec;
  padding: 0.3rem 0.45rem;
  text-align: left;
}
main.todo-app .td-drawer-editor .toastui-editor-contents th {
  background-color: #f7f8fa;
  font-weight: 600;
}
main.todo-app .td-drawer-editor .toastui-editor-contents ::selection {
  background-color: rgba(228,10,19,0.12);
}
main.todo-app .td-drawer-editor .toastui-editor-mode-switch,
main.todo-app .td-drawer-editor .toastui-editor-popup-body .toastui-editor-tabs {
  display: none !important;
}
main.todo-app .td-drawer-editor.is-drop-hover .toastui-editor-contents {
  background-color: rgba(228,10,19,0.035);
  box-shadow: inset 0 0 0 1.5px rgba(228,10,19,0.25);
}
main.todo-app .td-foot {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 2.15rem;
  padding: 0.3rem 1rem calc(0.3rem + env(safe-area-inset-bottom, 0px));
  background-color: #f3f3f3;
  border-top: 1px solid #e2e2e2;
  box-sizing: border-box;
}
main.todo-app .td-foot-days {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
main.todo-app .td-foot-day {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9a9a9a;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
main.todo-app .td-foot-day.is-active {
  color: #111;
}
main.todo-app .td-foot-day:hover {
  color: #444;
}
main.todo-app .td-foot-today {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
  text-decoration: none;
}
main.todo-app .td-foot-today:hover {
  color: #111;
}
main.todo-app .td-foot-search {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.22rem 0.45rem;
  border: 0;
  border-radius: 0.35rem;
  background-color: rgba(0,0,0,0.04);
  color: #666;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-foot-search svg {
  display: block;
  opacity: 0.75;
}
main.todo-app .td-foot-search kbd {
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #999;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 0.1rem;
}
main.todo-app .td-foot-search:hover {
  background-color: rgba(0,0,0,0.07);
  color: #222;
}
main.todo-app .td-foot-search:active {
  transform: scale(0.96);
}
main.todo-app .td-mobile-tabs {
  display: none;
  flex-shrink: 0;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0 0 0.4rem;
  padding: 0.22rem;
  border-radius: 0.55rem;
  background-color: #eceff3;
}
main.todo-app .td-mobile-tabs[hidden] {
  display: none !important;
}
main.todo-app .td-mobile-tab {
  flex: 1;
  margin: 0;
  padding: 0.42rem 0.65rem;
  border: 0;
  border-radius: 0.42rem;
  background: transparent;
  color: #777;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-mobile-tab.is-active {
  background-color: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}
main.todo-app .td-mobile-tab:active {
  transform: scale(0.98);
}
main.todo-app .td-mobile-nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex-shrink: 0;
  margin: 0 0 0.35rem;
  padding: 0;
  width: auto;
  height: auto;
  max-height: none;
  min-height: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  position: static;
}
main.todo-app .td-mobile-nav[hidden] {
  display: none !important;
}
main.todo-app nav.td-mobile-nav {
  width: auto;
  height: auto;
  max-height: none;
  min-height: 0;
  border: 0;
  padding: 0;
  margin: 0 0 0.35rem;
  overflow: visible;
  background: transparent;
}
main.todo-app .td-mobile-nav-label {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-align: center;
  line-height: 1.15;
}
main.todo-app .td-mobile-nav-primary {
  min-width: 0;
  max-width: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.todo-app .td-mobile-nav-meta {
  min-width: 0;
  max-width: 100%;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
main.todo-app .td-mobile-nav.is-days-mode .td-mobile-nav-primary {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
main.todo-app .td-mobile-nav.is-lists-mode .td-mobile-nav-primary {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
main.todo-app .td-mobile-nav.is-lists-mode .td-mobile-nav-primary.is-tappable {
  cursor: text;
  border-radius: 0.35rem;
  padding: 0.12rem 0.3rem;
  margin: -0.12rem -0.3rem;
}
main.todo-app .td-mobile-nav.is-lists-mode .td-mobile-nav-primary.is-tappable:active:not(.is-editing) {
  background-color: rgba(0,0,0,0.04);
}
main.todo-app .td-mobile-nav.is-lists-mode .td-mobile-nav-primary.is-editing {
  outline: 1.5px solid rgba(228,10,19,0.35);
  background-color: #fff;
}
main.todo-app .td-mobile-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.45rem;
  background-color: rgba(0,0,0,0.04);
  color: #888;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1), opacity 0.15s ease;
}
main.todo-app .td-mobile-nav-action svg {
  display: block;
}
main.todo-app .td-mobile-nav-action:active {
  transform: scale(0.96);
  background-color: rgba(228,10,19,0.08);
  color: #c40810;
}
main.todo-app .td-mobile-nav-action[hidden] {
  display: none !important;
}
main.todo-app .td-mobile-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.45rem;
  background-color: rgba(0,0,0,0.04);
  color: #555;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1), opacity 0.15s ease;
}
main.todo-app .td-mobile-nav-btn svg {
  display: block;
}
main.todo-app .td-mobile-nav-btn:active:not(:disabled) {
  transform: scale(0.96);
  background-color: rgba(0,0,0,0.08);
}
main.todo-app .td-mobile-nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}
main.todo-app .td-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;
}
main.todo-app .td-cmd {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(12vh, 4rem) 1rem 2rem;
  box-sizing: border-box;
}
main.todo-app .td-cmd[hidden] {
  display: none;
}
main.todo-app .td-cmd-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18,18,18,0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: td-cmd-fade 0.16s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-cmd-dialog {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  max-height: min(28rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 50px rgba(15,23,42,0.22), 0 2px 8px rgba(15,23,42,0.08);
  overflow: hidden;
  transform-origin: 50% 0%;
  animation: td-cmd-pop 0.18s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-cmd-input-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid #ececec;
}
main.todo-app .td-cmd-search-icon {
  display: flex;
  color: #999;
  flex-shrink: 0;
}
main.todo-app .td-cmd-search-icon svg {
  display: block;
}
main.todo-app .td-cmd-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.3;
  color: #1a1a1a;
  font-family: inherit;
}
main.todo-app .td-cmd-input::placeholder {
  color: #aaa;
}
main.todo-app .td-cmd-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
main.todo-app .td-cmd-esc {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
  background-color: #f3f3f3;
  border-radius: 0.3rem;
  padding: 0.22rem 0.35rem;
  line-height: 1;
}
main.todo-app .td-cmd-results {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.4rem;
  overscroll-behavior: contain;
}
main.todo-app .td-cmd-empty,
main.todo-app .td-cmd-loading,
main.todo-app .td-cmd-hint {
  padding: 1.4rem 1rem;
  text-align: center;
  color: #999;
  font-size: 0.82rem;
  line-height: 1.45;
}
main.todo-app .td-cmd-hint strong {
  color: #666;
  font-weight: 600;
}
main.todo-app .td-cmd-section {
  margin: 0;
  padding: 0.35rem 0.65rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
}
main.todo-app .td-cmd-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: background-color 0.12s ease;
}
main.todo-app .td-cmd-item:hover,
main.todo-app .td-cmd-item.is-active {
  background-color: #f4f4f5;
}
main.todo-app .td-cmd-item.is-active {
  background-color: #f0f1f3;
}
main.todo-app .td-cmd-check {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.28rem;
  border: 1.5px solid #c5c5c5;
  border-radius: 50%;
  box-sizing: border-box;
  flex-shrink: 0;
}
main.todo-app .td-cmd-item.is-done .td-cmd-check {
  border-color: #888;
  background-color: #888;
  position: relative;
}
main.todo-app .td-cmd-item.is-done .td-cmd-check::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 1px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
main.todo-app .td-cmd-item-body {
  min-width: 0;
}
main.todo-app .td-cmd-item-title {
  font-size: 0.875rem;
  line-height: 1.35;
  color: #1f1f1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.todo-app .td-cmd-item.is-done .td-cmd-item-title {
  color: #8a8a8a;
  text-decoration: line-through;
}
main.todo-app .td-cmd-item-meta {
  margin-top: 0.12rem;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.todo-app .td-cmd-item-snippet {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #777;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
main.todo-app .td-cmd-mark {
  background-color: rgba(228,10,19,0.12);
  color: inherit;
  border-radius: 0.15rem;
  padding: 0 0.05rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
main.todo-app .td-cmd-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid #f0f0f0;
  background-color: #fafafa;
  color: #999;
  font-size: 0.68rem;
}
main.todo-app .td-cmd-foot kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 1rem;
  text-align: center;
  padding: 0.12rem 0.28rem;
  margin: 0 0.08rem;
  border-radius: 0.25rem;
  background-color: #eee;
  color: #666;
  line-height: 1.2;
}
main.todo-app .td-task.is-search-flash {
  animation: td-search-flash 0.9s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-list-sort {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(12vh, 4rem) 1rem 2rem;
  box-sizing: border-box;
}
main.todo-app .td-list-sort[hidden] {
  display: none;
}
main.todo-app .td-list-sort-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18,18,18,0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: td-cmd-fade 0.16s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-list-sort-dialog {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  max-height: min(32rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 50px rgba(15,23,42,0.22), 0 2px 8px rgba(15,23,42,0.08);
  overflow: hidden;
  transform-origin: 50% 0%;
  animation: td-cmd-pop 0.18s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-list-sort-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.8rem;
  border-bottom: 1px solid #ececec;
}
main.todo-app .td-list-sort-head-text {
  flex: 1;
  min-width: 0;
}
main.todo-app .td-list-sort-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  line-height: 1.3;
}
main.todo-app .td-list-sort-sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: #999;
  line-height: 1.35;
}
main.todo-app .td-list-sort-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #999;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
main.todo-app .td-list-sort-close svg {
  display: block;
}
main.todo-app .td-list-sort-close:hover {
  background-color: #f3f3f3;
  color: #333;
}
main.todo-app .td-list-sort-close:active {
  transform: scale(0.96);
}
main.todo-app .td-list-sort-list {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  overscroll-behavior: contain;
  counter-reset: td-sort;
}
main.todo-app .td-list-sort-empty {
  margin: 0;
  padding: 1.6rem 1rem;
  text-align: center;
  color: #999;
  font-size: 0.82rem;
  line-height: 1.45;
}
main.todo-app .td-list-sort-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.55rem 0.55rem 0.4rem;
  margin: 0 0 0.2rem;
  border-radius: 0.5rem;
  background-color: #fff;
  border: 1px solid transparent;
  counter-increment: td-sort;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: background-color 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
main.todo-app .td-list-sort-item:active {
  cursor: grabbing;
}
main.todo-app .td-list-sort-item:hover {
  background-color: #f7f7f8;
}
main.todo-app .td-list-sort-item:hover .td-list-sort-handle {
  color: #888;
}
main.todo-app .td-list-sort-item.is-sort-ghost {
  opacity: 1;
  background-color: #f0f1f3;
  border-color: #e4e4e7;
  box-shadow: none;
}
main.todo-app .td-list-sort-item.is-sort-chosen {
  background-color: #f7f7f8;
}
main.todo-app .td-list-sort-handle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.35rem;
  color: #c0c0c0;
}
main.todo-app .td-list-sort-handle svg {
  display: block;
  pointer-events: none;
}
main.todo-app .td-list-sort-index {
  flex-shrink: 0;
  width: 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #bbb;
  text-align: center;
  line-height: 1;
}
main.todo-app .td-list-sort-index::before {
  content: counter(td-sort);
}
main.todo-app .td-list-sort-name {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2a2a2a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
main.todo-app .td-list-sort-meta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  min-width: 2.1rem;
  justify-content: flex-end;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  color: #b0b0b0;
  letter-spacing: 0.01em;
}
main.todo-app .td-list-sort-meta.is-empty {
  color: #ccc;
  font-weight: 500;
}
main.todo-app .td-list-sort-done {
  color: #8a8a8a;
}
main.todo-app .td-list-sort-sep {
  margin: 0 0.08rem;
  color: #ccc;
  font-weight: 500;
}
main.todo-app .td-list-sort-total {
  color: #b8b8b8;
}
main.todo-app .td-list-sort-item.is-sort-fallback {
  opacity: 0 !important;
}
main.todo-app .td-list-sort-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid #f0f0f0;
  background-color: #fafafa;
  color: #999;
  font-size: 0.68rem;
}
main.todo-app .td-list-sort-foot svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 0.1rem;
  stroke: currentColor;
}
main.todo-app .td-toast {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.45rem;
  background-color: #222;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
main.todo-app .td-toast[hidden] {
  display: none;
}
main.todo-app .td-toast-undo {
  border: 0;
  background: transparent;
  color: #9ecbff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
main.todo-app .td-toast-undo:hover {
  color: #fff;
}
@-moz-keyframes td-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--td-marquee, 0px));
  }
}
@-webkit-keyframes td-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--td-marquee, 0px));
  }
}
@-o-keyframes td-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--td-marquee, 0px));
  }
}
@keyframes td-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--td-marquee, 0px));
  }
}
@-moz-keyframes td-task-sink {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.35;
    transform: translateY(6px);
  }
}
@-webkit-keyframes td-task-sink {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.35;
    transform: translateY(6px);
  }
}
@-o-keyframes td-task-sink {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.35;
    transform: translateY(6px);
  }
}
@keyframes td-task-sink {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.35;
    transform: translateY(6px);
  }
}
@-moz-keyframes td-task-rise {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes td-task-rise {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes td-task-rise {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes td-task-rise {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes td-fold-pulse {
  0%, 100% {
    color: #bbb;
    transform: scale(1);
  }
  40% {
    color: #e40a13;
    transform: scale(1.18);
  }
}
@-webkit-keyframes td-fold-pulse {
  0%, 100% {
    color: #bbb;
    transform: scale(1);
  }
  40% {
    color: #e40a13;
    transform: scale(1.18);
  }
}
@-o-keyframes td-fold-pulse {
  0%, 100% {
    color: #bbb;
    transform: scale(1);
  }
  40% {
    color: #e40a13;
    transform: scale(1.18);
  }
}
@keyframes td-fold-pulse {
  0%, 100% {
    color: #bbb;
    transform: scale(1);
  }
  40% {
    color: #e40a13;
    transform: scale(1.18);
  }
}
@-moz-keyframes td-drawer-progress-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes td-drawer-progress-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes td-drawer-progress-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes td-drawer-progress-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes td-video-upload-shine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@-webkit-keyframes td-video-upload-shine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@-o-keyframes td-video-upload-shine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@keyframes td-video-upload-shine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@-moz-keyframes td-cmd-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes td-cmd-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes td-cmd-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes td-cmd-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes td-cmd-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@-webkit-keyframes td-cmd-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@-o-keyframes td-cmd-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes td-cmd-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@-moz-keyframes td-search-flash {
  0%, 100% {
    background-color: transparent;
  }
  25%, 55% {
    background-color: rgba(228,10,19,0.1);
    border-radius: 0.25rem;
  }
}
@-webkit-keyframes td-search-flash {
  0%, 100% {
    background-color: transparent;
  }
  25%, 55% {
    background-color: rgba(228,10,19,0.1);
    border-radius: 0.25rem;
  }
}
@-o-keyframes td-search-flash {
  0%, 100% {
    background-color: transparent;
  }
  25%, 55% {
    background-color: rgba(228,10,19,0.1);
    border-radius: 0.25rem;
  }
}
@keyframes td-search-flash {
  0%, 100% {
    background-color: transparent;
  }
  25%, 55% {
    background-color: rgba(228,10,19,0.1);
    border-radius: 0.25rem;
  }
}
@media (max-width: 960px) {
  main.todo-app .td-days {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  main.todo-app .td-days::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  main.todo-app .td-day,
  main.todo-app .td-list {
    flex: 0 0 calc(100% / var(--td-day-count, 5));
    width: calc(100% / var(--td-day-count, 5));
    min-width: calc(100% / var(--td-day-count, 5));
    max-width: calc(100% / var(--td-day-count, 5));
  }
  main.todo-app .td-lists-board {
    padding: 0.45rem var(--td-nav-w) 0.35rem;
  }
}
html.td-drawer-resizing {
  cursor: col-resize;
  user-select: none;
}
html.td-drawer-resizing iframe,
html.td-drawer-resizing .toastui-editor-defaultUI,
html.td-drawer-resizing .toastui-editor-ww-container,
html.td-drawer-resizing .toastui-editor-md-container {
  pointer-events: none;
}
html.td-drawer-resizing main.todo-app .td-drawer-resize::before {
  background-color: rgba(0,0,0,0.28);
}
html.td-drawer-resizing main.todo-app .td-drawer-resize-grip {
  opacity: 1;
  color: #555;
  background-color: #ececec;
  transform: translate(-50%, -50%) scale(0.96);
}
@media (max-width: 768px) {
  body.td-body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }
  body.td-body > .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100dvh;
    min-height: 0;
    width: 100%;
  }
  body.td-body main.todo-app {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    overflow: hidden;
    align-items: stretch;
    align-self: stretch;
    justify-content: flex-start;
  }
  main.todo-app {
    --td-col-pad-left: 0.75rem;
    --td-col-pad-right: 0.75rem;
    --td-nav-w: 0;
  }
  main.todo-app > .container.full.td-stage {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-width: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: calc(3.35rem + env(safe-area-inset-top, 0px)) var(--td-col-pad-left) 0;
  }
  main.todo-app > .td-foot {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
  }
  main.todo-app .container.full.td-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    grid-template-rows: none;
    grid-template-columns: none;
    height: 100%;
    min-height: 0;
  }
  main.todo-app .td-mobile-tabs,
  main.todo-app .td-mobile-nav,
  main.todo-app .td-board,
  main.todo-app .td-lists-board {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  main.todo-app .td-mobile-tabs:not([hidden]) {
    display: flex;
    flex-shrink: 0;
  }
  main.todo-app .td-mobile-nav:not([hidden]) {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 0.35rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid #ececec;
  }
  main.todo-app .td-mobile-nav-label {
    flex: 1;
  }
  main.todo-app .td-stage.is-mobile-days .td-day-meta,
  main.todo-app .td-stage.is-mobile-days .td-day-name {
    display: none;
  }
  main.todo-app .td-stage.is-mobile-days .td-day-sheet {
    padding-top: 0.15rem;
  }
  main.todo-app .td-stage.is-mobile-lists .td-lists-board {
    display: flex;
  }
  main.todo-app .td-stage.is-mobile-lists .td-board {
    display: none;
  }
  main.todo-app .td-stage.is-mobile-lists .td-list-head {
    display: none;
  }
  main.todo-app .td-stage.is-mobile-lists .td-list-sheet {
    padding-top: 0.15rem;
  }
  main.todo-app .td-stage.is-mobile-lists .td-lists-board {
    padding-top: 0;
  }
  main.todo-app .td-foot {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 0.65rem;
    padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  }
  main.todo-app .td-foot-days {
    display: none;
  }
  main.todo-app .td-foot-today,
  main.todo-app .td-foot-search {
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
  }
  main.todo-app .td-nav {
    display: none;
  }
  main.todo-app .td-board {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  main.todo-app .td-lists-board {
    display: none;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    padding: 0.35rem 0 0.25rem;
    border-top: 0;
    flex-direction: column;
    width: 100%;
  }
  main.todo-app .td-stage.is-mobile-lists .td-lists-board {
    display: flex;
  }
  main.todo-app .td-stage.is-mobile-lists .td-board {
    display: none;
  }
  main.todo-app .td-days {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  main.todo-app .td-days::-webkit-scrollbar {
    display: none;
  }
  main.todo-app .td-days.is-panning {
    cursor: grabbing;
    user-select: none;
  }
  main.todo-app .td-days.is-panning .td-day-sheet {
    touch-action: none;
  }
  main.todo-app .td-day,
  main.todo-app .td-list {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  main.todo-app .td-day-sheet,
  main.todo-app .td-list-sheet {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
  }
  main.todo-app .td-lists-grid {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  main.todo-app .td-lists-grid::-webkit-scrollbar {
    display: none;
  }
  main.todo-app .td-task-drag {
    display: inline-flex;
  }
  main.todo-app .td-task-delete,
  main.todo-app .td-task-notes,
  main.todo-app .td-task-check,
  main.todo-app .td-list-delete {
    opacity: 1;
  }
  main.todo-app .td-drawer {
    width: 92vw;
    min-width: 0;
    max-width: 92vw;
  }
  main.todo-app .td-drawer-resize {
    display: none;
  }
}
.separator {
  height: 0.3rem;
  width: 3rem;
  background-color: #404040;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .toggler-btn {
    display: flex;
  }
  nav.sidebar .sidebar-collapse {
    display: none !important;
  }
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    background-color: rgba(15,15,15,0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition-property: opacity, visibility;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-delay: 0s, 0.28s;
  }
  .toggler:checked ~ .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
  }
  .toggler:checked ~ main {
    pointer-events: none;
  }
  html.sidebar-open,
  body.sidebar-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
  .show-in-mobile {
    display: inherit !important;
  }
  .show-in-desktop {
    display: none !important;
  }
  main:not(.todo-app) .container {
    padding: 5rem 1.2rem;
  }
  nav.sidebar h1,
  nav.subsidebar h1 {
    margin-left: calc(1.5rem + 0.5rem);
    padding-left: 12px;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
  }
  body.focus-content nav.sidebar,
  body.focus-sidebar nav.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 18rem;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding-top: calc(0.6rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 8px 0 24px rgba(0,0,0,0.08), 1px 0 0 rgba(0,0,0,0.04);
    transition-property: transform, visibility;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-delay: 0s, 0.28s;
  }
  body.focus-content.has-subsidebar nav.subsidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 18rem !important;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding-top: calc(0.6rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
    box-shadow: 8px 0 24px rgba(0,0,0,0.08), 1px 0 0 rgba(0,0,0,0.04);
    transition-property: transform, visibility;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-delay: 0s, 0.28s;
  }
  body.focus-content.has-subsidebar .toggler:checked ~ nav.subsidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
  }
  body.focus-content:not(.has-subsidebar) .toggler:checked ~ nav.sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
  }
  body.focus-sidebar .toggler:checked ~ nav.sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
  }
  body.focus-sidebar .toggler:checked ~ nav.subsidebar {
    pointer-events: none;
  }
  body.focus-sidebar main {
    flex: none;
    width: 0;
    min-width: 0;
    overflow: hidden;
  }
  body.focus-sidebar nav.subsidebar {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toggler-btn,
  .toggler-icon,
  .sidebar-backdrop,
  nav.sidebar,
  nav.subsidebar {
    transition: none;
  }
  .toggler-btn:active {
    opacity: 1;
  }
}
.td-task.is-sortable-fallback,
.td-list.is-list-fallback {
  opacity: 0 !important;
  pointer-events: none !important;
}
body.rv-body {
  background: linear-gradient(180deg, #f8fafc 0%, #f6f8fa 12rem);
}
main.rv-app {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.75rem 2.5rem;
}
main.rv-app > .container.full {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: block;
}
.rv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.rv-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem !important;
}
.rv-header h1 {
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.rv-lead {
  color: #6b7280;
  max-width: 38rem;
  margin-bottom: 0 !important;
  font-size: 0.92rem;
  line-height: 1.55;
}
.rv-period {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 0.65rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.rv-period-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.rv-period-btn:hover {
  color: #404040;
  background: #f0f2f4;
}
.rv-period-btn.is-active {
  color: #404040;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}
.rv-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.rv-kpi {
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 0.85rem;
  padding: 1rem 1.05rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.rv-kpi-primary {
  border-color: rgba(228,10,19,0.18);
  background: linear-gradient(145deg, #fff 0%, #fff7f7 100%);
}
.rv-kpi-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rv-kpi-value {
  font-size: 1.35rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.rv-kpi-value.is-up {
  color: #15803d;
}
.rv-kpi-value.is-down {
  color: #b91c1c;
}
.rv-kpi-muted {
  color: #6b7280;
}
.rv-kpi-meta {
  font-size: 0.78rem;
  color: #6b7280;
}
.rv-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.rv-alert strong {
  display: block;
  margin-bottom: 0.15rem;
}
.rv-alert p {
  margin: 0 !important;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #a16207;
}
.rv-alert code {
  font-size: 0.8em;
}
.rv-panel {
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.rv-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rv-panel-head h2 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.rv-panel-head p {
  margin: 0 !important;
  font-size: 0.82rem;
  color: #6b7280;
}
.rv-top-chip {
  font-size: 0.78rem;
  color: #6b7280;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f6f8fa;
  border: 1px solid #d8dee4;
  white-space: nowrap;
}
.rv-top-chip strong {
  color: #404040;
}
.rv-trend {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}
.rv-trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  min-height: 11rem;
  min-width: min-content;
  padding: 0.25rem 0.15rem 0;
}
.rv-trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 2.4rem;
  flex: 1 0 auto;
}
.rv-trend-stack {
  width: 100%;
  max-width: 2.2rem;
  min-height: 0.35rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  overflow: hidden;
  background: #f6f8fa;
  transition: height 0.35s ease;
}
.rv-trend-slice {
  width: 100%;
  min-height: 2px;
}
.rv-trend-label {
  font-size: 0.68rem;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
}
.rv-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.rv-product {
  border: 1px solid #d8dee4;
  border-radius: 0.85rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rv-product:hover {
  border-color: #c8d1d9;
  box-shadow: 0 4px 14px rgba(15,23,42,0.05);
}
.rv-product.is-idle {
  opacity: 0.72;
}
.rv-product-head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.rv-product-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.rv-product-title {
  flex: 1;
  min-width: 0;
}
.rv-product-title h3 {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.35;
}
.rv-product-title h3 a {
  color: #404040;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.rv-product-title h3 a:hover {
  color: #0083eb;
}
.rv-product-metric {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.rv-product-delta {
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
}
.rv-product-delta.is-up {
  color: #15803d;
  background: #ecfdf3;
}
.rv-product-delta.is-down {
  color: #b91c1c;
  background: #fef2f2;
}
.rv-product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.rv-product-stats strong {
  display: block;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.rv-product-stats small {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
}
.rv-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 0.1rem;
}
.rv-product-share {
  height: 0.35rem;
  border-radius: 999px;
  background: #f6f8fa;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.rv-product-share span {
  display: block;
  height: 100%;
  border-radius: 999px;
  min-width: 0;
  transition: width 0.4s ease;
}
.rv-product-share-label {
  margin: 0 !important;
  font-size: 0.72rem;
  color: #6b7280;
}
.rv-empty {
  margin: 0 !important;
  padding: 2rem 0;
  text-align: center;
  color: #6b7280;
}
.rv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
  color: #6b7280;
  padding-top: 0.25rem;
}
.rv-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.rv-foot-note {
  opacity: 0.85;
}
.rv-setup {
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 36rem;
  margin: 2rem auto 0;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.rv-setup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #f6f8fa;
  color: #6b7280;
  margin-bottom: 0.85rem;
}
.rv-setup h2 {
  margin-bottom: 0.5rem;
}
.rv-setup p {
  color: #6b7280;
  font-size: 0.9rem;
}
.rv-setup-code {
  text-align: left;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.5;
}
.rv-setup-note {
  font-size: 0.82rem !important;
}
@media (max-width: 960px) {
  .rv-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rv-products {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  main.rv-app {
    padding: 1rem 1rem 2rem;
  }
  .rv-header {
    flex-direction: column;
  }
  .rv-period {
    width: 100%;
  }
  .rv-kpi-value {
    font-size: 1.15rem;
  }
  .rv-product-stats {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .rv-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
body.sg-body {
  background: linear-gradient(180deg, #f8fafc 0%, #f6f8fa 14rem);
}
main.sg-app {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.75rem 2.5rem;
}
main.sg-app > .container.full {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  display: block;
}
.sg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sg-header {
  margin-bottom: 1.25rem;
}
.sg-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem !important;
}
.sg-header h1 {
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 0.35rem;
}
.sg-lead {
  color: #6b7280;
  max-width: 40rem;
  margin-bottom: 0 !important;
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.sg-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
.sg-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  min-width: 0;
}
.sg-kpi:not(:first-child) {
  border-left: 1px solid rgba(15,23,42,0.06);
}
.sg-kpi-primary {
  background: linear-gradient(145deg, #fff 0%, #fff7f7 100%);
}
.sg-kpi-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sg-kpi-value {
  font-size: 1.4rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.sg-kpi-meta {
  font-size: 0.76rem;
  color: #6b7280;
}
.sg-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.sg-search {
  position: relative;
  flex: 1 1 14rem;
  min-width: 12rem;
}
.sg-search > svg {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}
.sg-search input {
  width: 100%;
  height: 2.35rem;
  padding: 0.4rem 0.75rem 0.4rem 2.1rem;
  border: 1px solid #d8dee4;
  border-radius: 0.65rem;
  background: #fff;
  color: #404040;
  font-size: 0.85rem;
}
.sg-search input:focus {
  border-color: #b9c3ce;
  box-shadow: 0 0 0 3px rgba(0,131,235,0.12);
}
.sg-select select {
  height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #d8dee4;
  border-radius: 0.65rem;
  background: #fff;
  color: #404040;
  font-size: 0.82rem;
  font-weight: 500;
}
.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.2rem;
  padding: 0 0.85rem;
  border: 1px solid #d8dee4;
  border-radius: 0.6rem;
  background: #fff;
  color: #404040;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}
.sg-btn:hover {
  background: #f0f2f4;
}
.sg-btn:active {
  transform: scale(0.96);
}
.sg-btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.sg-btn-primary {
  background: #e40a13;
  border-color: #e40a13;
  color: #fff;
}
.sg-btn-primary:hover {
  background: #d60912;
  color: #fff;
}
.sg-btn-ghost {
  background: transparent;
}
.sg-empty {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 34rem;
  margin: 1.5rem auto 0;
}
.sg-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #f6f8fa;
  color: #6b7280;
  margin-bottom: 0.85rem;
}
.sg-empty h2 {
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.sg-empty p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0 !important;
  text-wrap: pretty;
}
.sg-empty p code {
  font-size: 0.82em;
}
.sg-workspace {
  display: grid;
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.sg-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.sg-card {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 0.85rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
  animation: sg-enter 0.45s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--sg-stagger, 0) * 55ms);
}
.sg-card:hover {
  border-color: rgba(15,23,42,0.16);
}
.sg-card.is-active {
  border-color: rgba(228,10,19,0.35);
  box-shadow: 0 0 0 3px rgba(228,10,19,0.08);
}
.sg-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.sg-meter {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: #f6f8fa;
  overflow: hidden;
}
.sg-meter > span {
  display: block;
  height: 100%;
  width: var(--sg-strength, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, #fca5a5, #e40a13);
  transition: width 0.35s cubic-bezier(0.2, 0, 0, 1);
}
.sg-card-score {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: right;
  color: #e40a13;
}
.sg-card-title {
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
  color: #404040;
  text-wrap: balance;
}
.sg-card-summary {
  margin: 0 0 0.55rem !important;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sg-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.sg-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.28rem 0.45rem;
  border-radius: 0.4rem;
  background: #f6f8fa;
  color: #6b7280;
}
.sg-pill-new {
  background: #fff1f2;
  color: #be123c;
}
.sg-pill-reviewed {
  background: #eff6ff;
  color: #1d4ed8;
}
.sg-pill-building {
  background: #ecfdf3;
  color: #15803d;
}
.sg-pill-reached_out {
  background: #f5f3ff;
  color: #6d28d9;
}
.sg-pill-archived {
  background: #f3f4f6;
  color: #6b7280;
}
.sg-pill-priority-high {
  background: #fff7ed;
  color: #c2410c;
}
.sg-pill-priority-medium {
  background: #f8fafc;
  color: #475569;
}
.sg-pill-priority-low {
  background: #f8fafc;
  color: #94a3b8;
}
.sg-card-cat {
  font-size: 0.68rem;
  color: #6b7280;
  text-transform: lowercase;
}
.sg-card-tweets {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: #6b7280;
}
.sg-detail {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
  animation: sg-enter 0.4s cubic-bezier(0.2, 0, 0, 1) both;
  position: sticky;
  top: 1rem;
}
.sg-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.sg-detail-titles {
  min-width: 0;
  flex: 1;
}
.sg-detail-titles h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.sg-detail-summary {
  margin: 0 !important;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.sg-strength-block {
  flex-shrink: 0;
  width: 5.5rem;
  text-align: center;
}
.sg-strength-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.sg-strength-value {
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #e40a13;
  margin: 0.15rem 0 0.35rem;
}
.sg-strength-bar {
  display: block;
  height: 0.35rem;
  border-radius: 999px;
  background: #f6f8fa;
  overflow: hidden;
}
.sg-strength-bar > span {
  display: block;
  height: 100%;
  width: var(--sg-strength, 0%);
  background: linear-gradient(90deg, #fca5a5, #e40a13);
  border-radius: 999px;
}
.sg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}
.sg-inline-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sg-inline-form label > span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.sg-inline-form select {
  height: 2.2rem;
  min-width: 8.5rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid #d8dee4;
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 500;
}
.sg-inline-form.is-saving {
  opacity: 0.6;
}
.sg-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}
.sg-idea {
  margin-bottom: 1.1rem;
  padding: 1rem;
  border-radius: 0.85rem;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.05);
}
.sg-idea-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.sg-idea-head h3 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0;
}
.sg-idea-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #404040;
}
.sg-idea-line {
  margin: 0 0 0.75rem !important;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.sg-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.sg-dl dt {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 0.15rem;
}
.sg-dl dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #404040;
}
.sg-section {
  margin-bottom: 1.1rem;
}
.sg-section h3 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.sg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.sg-section-head h3 {
  margin-bottom: 0;
}
.sg-section-head span {
  font-size: 0.75rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.sg-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.sg-tags li {
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  color: #404040;
}
.sg-tags-warn li {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.sg-tweets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sg-tweet {
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15,23,42,0.07);
  background: #fbfcfd;
}
.sg-tweet-author {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.sg-tweet-author strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3;
}
.sg-tweet-author span {
  font-size: 0.75rem;
  color: #6b7280;
}
.sg-followers {
  display: inline-block;
  margin-left: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.sg-tweet-links {
  display: flex;
  gap: 0.25rem;
}
.sg-tweet-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  color: #6b7280;
}
.sg-tweet-links a:hover {
  background: #f0f2f4;
  color: #0083eb;
}
.sg-tweet-text {
  margin: 0 0 0.55rem !important;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  text-wrap: pretty;
}
.sg-tweet-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.sg-tweet-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
@media (max-width: 960px) {
  .sg-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sg-kpi:nth-child(2n + 1) {
    border-left: 0;
  }
  .sg-kpi:nth-child(n + 3) {
    border-top: 1px solid rgba(15,23,42,0.06);
  }
  .sg-workspace {
    grid-template-columns: 1fr;
  }
  .sg-detail {
    position: static;
  }
  .sg-dl {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  main.sg-app {
    padding: 1rem 1rem 2rem;
  }
  .sg-kpis {
    grid-template-columns: 1fr;
  }
  .sg-kpi {
    border-left: 0 !important;
  }
  .sg-kpi:not(:first-child) {
    border-top: 1px solid rgba(15,23,42,0.06);
  }
  .sg-quick {
    margin-left: 0;
    width: 100%;
  }
  .sg-detail-head {
    flex-direction: column;
  }
}
@-moz-keyframes st-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes st-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes st-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes st-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes fl-just-added {
  from {
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.35);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.18);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  }
}
@-webkit-keyframes fl-just-added {
  from {
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.35);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.18);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  }
}
@-o-keyframes fl-just-added {
  from {
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.35);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.18);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  }
}
@keyframes fl-just-added {
  from {
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.35);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(228,10,19,0.18);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  }
}
@-moz-keyframes fl-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fl-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes fl-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fl-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes sg-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes sg-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes sg-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sg-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
