@media screen and (min-width: 0px) {
  body {
    font-family: YakuHanJP, "Manrope", "Kosugi", "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    line-height: 1.3;
  }
  .button {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #c8ced8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 250ms;
  }
  .button:hover {
    background: #eef1f5;
    text-decoration: none;
  }
  .button--primary {
    border-color: #2563b0;
    background: #2563b0;
    color: #fff;
  }
  .button--primary:hover {
    background: #2563b0;
    filter: brightness(0.92);
  }
  .login-page {
    margin: 0;
    background: #f1f3f6;
    color: #333;
    font-family: sans-serif;
  }
  .login {
    max-width: 360px;
    margin: 12vh auto 0;
    padding: 0 20px;
  }
  .login__title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
  }
  .login__form {
    padding: 24px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20, 30, 60, 0.1);
  }
  .login__label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
  }
  .login__label input {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 9px 10px;
    border: 1px solid #c8ced8;
    border-radius: 6px;
    font-size: 14px;
  }
  .login__remember {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
  }
  .login__submit {
    width: 100%;
  }
  .login__error {
    margin: 0 0 14px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fbe4e4;
    color: #c33;
    font-size: 13px;
  }
  .login__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: #9aa3b2;
    font-size: 12px;
  }
  .login__divider::before, .login__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7dbe3;
  }
  .login__sso {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
  body {
    margin: 0;
    background: #16181d;
    color: #e8eaee;
  }
  a {
    color: #4a9eff;
  }
  [hidden] {
    display: none !important;
  }
  .mc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border-bottom: 1px solid #363b46;
    background: #22252c;
  }
  .mc-header__brand {
    color: #e8eaee;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .mc-header__nav {
    display: flex;
    gap: 14px;
  }
  .mc-header__nav a {
    color: #9aa1ad;
    font-size: 13px;
    text-decoration: none;
  }
  .mc-header__nav a:hover, .mc-header__nav a.is-current {
    color: #e8eaee;
  }
  .mc-header__nav a.is-current {
    font-weight: 700;
  }
  .mc-header__user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 12px;
  }
  .mc-header__username {
    color: #9aa1ad;
  }
  .mc-flash {
    max-width: 960px;
    margin: 16px auto 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
  }
  .mc-flash--ok {
    border: 1px solid rgba(63, 185, 80, 0.5);
    background: rgba(63, 185, 80, 0.12);
  }
  .mc-flash--error {
    border: 1px solid rgba(229, 83, 75, 0.5);
    background: rgba(229, 83, 75, 0.12);
  }
  .mc-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    box-sizing: border-box;
  }
  .mc-title {
    margin: 0 0 12px;
    font-size: 18px;
  }
  .mc-note {
    margin: 0 0 16px;
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-empty {
    margin: 8px 0;
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #363b46;
    border-radius: 6px;
    background: #2c303a;
    color: #e8eaee;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }
  .mc-btn:hover {
    border-color: #9aa1ad;
  }
  .mc-btn--primary {
    border-color: #4a9eff;
    background: #4a9eff;
    color: #fff;
  }
  .mc-btn--primary:hover {
    filter: brightness(1.1);
  }
  .mc-btn--danger {
    border-color: rgba(229, 83, 75, 0.6);
    background: transparent;
    color: #e5534b;
  }
  .mc-btn--ghost {
    background: transparent;
  }
  .mc-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .mc-field__label {
    color: #9aa1ad;
    font-size: 11px;
  }
  .mc-field input {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #363b46;
    border-radius: 6px;
    background: #16181d;
    color: #e8eaee;
    font: inherit;
    font-size: 15px;
    color-scheme: dark;
  }
  .mc-field input:focus {
    border-color: #4a9eff;
    outline: none;
  }
  .mc-tabs {
    display: inline-flex;
    border: 1px solid #363b46;
    border-radius: 8px;
    overflow: hidden;
  }
  .mc-tabs__tab {
    position: relative;
    cursor: pointer;
    text-decoration: none;
  }
  .mc-tabs__tab input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .mc-tabs__tab span {
    display: block;
    padding: 7px 18px;
    color: #9aa1ad;
    font-size: 13px;
  }
  .mc-tabs__tab + .mc-tabs__tab {
    border-left: 1px solid #363b46;
  }
  .mc-tabs__tab.is-current span,
  .mc-tabs__tab input:checked + span {
    background: #2c303a;
    color: #e8eaee;
    font-weight: 700;
  }
  .mc-tabs__tab--intake.is-current span, .mc-tabs__tab--intake input:checked + span {
    box-shadow: inset 0 -3px 0 #f0883e;
  }
  .mc-tabs__tab--burn.is-current span, .mc-tabs__tab--burn input:checked + span {
    box-shadow: inset 0 -3px 0 #3fb950;
  }
  .mc-tabs__tab input:focus-visible + span {
    outline: 2px solid #4a9eff;
    outline-offset: -2px;
  }
  .mc-daynav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .mc-daynav__jump {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mc-daynav__date {
    margin: 0;
    font-size: 18px;
  }
  .mc-daynav__range {
    font-size: 14px;
  }
  .mc-daynav input[type=date] {
    padding: 4px 6px;
    border: 1px solid #363b46;
    border-radius: 6px;
    background: #16181d;
    color: #e8eaee;
    font: inherit;
    font-size: 13px;
    color-scheme: dark;
  }
  .mc-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
  }
  .mc-summary__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 12px 16px;
    border: 1px solid #363b46;
    border-left-width: 4px;
    border-radius: 8px;
    background: #22252c;
  }
  .mc-summary__item--intake {
    border-left-color: #f0883e;
  }
  .mc-summary__item--burn {
    border-left-color: #3fb950;
  }
  .mc-summary__item--net {
    border-left-color: #4a9eff;
  }
  .mc-summary__label {
    width: 100%;
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-summary__value {
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .mc-summary__unit {
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-entry {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #363b46;
    border-top: 3px solid #f0883e;
    border-radius: 8px;
    background: #22252c;
  }
  .mc-entry.is-burn {
    border-top-color: #3fb950;
  }
  .mc-entry__fields {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 2fr);
    gap: 10px;
    margin: 14px 0 12px;
  }
  .mc-entry__submit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
  }
  .mc-entry__submit .mc-btn {
    padding: 8px 22px;
    font-size: 14px;
  }
  .mc-entry__subtotal {
    color: #9aa1ad;
    font-size: 13px;
  }
  .mc-entry__subtotal strong {
    color: #e8eaee;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
  }
  .mc-history {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #363b46;
  }
  .mc-history__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .mc-history__title {
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-history__filter {
    box-sizing: border-box;
    width: 200px;
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid #363b46;
    border-radius: 6px;
    background: #16181d;
    color: #e8eaee;
    font: inherit;
    font-size: 13px;
    color-scheme: dark;
  }
  .mc-history__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
  }
  .mc-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #363b46;
    border-radius: 999px;
    background: #2c303a;
    color: #e8eaee;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
  }
  .mc-chip:hover {
    border-color: #4a9eff;
  }
  .mc-chip__kcal {
    color: #9aa1ad;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .mc-chip__kcal::after {
    content: " kcal";
  }
  .mc-records {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .mc-records__group {
    padding: 12px 16px;
    border: 1px solid #363b46;
    border-radius: 8px;
    background: #22252c;
  }
  .mc-records__group--intake {
    border-top: 3px solid #f0883e;
  }
  .mc-records__group--burn {
    border-top: 3px solid #3fb950;
  }
  .mc-records__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 8px;
    font-size: 14px;
  }
  .mc-records__total {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .mc-records__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mc-record {
    border-top: 1px solid #363b46;
  }
  .mc-record:first-child {
    border-top: 0;
  }
  .mc-record__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0 2px;
    font-size: 13px;
  }
  .mc-record__time, .mc-record__calc {
    color: #9aa1ad;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .mc-record__name {
    overflow-wrap: anywhere;
  }
  .mc-record__total {
    min-width: 4em;
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .mc-record__edit {
    padding-bottom: 6px;
  }
  .mc-record__edit summary {
    display: inline-block;
    color: #9aa1ad;
    font-size: 11px;
    cursor: pointer;
    list-style: none;
  }
  .mc-record__edit summary::-webkit-details-marker {
    display: none;
  }
  .mc-record__edit summary:hover {
    color: #4a9eff;
  }
  .mc-record__edit[open] summary {
    color: #4a9eff;
  }
  .mc-record__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 6px;
    background: #16181d;
  }
  .mc-record__form .mc-field--name,
  .mc-record__form .mc-field--at {
    grid-column: 1/-1;
  }
  .mc-record__actions {
    display: flex;
    grid-column: 1/-1;
    justify-content: flex-end;
    gap: 8px;
  }
  .mc-items__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .mc-items__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #363b46;
    border-radius: 8px;
    background: #22252c;
  }
  .mc-item {
    padding: 10px 14px;
    border-top: 1px solid #363b46;
  }
  .mc-item:first-child {
    border-top: 0;
  }
  .mc-item__form {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 10px;
  }
  .mc-item__meta {
    padding-bottom: 9px;
    color: #9aa1ad;
    font-size: 11px;
    white-space: nowrap;
  }
  .mc-item__actions {
    display: flex;
    gap: 6px;
    padding-bottom: 2px;
  }
  .mc-chartbox {
    margin: 0 0 20px;
    padding: 12px;
    border: 1px solid #363b46;
    border-radius: 8px;
    background: #22252c;
  }
  .mc-chart {
    display: block;
    width: 100%;
    height: auto;
  }
  .mc-chart__grid {
    stroke: #363b46;
    stroke-width: 1;
  }
  .mc-chart__grid--zero {
    stroke: #9aa1ad;
  }
  .mc-chart__tick, .mc-chart__label {
    fill: #9aa1ad;
    font-size: 11px;
  }
  .mc-chart__bar--intake {
    fill: #f0883e;
  }
  .mc-chart__bar--burn {
    fill: #3fb950;
  }
  .mc-chart__net {
    fill: none;
    stroke: #4a9eff;
    stroke-width: 2;
  }
  .mc-chart__dot {
    fill: #4a9eff;
  }
  .mc-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    color: #9aa1ad;
    font-size: 12px;
  }
  .mc-legend__item::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-radius: 2px;
    vertical-align: -1px;
  }
  .mc-legend__item--intake::before {
    background: #f0883e;
  }
  .mc-legend__item--burn::before {
    background: #3fb950;
  }
  .mc-legend__item--net::before {
    height: 2px;
    vertical-align: 3px;
    background: #4a9eff;
  }
  .mc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .mc-table th,
  .mc-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #363b46;
    text-align: right;
  }
  .mc-table th:first-child,
  .mc-table td:first-child {
    text-align: left;
  }
  .mc-table th {
    color: #9aa1ad;
    font-weight: 400;
  }
  .mc-table .is-plus {
    color: #f0883e;
  }
  .mc-table .is-minus {
    color: #3fb950;
  }
}
@media screen and (max-width: 767px) {
  .mc-header {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 8px 14px;
  }
  .mc-header__nav a {
    font-size: 14px;
  }
  .mc-main {
    padding: 14px 12px 48px;
  }
  .mc-flash {
    margin: 12px 12px 0;
  }
  .mc-summary {
    gap: 6px;
  }
  .mc-summary__item {
    padding: 8px 10px;
  }
  .mc-summary__value {
    font-size: 18px;
  }
  .mc-entry {
    padding: 12px;
  }
  .mc-entry__fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mc-entry__fields .mc-field--name,
  .mc-entry__fields .mc-field--at {
    grid-column: 1/-1;
  }
  .mc-entry__submit .mc-btn {
    flex: 1;
  }
  .mc-history__head {
    flex-wrap: wrap;
  }
  .mc-history__filter {
    width: 100%;
    margin-left: 0;
  }
  .mc-records {
    grid-template-columns: minmax(0, 1fr);
  }
  .mc-chart__tick,
  .mc-chart__label {
    font-size: 22px;
  }
  .mc-daynav__date {
    font-size: 16px;
  }
  .mc-items__head {
    flex-wrap: wrap;
  }
  .mc-item__form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mc-item__form .mc-field--name {
    grid-column: 1/-1;
  }
  .mc-item__meta {
    grid-column: 1/-1;
    order: 3;
    padding-bottom: 0;
  }
  .mc-item__actions {
    justify-content: flex-end;
  }
}

/*# sourceMappingURL=style.css.map */
