@charset "utf-8";

/* Basic Reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Layout Wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    padding: 20px;
}

/* Main Content Area */
.main-content {
    width: 100%;
    max-width: 480px;
    /* Mobile-focused width based on image */
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
}

/* Header/Title */
.app-title {
    font-size: 18px;
    color: #8faec9;
    /* Light blueish color from image */
    margin-bottom: 30px;
    font-weight: normal;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #8faec9;
    border-radius: 30px;
    /* Rounded corners like image */
    font-size: 16px;
    outline: none;
    color: #333;
}

.form-control::placeholder {
    color: #ccc;
    text-align: center;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    text-align: center;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #3b7cb3;
    /* Darker blue */
    color: #fff;
}

.btn-outline {
    background-color: #fff;
    border: 1px solid #8faec9;
    color: #8faec9;
}

/* Footer Logo */
.footer-logo {
    margin-top: auto;
    padding-top: 40px;
    padding-bottom: 20px;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Agreement Page */
.agreement-box {
    border: 1px solid #8faec9;
    margin-bottom: 30px;
    text-align: left;
    font-size: 14px;
    color: #8faec9;
    background-color: #fff;
    /* In case we need it, though body is white */
}

.agreement-header {
    background-color: #3b7cb3;
    /* Matches primary button */
    color: #fff;
    padding: 15px;
    /* Increased padding slightly for better look */
    text-align: center;
    font-weight: bold;
}

.agreement-content {
    padding: 20px;
}

.agreement-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

/* PC View - Smartphone Frame Simulation */
@media screen and (min-width: 769px) {
    body {
        background-color: #f0f2f5;
        /* Light grey background outside the phone */
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        /* Prevent body scroll, scroll should be inside the phone */
    }

    .wrapper {
        width: 375px;
        /* Typical mobile width */
        height: 812px;
        /* Typical mobile height (iPhone X-ish) */
        max-height: 90vh;
        /* Don't overflow small PC screens */
        background-color: #fff;
        border-radius: 40px;
        /* Rounded corners for the "phone" */
        border: 12px solid #333;
        /* Bezels */
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
        /* Mask content to rounded corners */
        display: block;
        /* Override flex */
        padding: 0;
        /* Reset wrapper padding */
        min-height: 0;
        /* Override min-height: 100vh */
        margin: 0 auto;
        /* Center specifically */
    }

    /* Inner notch simulation - optional, but nice */
    .wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 25px;
        background-color: #333;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        z-index: 10;
        pointer-events: none;
    }

    /* Internal scroll container */
    .main-content {
        height: 100%;
        overflow-y: scroll;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
        padding: 60px 20px 40px;
        /* Top padding clears notch, bottom padding for "safe area" */
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Hide scrollbar for Chrome/Safari */
    .main-content::-webkit-scrollbar {
        display: none;
    }

    .footer-logo {
        margin-top: auto;
    }
}

/* Calendar Styles */
.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
    margin: 0 auto;
}

.calendar-row {
    display: flex;
    width: 100%;
}

.calendar-row>div {
    width: 14.28%;
    /* 7 days */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #8faec9;
}

.calendar-date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-decoration: none;
    color: #8faec9;
}

.calendar-date.active {
    background-color: #3b7cb3;
    color: #fff;
}

.calendar-date:hover {
    background-color: #e0e0e0;
    color: #3b7cb3;
}

/* Daily Report Styles */
.daily-report-page .main-content {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.daily-report-page .wrapper {
    background: #fff;
}

.daily-report-header {
    width: 100%;
    height: calc(175px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    grid-template-rows: 41px 54px;
    align-items: start;
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
    position: relative;
    z-index: 4;
    text-align: center;
}

.daily-report-header::after {
    content: "";
    position: absolute;
    top: calc(121px + env(safe-area-inset-top));
    right: 0;
    left: 0;
    height: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
    z-index: 2;
    pointer-events: none;
}

.daily-report-header h1 {
    grid-column: 2;
    margin: 3px 0 0;
    color: #5d6266;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.daily-report-close {
    grid-column: 1;
    width: 22px;
    height: 22px;
    display: block;
    position: relative;
    margin-left: -22px;
    background: url("/common/img/close_gray.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.daily-report-header-spacer {
    grid-column: 3;
}

.daily-report-header .date-calendar {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 84px);
    height: 54px;
    margin: 0 -42px;
    position: relative;
    background: #f0f0f0;
}

.daily-report-header .diary-calendar-button.has-label {
    position: relative;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 48px 0 42px;
    border: 0;
    background: transparent;
    color: #5d6266;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 56px;
}

.daily-report-date-trigger {
    display: inline-block;
    color: inherit;
    white-space: nowrap;
}

.daily-report-date-icon {
    width: 29px;
    height: 29px;
    display: block;
    flex: 0 0 29px;
    background: url("/common/img/calendar_gray.svg") no-repeat center / contain;
}

.daily-report-header .date-calendar-popover {
    top: 70px;
    right: 42px;
    left: auto;
}

.app-page.settings-page .wrapper,
.app-page.settings-page .main-content {
    background: var(--selfcare-white);
}

.app-page.settings-page .wrapper {
    position: relative;
}

.app-page.settings-page .main-content {
    padding: 0;
    overflow: hidden;
}

.settings-header {
    width: 100%;
    height: calc(122px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: start;
    background: var(--selfcare-white);
    position: relative;
    z-index: 4;
    text-align: center;
}

.settings-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.settings-header h1 {
    grid-column: 2;
    margin: 3px 0 0;
    color: #666;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.settings-close {
    grid-column: 1;
    width: 22px;
    height: 22px;
    display: block;
    margin-left: -22px;
    background: url("/common/img/close_gray.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.settings-back {
    grid-column: 1;
    width: 28px;
    height: 28px;
    display: block;
    margin-left: -25px;
    background: url("/common/img/back_gray.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.settings-header-spacer {
    grid-column: 3;
}

.settings-main {
    flex: 1;
    min-height: 0;
    padding: 0 0 80px;
    background: var(--selfcare-white);
    overflow-y: auto;
}

.settings-list {
    display: grid;
}

.settings-item-form {
    margin: 0;
}

.settings-item {
    width: 100%;
    min-height: 68px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 40px 1fr 13px;
    align-items: center;
    gap: 21px;
    border: 0;
    border-bottom: 1px solid #e7e7e7;
    background: transparent;
    color: #666;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.settings-list > :first-child .settings-item,
.settings-list > .settings-item:first-child {
    border-top: 1px solid #e7e7e7;
}

.settings-item:active {
    opacity: 0.72;
}

.settings-item[aria-disabled="true"] {
    cursor: default;
}

.settings-item-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-item-icon img {
    width: 27px;
    height: 27px;
    display: block;
    object-fit: contain;
}

.settings-item-label {
    color: inherit;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
}

.settings-item-arrow {
    width: 13px;
    height: 13px;
    display: block;
    border-top: 2px solid #a6a6a6;
    border-right: 2px solid #a6a6a6;
    transform: rotate(45deg);
}

.settings-item.is-danger {
    color: #ff6f73;
}

.settings-logout-modal[hidden] {
    display: none;
}

.settings-logout-modal {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.settings-logout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.settings-logout-dialog {
    position: relative;
    width: min(100%, 286px);
    overflow: hidden;
    border-radius: 12px;
    background: var(--selfcare-white);
    color: #666;
    font-size: 80%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    text-align: center;
    outline: none;
}

.settings-logout-body {
    min-height: 132px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.settings-logout-body h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.settings-logout-body p {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
}

.settings-logout-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #e7e7e7;
}

.settings-logout-submit-form {
    margin: 0;
}

.settings-logout-action {
    width: 100%;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--selfcare-blue);
    font: inherit;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.settings-logout-action:active {
    background: rgba(91, 188, 240, 0.08);
}

.settings-logout-actions > * + * {
    border-left: 1px solid #e7e7e7;
}

.notification-settings-page .main-content {
    overflow-y: auto;
}

.notification-settings-main {
    min-height: calc(100dvh - 122px - env(safe-area-inset-top));
    padding: 32px 33px 44px;
    background: var(--selfcare-white);
    color: #666;
    text-align: left;
}

.notification-settings-form {
    display: flex;
    min-height: calc(100dvh - 198px - env(safe-area-inset-top));
    flex-direction: column;
}

.notification-settings-flash,
.notification-settings-status,
.notification-settings-error {
    margin: 0;
    color: #6d7175;
    font-size: 10.4px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.notification-settings-flash {
    margin-bottom: 18px;
    color: var(--selfcare-blue-dark);
    text-align: center;
}

.notification-settings-switch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    align-items: center;
    gap: 18px;
}

.notification-settings-switch-row > label:first-child {
    color: #666;
    font-size: 17.6px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0;
}

.notification-settings-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.notification-settings-switch {
    width: 70px;
    height: 36px;
    padding: 4px;
    display: block;
    border-radius: 999px;
    background: #d7d7d7;
    cursor: pointer;
    transition: background-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.notification-settings-switch span {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 50%;
    background: var(--selfcare-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
    transform: translateX(0);
    transition: transform 0.18s ease;
}

.notification-settings-switch-input:checked + .notification-settings-switch {
    background: var(--selfcare-blue);
}

.notification-settings-switch-input:checked + .notification-settings-switch span {
    transform: translateX(34px);
}

.notification-settings-copy {
    margin: 32px 0 28px;
    color: #666;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.72;
    letter-spacing: 0;
}

.notification-time-card {
    padding: 20px 18px 24px;
    border-radius: 9px;
    background: #ebf8ff;
}

.notification-time-card label {
    display: block;
    margin-bottom: 16px;
    color: #666;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0;
}

.notification-time-card input[type="time"] {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-white);
    color: #666;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    appearance: none;
}

.notification-settings-status {
    min-height: 20px;
    margin-top: 16px;
    text-align: center;
}

.notification-settings-submit {
    width: 100%;
    min-height: 58px;
    margin: auto 0 0;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(47, 135, 188, 0.16);
    -webkit-tap-highlight-color: transparent;
}

.notification-settings-submit:active {
    transform: scale(0.98);
}

.account-settings-page .main-content {
    overflow-y: auto;
}

.account-settings-page .settings-header h1 {
    font-size: 14.4px;
}

.account-settings-main {
    flex: 1;
    min-height: 0;
    padding: 24px 34px 44px;
    display: flex;
    flex-direction: column;
    background: var(--selfcare-white);
    color: #666;
    text-align: left;
    overflow-y: auto;
}

.account-settings-form,
.account-edit-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.account-info-list {
    display: grid;
}

.account-info-row {
    padding: 24px 0 28px;
    border-bottom: 1px solid #e7e7e7;
}

.account-info-label,
.account-edit-field label {
    display: block;
    margin: 0 0 13px;
    color: #8b8b8b;
    font-size: 14.4px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
}

.account-info-value-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.account-info-value,
.account-info-name-input {
    min-width: 0;
    color: #666;
    font: inherit;
    font-size: 19.2px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.account-info-name-input {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    outline: none;
}

.account-info-name-input:not([readonly]) {
    border-bottom: 2px solid var(--selfcare-blue);
}

.account-info-password {
    font-size: 22.4px;
    letter-spacing: 2px;
}

.account-info-change {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #8b8b8b;
    font: inherit;
    font-size: 17.6px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.account-edit-form {
    padding-top: 16px;
}

.account-edit-field {
    margin: 0 0 28px;
}

.account-edit-input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 2px solid #c8ecff;
    border-radius: 8px;
    background: #eef9ff;
    color: #666;
    font: inherit;
    font-size: 17.6px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    outline: none;
}

.account-edit-input:focus {
    border-color: var(--selfcare-blue);
    background: #f7fcff;
}

.account-password-control {
    position: relative;
}

.account-password-control .account-edit-input {
    padding-right: 54px;
}

.account-password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: url("/common/img/password-hidden.svg") no-repeat center / 15px 12px;
    color: var(--selfcare-blue);
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-tap-highlight-color: transparent;
}

.account-password-toggle.is-visible {
    background-image: url("/common/img/password-visible.svg");
}

.account-settings-submit {
    width: 100%;
    min-height: 58px;
    margin: auto 0 0;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font: inherit;
    font-size: 15.36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(47, 135, 188, 0.16);
    -webkit-tap-highlight-color: transparent;
}

.account-settings-submit:active {
    transform: scale(0.98);
}

.account-forgot-link {
    display: block;
    margin: 34px 0 0;
    color: var(--selfcare-blue);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.account-settings-flash,
.account-settings-error {
    margin: 0;
    color: var(--selfcare-blue-dark);
    font-size: 10.4px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
}

.account-settings-flash {
    margin-bottom: 16px;
}

.account-settings-error {
    margin-top: 8px;
    color: #ff6f73;
    text-align: left;
}

.account-delete-main {
    padding-top: 28px;
}

.account-delete-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.account-delete-copy {
    margin: 0 0 38px;
    color: #666;
    font-size: 15.36px;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: 0;
}

.account-delete-password {
    margin-bottom: 0;
}

.account-delete-password label {
    margin-bottom: 8px;
    font-size: 15.36px;
}

.account-delete-password .account-edit-input {
    min-height: 48px;
    font-size: 15.36px;
}

.account-delete-submit {
    width: 100%;
    min-height: 58px;
    margin: 42px auto 0;
    border: 3px solid #ff6f73;
    border-radius: 999px;
    background: var(--selfcare-white);
    color: #ff6f73;
    font: inherit;
    font-size: 15.36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.account-delete-submit:active {
    transform: scale(0.98);
}

.account-delete-forgot-link {
    margin-top: 30px;
    font-size: 15.36px;
}

.password-reset-request-main {
    padding-top: 28px;
}

.password-reset-request-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.password-reset-request-copy {
    margin: 0 0 38px;
    color: #666;
    font-size: 15.36px;
    font-weight: 300;
    line-height: 1.72;
    letter-spacing: 0;
}

.password-reset-request-flash {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.password-reset-request-field {
    margin-bottom: 0;
}

.password-reset-page .password-reset-request-field {
    margin-bottom: 24px;
}

.password-reset-page .password-reset-request-field:last-of-type {
    margin-bottom: 0;
}

.password-reset-request-field label {
    margin-bottom: 8px;
    font-size: 15.36px;
}

.password-reset-request-field .account-edit-input {
    min-height: 48px;
    font-size: 15.36px;
}

.password-reset-email-text {
    min-height: 48px;
    margin: 0;
    padding: 13px 16px;
    border: 2px solid #c8ecff;
    border-radius: 8px;
    background: #eef9ff;
    color: #666;
    font-size: 15.36px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.password-reset-request-submit {
    width: 100%;
    min-height: 58px;
    margin: 42px auto 0;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font: inherit;
    font-size: 15.36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(47, 135, 188, 0.16);
    -webkit-tap-highlight-color: transparent;
}

.password-reset-request-submit:active {
    transform: scale(0.98);
}

.activity-item-settings-main {
    padding-top: 28px;
}

.activity-item-settings-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.activity-item-settings-copy {
    margin: 0 0 38px;
    color: #666;
    font-size: 15.36px;
    font-weight: 300;
    line-height: 1.72;
    letter-spacing: 0;
}

.activity-item-settings-flash {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.activity-item-setting-field {
    margin-bottom: 32px;
}

.activity-item-setting-field label {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #8b8b8b;
    font-size: 15.36px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
}

.activity-item-setting-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.activity-item-setting-dot.is-custom-1,
.activity-kind-dot-custom_1 {
    background: #a8ef63;
}

.activity-item-setting-dot.is-custom-2,
.activity-kind-dot-custom_2 {
    background: #c97d55;
}

.activity-item-setting-field .account-edit-input {
    min-height: 48px;
    font-size: 15.36px;
}

.activity-item-settings-submit {
    width: 100%;
    min-height: 58px;
    margin: 42px auto 0;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font: inherit;
    font-size: 15.36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(47, 135, 188, 0.16);
    -webkit-tap-highlight-color: transparent;
}

.activity-item-settings-submit:active {
    transform: scale(0.98);
}

.app-page.manual-page .wrapper,
.app-page.manual-page .main-content {
    background: var(--selfcare-white);
}

.app-page.manual-page .main-content {
    padding: 0;
    overflow: hidden;
}

.manual-header {
    width: 100%;
    height: calc(122px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: start;
    background: var(--selfcare-white);
    position: relative;
    z-index: 4;
    text-align: center;
}

.manual-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.manual-header h1 {
    grid-column: 2;
    margin: 2px -24px 0;
    color: #666;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
}

.manual-back {
    grid-column: 1;
    width: 23px;
    height: 23px;
    display: block;
    margin-left: -23px;
    background: url("/common/img/back_gray.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.manual-close {
    grid-column: 1;
    width: 22px;
    height: 22px;
    display: block;
    margin-left: -22px;
    background: url("/common/img/close_gray.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.manual-header-spacer {
    grid-column: 3;
}

.manual-main {
    flex: 1;
    min-height: 0;
    padding: 15px 0 80px;
    background: var(--selfcare-white);
    overflow-y: auto;
}

.manual-list {
    display: grid;
}

.manual-list-item {
    width: 100%;
    min-height: 72px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 13px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e7e7e7;
    color: #666;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.manual-list-item:active {
    opacity: 0.72;
}

.manual-list-arrow {
    width: 13px;
    height: 13px;
    display: block;
    border-top: 2px solid #a6a6a6;
    border-right: 2px solid #a6a6a6;
    transform: rotate(45deg);
}

.manual-detail-main {
    padding: 36px 30px 96px;
}

.manual-figure {
    margin: 0 0 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid #e7e7e7;
}

.manual-figure img {
    width: 100%;
    display: block;
}

.manual-sections {
    display: grid;
}

.manual-section {
    padding: 0 0 32px;
    margin-bottom: 34px;
    border-bottom: 1px solid #e7e7e7;
    color: #666;
}

.manual-section h2 {
    margin: 0 0 18px;
    color: inherit;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.manual-section p {
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0;
}

.manual-section .manual-section-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.75;
}

.manual-dot {
    width: 0.72em;
    height: 0.72em;
    display: inline-block;
    border-radius: 50%;
    vertical-align: -0.04em;
}

.manual-dot-medicine {
    background: #62c3f9;
}

.manual-dot-awake {
    background: #3188b9;
}

.manual-dot-memo {
    background: #666;
}

.agreement-document-main {
    padding: 36px 30px 96px;
}

.agreement-document-sections {
    display: grid;
}

.agreement-term-section {
    padding: 0 0 32px;
    margin-bottom: 34px;
    border-bottom: 1px solid #e7e7e7;
    color: #666;
}

.agreement-term-section h2,
.agreement-term-section h3 {
    margin: 0 0 18px;
    color: inherit;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.agreement-term-section h3 {
    margin-top: 24px;
    font-size: 17px;
}

.agreement-term-section p,
.agreement-term-section li {
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0;
}

.agreement-term-section p + p {
    margin-top: 12px;
}

.agreement-term-section a {
    color: var(--selfcare-blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agreement-term-section ol {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: agreement-terms;
}

.agreement-term-section ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.agreement-term-section li {
    display: grid;
    grid-template-columns: 1.6em 1fr;
    gap: 0.2em;
}

.agreement-term-section li + li {
    margin-top: 14px;
}

.agreement-term-section li::before {
    counter-increment: agreement-terms;
    content: counter(agreement-terms) "．";
}

.agreement-term-section ul li::before {
    counter-increment: none;
    content: "・";
}

.daily-report-container {
    width: 100%;
    flex: 1;
    min-height: 0;
    padding: 15px 0 0;
    background: #fff;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    text-decoration: none;
    color: #5d6266;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0;
}

.report-item .arrow {
    width: 13px;
    height: 13px;
    overflow: hidden;
    color: transparent;
    border-top: 2px solid #a6a6a6;
    border-right: 2px solid #a6a6a6;
    transform: rotate(45deg);
}

.report-list {
    text-align: left;
    padding: 0 30px;
}

.report-item + .report-item {
    border-top: 0;
}

/* Activity Timeline Styles */
.timeline-container::-webkit-scrollbar {
    width: 6px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.time-slot {
    /* Each hour slot */
}

.activity-block {
    /* Blue outlined block */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modal Overlay Animation */
.modal-overlay {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Picker Wheel Styles */
/* Graph Range Buttons */
.range-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.range-buttons .btn-range {
    flex: 1;
    display: flex;
    /* Ensure flex behavior */
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
    padding: 10px;
    text-decoration: none;
    color: #3b7cb3;
    font-size: 14px;
    border-right: 1px solid #3b7cb3;
    background-color: #fff;
    /* Ensure bg is white */
}

.range-buttons .btn-range:last-child {
    border-right: none;
}

.range-buttons .btn-range.active {
    background-color: #3b7cb3;
    color: #fff;
}

/* Login screen */
:root {
    --selfcare-blue: #5bbcf0;
    --selfcare-blue-dark: #35a8eb;
    --selfcare-text: #4d5961;
    --selfcare-muted: #6c757d;
    --selfcare-screen: #def3ff;
    --selfcare-screen-band: #eef9ff;
    --selfcare-white: #fff;
    --selfcare-field: rgba(255, 255, 255, 0.22);
    --selfcare-line: rgba(255, 255, 255, 0.9);
    --selfcare-shadow: 0 10px 28px rgba(47, 135, 188, 0.18);
}

body.login-page {
    min-height: 100dvh;
    background: #f4f7f9;
    color: var(--selfcare-text);
}

.login-page .wrapper {
    width: 100%;
    min-height: 100dvh;
    padding: 0;
    background: var(--selfcare-screen);
    align-items: stretch;
}

.login-page .main-content {
    --login-side-space: clamp(28px, calc(50vw - 149.5px), 70px);
    width: 100%;
    max-width: 439px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: calc(120px + env(safe-area-inset-top)) var(--login-side-space) 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: 300;
    background: var(--selfcare-screen);
}

.login-title {
    margin: 0 0 56px;
    color: var(--selfcare-blue);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.login-form {
    width: 100%;
}

.login-field {
    margin-bottom: 28px;
}

.login-label-row {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.login-field label {
    display: block;
    color: var(--selfcare-text);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
}

.login-help-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    flex: 0 0 21px;
    align-items: center;
    justify-content: center;
    margin-right: auto;
}

.login-help-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.login-forgot-link {
    color: var(--selfcare-blue);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.login-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 7px 12px;
    border: 1px solid #bfefff;
    border-radius: 4px;
    background: var(--selfcare-white);
    color: var(--selfcare-text);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    appearance: none;
}

.login-input:focus {
    border-color: var(--selfcare-blue);
    background: var(--selfcare-white);
    box-shadow: 0 0 0 3px rgba(91, 188, 240, 0.22);
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -8px 0 38px;
    color: #69747b;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
}

.login-remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid var(--selfcare-line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.68);
    appearance: auto;
}

.login-submit {
    display: block;
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    box-shadow: var(--selfcare-shadow);
    cursor: pointer;
    appearance: none;
}

.login-submit:active {
    transform: translateY(1px);
    background: var(--selfcare-blue-dark);
}

.login-register {
    margin: 43px 0 0;
    text-align: center;
}

.login-register p {
    margin: 0 0 12px;
    color: var(--selfcare-text);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
}

.login-register a {
    color: var(--selfcare-blue);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.login-logo {
    width: calc(100% + (var(--login-side-space) * 2));
    margin: auto calc(var(--login-side-space) * -1) 0;
    padding: 21px 20px calc(23px + env(safe-area-inset-bottom));
    background: var(--selfcare-white);
    box-shadow: 0 -8px 18px rgba(43, 88, 116, 0.12);
    text-align: center;
}

.login-logo img {
    width: 250px;
    height: auto;
}

.login-error {
    margin: 7px 0 0;
    padding: 0;
    color: #d64646;
    font-size: 12px;
    line-height: 1.4;
    list-style: none;
}

.login-alert {
    margin: -50px 0 22px;
    padding: 11px 14px;
    border: 1px solid rgba(214, 70, 70, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.76);
    color: #d64646;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
}

/* Registration and email two-factor screens */
body.auth-flow-page {
    min-height: 100dvh;
    background: #f4f7f9;
    color: var(--selfcare-text);
}

.auth-flow-page .wrapper {
    width: 100%;
    min-height: 100dvh;
    padding: 0;
    background: var(--selfcare-white);
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.auth-flow-page .main-content {
    width: 100%;
    max-width: 439px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 53px;
    display: flex;
    flex-direction: column;
    background: var(--selfcare-white);
    color: var(--selfcare-text);
    text-align: left;
}

.register-page .main-content {
    font-weight: 300;
}

.register-page .auth-flow-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: start;
}

.register-page .auth-flow-header h1 {
    grid-column: 2;
}

.register-login-back {
    grid-column: 1;
    width: 22px;
    height: 22px;
    display: block;
    margin: 2px 0 0;
    background: url("/common/img/back_white.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.auth-flow-header {
    width: calc(100% + 106px);
    min-height: 121px;
    margin: 0 -53px;
    padding: calc(72px + env(safe-area-inset-top)) 22px 24px;
    background: var(--selfcare-blue);
    text-align: center;
}

.auth-flow-header h1 {
    margin: 0;
    color: var(--selfcare-white);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.auth-flow-main {
    flex: 1;
    padding: 44px 0 58px;
}

.auth-flow-field {
    margin-bottom: 30px;
}

.auth-flow-field label {
    display: block;
    margin: 0 0 13px;
    color: #636363;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
}

.auth-flow-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 7px 12px;
    border: 1px solid #bfefff;
    border-radius: 4px;
    background: #eef9ff;
    color: var(--selfcare-text);
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    appearance: none;
}

.auth-flow-input:focus {
    border-color: var(--selfcare-blue);
    box-shadow: 0 0 0 3px rgba(91, 188, 240, 0.2);
}

.auth-password-control {
    display: block;
    position: relative;
}

.auth-password-control .auth-flow-input {
    padding-right: 48px;
}

.auth-password-eye {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: url("/common/img/password-hidden.svg") no-repeat center / 15px 12px;
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-tap-highlight-color: transparent;
}

.auth-password-eye.is-visible {
    background-image: url("/common/img/password-visible.svg");
}

.auth-flow-help {
    margin: 16px 0 0;
    color: #636363;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
}

.register-terms {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 31px 0 17px;
    color: #636363;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
}

.register-terms input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    appearance: auto;
}

.register-terms a,
.two-factor-resend {
    color: var(--selfcare-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.register-terms-note {
    margin: 0 0 40px;
    color: #ff1f1f;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0;
    text-align: left;
}

.auth-flow-submit {
    display: block;
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    box-shadow: var(--selfcare-shadow);
    appearance: none;
}

.auth-flow-error {
    margin: 8px 0 0;
    color: #d64646;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.auth-flow-logo {
    width: calc(100% + 106px);
    margin: auto -53px 0;
    padding: 21px 20px calc(23px + env(safe-area-inset-bottom));
    background: var(--selfcare-white);
    box-shadow: 0 -8px 18px rgba(43, 88, 116, 0.12);
    text-align: center;
}

.auth-flow-logo img {
    width: 250px;
    height: auto;
}

.auth-flow-heading-hidden {
    display: none;
}

.two-factor-main {
    flex: 1;
    padding: calc(84px + env(safe-area-inset-top)) 0 70px;
    font-weight: 300;
}

.two-factor-main h1 {
    margin: 0 0 91px;
    color: #636363;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.two-factor-message {
    margin: 0 0 76px;
    color: #636363;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0;
    text-align: left;
}

.two-factor-status {
    margin: -48px 0 28px;
    color: var(--selfcare-blue);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
}

.two-factor-page .auth-flow-field label,
.two-factor-page .auth-flow-error {
    font-weight: 300;
}

.two-factor-code-input {
    background: var(--selfcare-white);
    border-color: #e5e5e5;
}

.two-factor-form {
    margin-bottom: 54px;
}

.two-factor-resend-form {
    text-align: center;
}

.two-factor-resend {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.agreement-page .main-content {
    padding-top: calc(172px + env(safe-area-inset-top));
}

.agreement-page .app-title {
    display: none;
}

.agreement-card {
    width: 100%;
    min-height: 310px;
    padding: 22px 25px 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, #6fc7f6 0%, #2fa6df 100%);
    color: var(--selfcare-white);
    box-shadow: 0 10px 24px rgba(47, 135, 188, 0.2);
    text-align: left;
}

.agreement-card h1 {
    margin: 0 0 18px;
    color: var(--selfcare-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
}

.agreement-card p {
    margin: 0;
    color: var(--selfcare-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.86;
    letter-spacing: 0;
    text-align: left;
}

.agreement-document-button,
.agreement-primary-button,
.agreement-secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 24px;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
    appearance: none;
}

.agreement-document-button {
    width: 150px;
    height: 40px;
    margin: 19px auto 0;
    background: var(--selfcare-white);
    color: var(--selfcare-blue);
    font-size: 16px;
}

.agreement-action-form {
    width: 100%;
    margin: 0;
}

.agreement-action-form:first-of-type {
    margin-top: 70px;
}

.agreement-action-form + .agreement-action-form {
    margin-top: 21px;
}

.agreement-primary-button,
.agreement-secondary-button {
    height: 48px;
    font-size: 20px;
}

.agreement-primary-button {
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    box-shadow: var(--selfcare-shadow);
}

.agreement-secondary-button {
    background: var(--selfcare-white);
    color: var(--selfcare-blue);
    box-shadow: 0 8px 20px rgba(47, 135, 188, 0.08);
}

.agreement-document-button:active,
.agreement-primary-button:active,
.agreement-secondary-button:active {
    transform: translateY(1px);
}

.agreement-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.agreement-modal.is-open {
    display: block;
}

.agreement-modal-open {
    overflow: hidden;
}

.agreement-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 64, 86, 0.42);
}

.agreement-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(360px, calc(100vw - 36px));
    max-height: min(680px, calc(100dvh - 80px));
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--selfcare-text);
    box-shadow: 0 18px 44px rgba(20, 75, 107, 0.3);
    overflow: hidden;
}

.agreement-modal-header {
    min-height: 58px;
    padding: 17px 52px 14px 20px;
    border-bottom: 1px solid rgba(91, 188, 240, 0.22);
    position: relative;
}

.agreement-modal-header h2 {
    margin: 0;
    color: var(--selfcare-blue-dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
}

.agreement-modal-close {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #91a6b2;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.agreement-modal-body {
    max-height: calc(min(680px, 100dvh - 80px) - 58px);
    padding: 20px 22px 26px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.agreement-modal-body h3 {
    margin: 22px 0 8px;
    color: var(--selfcare-blue-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.agreement-modal-body h3:first-of-type {
    margin-top: 16px;
}

.agreement-modal-body p {
    margin: 0;
    color: var(--selfcare-text);
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: left;
}

@media screen and (min-width: 769px) {
    body.login-page {
        background: #f4f7f9;
    }

    .login-page .wrapper {
        width: 439px;
        height: 894px;
        min-height: 0;
        max-height: 94vh;
        border: 8px solid #151515;
        border-radius: 52px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    .login-page .wrapper::before {
        width: 110px;
        height: 35px;
        top: 11px;
        border-radius: 18px;
    }

    .login-page .main-content {
        min-height: 100%;
    }

    .auth-flow-page .wrapper {
        width: 439px;
        height: 894px;
        min-height: 0;
        max-height: 94vh;
        border: 8px solid #151515;
        border-radius: 52px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    .auth-flow-page .wrapper::before {
        content: '';
        position: absolute;
        top: 11px;
        left: 50%;
        width: 110px;
        height: 35px;
        transform: translateX(-50%);
        border-radius: 18px;
        background: #050505;
        z-index: 20;
        pointer-events: none;
    }

    .auth-flow-page .main-content {
        min-height: 100%;
        height: 100%;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .auth-flow-page .main-content::-webkit-scrollbar {
        display: none;
    }

    .agreement-modal-panel {
        width: 350px;
        max-height: 670px;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 80%;
    }

    .login-page .main-content {
        padding-top: calc(40px + env(safe-area-inset-top));
        padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }

    .login-logo {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 50%;
        z-index: 30;
        width: 100%;
        max-width: 439px;
        margin: 0;
        transform: translateX(-50%);
    }

    .register-page .main-content {
        padding-top: calc(54px + env(safe-area-inset-top));
    }

    .register-page .auth-flow-header {
        position: fixed;
        top: 0;
        left: 50%;
        z-index: 30;
        width: 100%;
        max-width: 439px;
        height: auto;
        min-height: calc(54px + env(safe-area-inset-top));
        margin: 0;
        padding: calc(13px + env(safe-area-inset-top)) 24px 0;
        transform: translateX(-50%);
    }

    .register-page .auth-flow-header h1 {
        font-size: 18px;
        line-height: 1.2;
    }

    .two-factor-main {
        padding-top: calc(59px + env(safe-area-inset-top));
    }

    .two-factor-main h1 {
        margin-bottom: 64px;
    }

    .two-factor-message {
        margin-bottom: 38px;
    }
}

@media screen and (max-width: 390px) {
    .login-page .main-content {
        --login-side-space: clamp(24px, calc(50vw - 149.5px), 38px);
        padding-top: calc(34px + env(safe-area-inset-top));
    }

    .login-logo {
        margin-top: 0;
    }

    .login-title {
        margin-bottom: 45px;
        font-size: 24px;
    }

    .agreement-page .main-content {
        padding-top: calc(140px + env(safe-area-inset-top));
    }

    .agreement-card {
        padding-right: 22px;
        padding-left: 22px;
    }

    .agreement-card p {
        font-size: 15px;
    }

    .auth-flow-page .main-content {
        padding-right: 30px;
        padding-left: 30px;
    }

    .register-page .main-content {
        padding-top: calc(54px + env(safe-area-inset-top));
    }

    .auth-flow-header,
    .auth-flow-logo {
        width: calc(100% + 60px);
        margin-right: -30px;
        margin-left: -30px;
    }

    .auth-flow-header {
        min-height: 92px;
        padding-top: calc(46px + env(safe-area-inset-top));
        padding-bottom: 17px;
    }

    .register-page .auth-flow-header {
        position: fixed;
        top: 0;
        left: 50%;
        z-index: 30;
        width: 100%;
        max-width: 439px;
        height: auto;
        min-height: calc(54px + env(safe-area-inset-top));
        margin: 0;
        padding: calc(13px + env(safe-area-inset-top)) 24px 0;
        transform: translateX(-50%);
    }

    .register-page .auth-flow-header h1 {
        font-size: 18px;
        line-height: 1.2;
    }

    .auth-flow-main {
        padding-top: 34px;
    }

    .auth-flow-field label {
        font-size: 18px;
    }

    .register-terms,
    .auth-flow-help,
    .two-factor-message {
        font-size: 15px;
    }

    .two-factor-main {
        padding-top: calc(42px + env(safe-area-inset-top));
    }

    .two-factor-main h1 {
        margin-bottom: 43px;
        font-size: 28px;
    }
}

/* Member top screen */
body.app-page {
    min-height: 100dvh;
    background: #f4f7f9;
    color: var(--selfcare-text);
}

.app-page .wrapper {
    width: 100%;
    min-height: 100dvh;
    padding: 0;
    background:
        linear-gradient(155deg, transparent 0 54%, rgba(255, 255, 255, 0.55) 54.2% 55%, transparent 55.2%),
        linear-gradient(118deg, transparent 0 64%, rgba(255, 255, 255, 0.42) 64.2% 65.1%, transparent 65.3%),
        linear-gradient(145deg, rgba(239, 251, 255, 0.62), rgba(188, 235, 249, 0.52));
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.home-page .wrapper {
    background: var(--selfcare-screen);
}

.member-page .wrapper {
    background: var(--selfcare-screen);
}

.app-page .main-content {
    width: 100%;
    max-width: 439px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 32px calc(100px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.daily-report-page .main-content {
    padding-right: 0;
    padding-left: 0;
}

.member-header {
    width: calc(100% + 64px);
    min-height: 103px;
    margin: 0 -32px;
    padding: calc(69px + env(safe-area-inset-top)) 20px 13px;
    background: var(--selfcare-blue);
    text-align: center;
}

.home-page .member-header,
.graph-page .member-header,
.member-page .member-header,
.diary-list-header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 439px;
    margin: 0;
    transform: translateX(-50%);
    z-index: 12;
}

.member-header h1 {
    margin: 0;
    color: var(--selfcare-white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-header {
    min-height: 120px;
    padding: calc(83px + env(safe-area-inset-top)) 20px 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.home-header h1 {
    font-size: 24px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-header-honorific {
    font-size: 0.72em;
    font-weight: 400;
}

.home-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 21px;
    flex: 0 0 auto;
}

.home-header-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.home-header-action:active {
    transform: scale(0.94);
}

.home-header-action img {
    width: 100%;
    height: 100%;
    display: block;
}

.member-main {
    padding-top: calc(103px + 31px + env(safe-area-inset-top));
}

.member-main-eap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-main {
    flex: 1;
    padding-top: calc(120px + 30px + env(safe-area-inset-top));
    position: relative;
    z-index: 0;
}

.home-main::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -12px;
    width: 205px;
    height: 176px;
    background: url("/common/img/charactor_bg.svg") no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

.home-main > * {
    position: relative;
    z-index: 1;
}

.home-instruction {
    width: min(100%, 200px);
    min-height: 20px;
    margin: 0 auto 24px;
    padding: 3px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #59636b;
    font-size: 12.96px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.home-month-switcher {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    margin: 0 38px 47px;
    position: relative;
    z-index: 60;
}

.home-month-switcher h2,
.home-month-calendar .diary-calendar-button.has-label {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #59636b;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
}

.home-month-calendar {
    justify-self: center;
    position: relative;
    z-index: 40;
}

.home-month-calendar .date-calendar,
.home-month-calendar .diary-calendar-button.has-label {
    width: auto;
    height: auto;
}

.home-month-calendar .date-calendar-popover {
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
}

.home-month-arrow {
    width: 0;
    height: 0;
    justify-self: center;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    text-decoration: none;
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.home-month-arrow.prev {
    border-right: 19px solid var(--selfcare-blue);
}

.home-month-arrow.next {
    border-left: 19px solid var(--selfcare-blue);
}

.home-month-arrow.next.is-disabled {
    border-left-color: rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.home-month-arrow:active {
    transform: scale(0.9);
}

.home-calendar {
    width: 100%;
    position: relative;
    z-index: 1;
}

.home-weekdays,
.home-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.home-weekdays {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(154, 171, 182, 0.42);
}

.home-weekdays span {
    color: #59636b;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.home-weekdays .sun {
    color: #ff5a5a;
}

.home-weekdays .sat {
    color: #2f9df0;
}

.home-calendar-grid {
    grid-auto-rows: 87px;
}

.home-calendar-day {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 4px 0 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(154, 171, 182, 0.42);
    background: transparent;
    color: #59636b;
    font: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    appearance: none;
    transition: transform 0.1s;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.home-calendar-day:active {
    transform: scale(0.98);
}

.home-calendar-day.empty {
    pointer-events: none;
}

.home-calendar-day.selected {
    border-radius: 5px;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
    border-bottom-color: transparent;
}

.home-day-number {
    display: block;
    color: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.home-day-marker {
    width: 28px;
    height: 28px;
    display: block;
    margin: 19px auto 0;
    border-radius: 50%;
}

.home-calendar-day.is-open .home-day-marker {
    border: 4px solid var(--selfcare-blue);
    background: var(--selfcare-white);
}

.home-calendar-day.is-filled .home-day-marker {
    background: var(--selfcare-blue);
}

.home-calendar-day.selected.is-open .home-day-marker {
    border-color: var(--selfcare-white);
    background: transparent;
}

.home-calendar-day.selected.is-filled .home-day-marker {
    background: var(--selfcare-white);
}

.home-date-sheet {
    position: fixed;
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 439px;
    transform: translate(-50%, 100%);
    background: rgba(255, 255, 255, 0.96);
    color: #a7adb2;
    box-shadow: 0 -13px 20px rgba(126, 164, 186, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 9;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.home-date-sheet.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.home-date-sheet-head {
    height: 66px;
    padding: 0 33px;
    display: grid;
    grid-template-columns: 78px 1fr 78px;
    align-items: center;
    background: rgba(239, 239, 239, 0.94);
}

.home-date-sheet-close,
.home-date-sheet-edit {
    border: 0;
    padding: 0;
    background: transparent;
    color: #a7adb2;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.home-date-sheet-close {
    text-align: left;
}

.home-date-sheet-edit {
    text-align: right;
}

.home-date-sheet-date {
    margin: 0;
    color: #a7adb2;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.home-date-condition-grid {
    margin: 0;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.98);
}

.home-date-condition-grid div {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    border-bottom: 1px solid rgba(167, 173, 178, 0.28);
}

.home-date-condition-grid div:nth-child(odd) {
    padding-right: 22px;
}

.home-date-condition-grid div:nth-child(even) {
    padding-left: 22px;
}

.home-date-condition-grid dt,
.home-date-condition-grid dd {
    margin: 0;
    color: #a7adb2;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-date-condition-grid dd {
    text-align: right;
}

.home-date-activity-link {
    height: 79px;
    padding: 0 10px 0 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: #a7adb2;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
}

.home-date-activity-arrow {
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    font-stretch: condensed;
    transform: scaleX(0.58);
    transform-origin: center;
}

.member-card {
    height: 100px;
    padding: 0 12px 0 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--selfcare-white);
    border-radius: 9px;
    color: var(--selfcare-white);
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(43, 88, 116, 0.22);
    transition: transform 0.1s;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.member-card + .member-card {
    margin-top: 21px;
}

.member-card:active {
    transform: scale(0.98);
}

.member-card-blue {
    background: linear-gradient(180deg, #7ccbf4 0%, #28a7df 100%);
}

.member-card-teal {
    background: linear-gradient(180deg, #6de2e1 0%, #08c4ad 100%);
}

.member-card-green {
    background: linear-gradient(180deg, #aaf59d 0%, #63d85a 100%);
}

.member-card-orange {
    background: linear-gradient(180deg, #ffe891 0%, #f0a712 100%);
}

.member-card-eap {
    padding-right: 24px;
    padding-left: 32px;
}

.member-card-text {
    flex: 1;
    color: var(--selfcare-white);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
}

.member-card-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
}

.member-card-icon img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.member-card-icon-pair img:first-child {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 11px;
    left: 3px;
}

.member-card-icon-pair img:last-child {
    width: 43px;
    height: 43px;
    position: absolute;
    right: 2px;
    bottom: 8px;
}

.member-card-character {
    gap: 16px;
}

.member-card-character-image {
    width: 114px;
    height: 82px;
    flex: 0 0 114px;
    display: block;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
}

.member-card-character-send .member-card-character-image {
    background-image: url("/common/img/charactor_send.svg");
}

.member-card-character-double .member-card-character-image {
    background-image: url("/common/img/charactor_double.svg");
}

.member-card-character-single .member-card-character-image {
    background-image: url("/common/img/charactor_single.svg");
}

.member-history-link {
    height: 50px;
    margin-top: auto;
    margin-bottom: 46px;
    border: 1px solid var(--selfcare-white);
    border-radius: 9px;
    background: linear-gradient(180deg, #6ccbf3 0%, #28a6de 100%);
    color: var(--selfcare-white);
    box-shadow: 0 7px 18px rgba(43, 88, 116, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0;
    -webkit-tap-highlight-color: transparent;
}

.member-history-link:active {
    transform: scale(0.98);
}

.member-push-settings {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 7px 18px rgba(43, 88, 116, 0.12);
}

.member-push-copy h2 {
    margin: 0 0 8px;
    color: #59636b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.member-push-copy p {
    margin: 0;
    color: #7a858d;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0;
}

.member-push-actions {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.member-push-button {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(105, 183, 200, 0.38);
    border-radius: 999px;
    background: var(--selfcare-white);
    color: var(--selfcare-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.member-push-button.primary {
    border-color: transparent;
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
}

.member-push-button.secondary {
    color: #7a858d;
}

.member-push-button:active {
    transform: scale(0.98);
}

/* Member activity graph send */
.member-send-page .wrapper {
    background: var(--selfcare-screen);
}

.member-send-page .main-content {
    background: var(--selfcare-screen);
}

.member-send-header {
    min-height: 120px;
    padding-top: calc(84px + env(safe-area-inset-top));
}

.member-worksheet-header {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: end;
    gap: 10px;
    padding-right: 20px;
    padding-left: 20px;
}

.member-send-nav-header {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: end;
    gap: 10px;
    padding-right: 20px;
    padding-left: 20px;
}

.member-header-back {
    width: 30px;
    height: 30px;
    display: block;
    align-self: center;
    background: url("/common/img/back_white.svg") no-repeat center / contain;
    -webkit-tap-highlight-color: transparent;
}

.member-worksheet-header h1 {
    font-size: 16px;
    white-space: nowrap;
}

.member-send-nav-header h1 {
    font-size: 20px;
    white-space: nowrap;
}

.member-header-spacer {
    display: block;
}

.member-send-main {
    flex: 1;
    padding: 31px 20px 144px;
    display: flex;
    flex-direction: column;
    color: var(--selfcare-muted);
}

.member-send-lead {
    margin: 0 0 28px;
    color: var(--selfcare-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: justify;
}

.member-send-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-send-section + .member-send-section {
    margin-top: 31px;
}

.member-send-section-title {
    margin: 0 0 17px;
    padding-left: 36px;
    color: var(--selfcare-muted);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    position: relative;
}

.member-send-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 25px;
    height: 25px;
    background: url("/common/img/charactor_material.svg") no-repeat center / contain;
}

.member-send-section-title::after {
    display: none;
}

.member-send-fields,
.member-send-choice-summary {
    border-radius: 9px;
    background: var(--selfcare-white);
    overflow: hidden;
}

.member-send-row {
    min-height: 50px;
    padding: 0 12px 0 14px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    column-gap: 8px;
    align-items: center;
    color: var(--selfcare-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.member-send-row + .member-send-row {
    border-top: 1px solid #dfe8ee;
}

.member-send-row strong {
    color: var(--selfcare-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.member-send-date-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid #dce4ea;
    border-radius: 8px;
    background: var(--selfcare-white);
    color: var(--selfcare-muted);
    font: inherit;
    text-align: center;
}

.member-send-row span:last-child {
    white-space: nowrap;
    text-align: right;
}

.member-send-choices {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 26px;
}

.member-send-choices label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--selfcare-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.member-send-choices input {
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1px solid #dce4ea;
    border-radius: 2px;
    background: var(--selfcare-white);
    appearance: none;
    display: grid;
    place-items: center;
}

.member-send-choices input:checked {
    border-color: var(--selfcare-blue);
    background: var(--selfcare-blue);
}

.member-send-choices input:checked::before {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--selfcare-white);
    border-bottom: 2px solid var(--selfcare-white);
    transform: rotate(-45deg) translate(1px, -1px);
}

.member-send-choice-summary {
    min-height: 52px;
    padding: 0 19px;
    display: flex;
    align-items: center;
    color: var(--selfcare-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.member-send-comment-input,
.member-send-comment-summary {
    width: 100%;
    min-height: 148px;
    padding: 21px 24px;
    border: 0;
    border-radius: 9px;
    background: var(--selfcare-white);
    color: var(--selfcare-muted);
    font: inherit;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: 0;
}

.member-send-comment-input {
    resize: vertical;
    outline: none;
    appearance: none;
}

.member-send-comment-input::placeholder {
    color: #b7b7b7;
}

.member-send-error {
    margin: 8px 0 0;
    color: #d64646;
    font-size: 12px;
    line-height: 1.5;
}

.member-send-actions {
    width: 100%;
    margin-top: 54px;
    display: grid;
    gap: 20px;
}

.member-send-button {
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.member-send-primary {
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
}

.member-send-secondary {
    background: var(--selfcare-white);
    color: var(--selfcare-blue);
}

/* Member activity graph send history */
.member-send-history-page .wrapper,
.member-send-history-page .main-content {
    background: #eeeeee;
}

.member-send-history-header {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
}

.member-send-history-header h1 {
    font-size: 19px;
}

.member-send-history-calendar {
    width: 30px;
    height: 30px;
    justify-self: end;
    align-self: center;
    display: block;
    background: url("/common/img/calendar_white.svg") no-repeat center / contain;
}

.member-send-history-main {
    flex: 1;
    width: calc(100% + 64px);
    margin: 0 -32px;
    padding: 28px 20px 132px;
    background: #eeeeee;
    color: var(--selfcare-muted);
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.member-send-history-main::-webkit-scrollbar {
    display: none;
}

.member-send-history-card {
    overflow: hidden;
    border-radius: 10px;
    background: var(--selfcare-white);
    box-shadow: 0 8px 18px rgba(63, 91, 108, 0.12);
}

.member-send-history-card + .member-send-history-card {
    margin-top: 18px;
}

.member-send-history-table {
    margin: 0;
}

.member-send-history-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 64px;
    border-bottom: 1px solid #d6e8ef;
}

.member-send-history-row:last-child {
    border-bottom: 0;
}

.member-send-history-row dt,
.member-send-history-row dd {
    margin: 0;
    color: #666666;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.member-send-history-row dt {
    padding: 18px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf8ff;
    text-align: center;
}

.member-send-history-row dd {
    min-width: 0;
    padding: 17px 16px;
    background: var(--selfcare-white);
}

.member-send-history-period-row dd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    row-gap: 12px;
    align-items: center;
}

.member-send-history-period-mark {
    text-align: right;
}

.member-send-history-comment-row {
    min-height: 120px;
}

.member-send-history-comment-row dd {
    white-space: pre-wrap;
}

.member-send-history-empty {
    margin: 0;
    padding: 28px 20px;
    border-radius: 10px;
    background: var(--selfcare-white);
    color: #666666;
    box-shadow: 0 8px 18px rgba(63, 91, 108, 0.12);
}

.member-send-history-empty p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.member-send-history-pager {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    gap: 10px;
}

.member-send-history-page-link,
.member-send-history-page-current {
    min-height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--selfcare-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
}

.member-send-history-page-link {
    background: var(--selfcare-white);
}

.member-send-history-page-link.is-disabled {
    color: #b4c2cb;
}

.member-send-history-page-current {
    color: #666666;
}

/* Member relapse prevention worksheet */
.member-worksheet-page .wrapper,
.member-worksheet-page .main-content {
    background: var(--selfcare-screen);
}

.member-worksheet-main {
    flex: 1;
    padding: 52px 20px 124px;
    color: var(--selfcare-muted);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.member-worksheet-main::-webkit-scrollbar {
    display: none;
}

.member-worksheet-section + .member-worksheet-section {
    margin-top: 26px;
}

.member-worksheet-title {
    margin: 0 0 12px;
    padding-left: 36px;
    color: #666;
    font-size: 17.6px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
    position: relative;
}

.member-worksheet-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 25px;
    background: url("/common/img/charactor_material.svg") no-repeat center / contain;
}

.member-worksheet-card {
    padding: 24px 26px;
    border-radius: 9px;
    background: var(--selfcare-white);
}

.member-worksheet-subtitle {
    margin: 0 0 18px;
    color: #666;
    font-size: 15.2px;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
}

.member-worksheet-button {
    width: 100%;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--selfcare-white);
    font-size: 17.6px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.member-worksheet-button + .member-worksheet-button {
    margin-top: 14px;
}

.member-worksheet-button.primary {
    background: var(--selfcare-blue);
}

.member-worksheet-button.secondary {
    border: 2px solid #c9eeff;
    background: transparent;
    color: var(--selfcare-blue);
}

.member-worksheet-button:active {
    transform: scale(0.98);
}

.app-tabbar {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    width: 100%;
    max-width: 439px;
    transform: translateX(-50%);
    height: calc(84px + env(safe-area-inset-bottom));
    padding: 9px 9px calc(18px + env(safe-area-inset-bottom));
    background: var(--selfcare-white);
    box-shadow: 0 -6px 16px rgba(43, 88, 116, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 10;
}

@media screen and (max-width: 768px) and (display-mode: standalone) {
    .app-tabbar {
        height: 84px;
        padding-bottom: 18px;
    }

    .app-page .main-content {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 768px) {
    .is-standalone .app-tabbar {
        height: 84px;
        padding-bottom: 18px;
    }

    .is-standalone .app-page .main-content {
        padding-bottom: 100px;
    }
}

.app-tabbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--selfcare-white);
    box-shadow: 0 -6px 16px rgba(43, 88, 116, 0.12);
    z-index: -1;
}

.app-tabbar-item {
    width: 20%;
    flex: 0 0 20%;
    min-width: 0;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    color: #a7b8c3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none;
    transition: transform 0.1s;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.app-tabbar-item:active {
    transform: scale(0.98);
}

.app-tabbar-spacer {
    width: 20%;
    height: 56px;
    flex: 0 0 20%;
}

.app-tabbar-item.active {
    color: var(--selfcare-blue);
}

.app-tabbar-icon {
    width: 30px;
    height: 30px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.nav-home-icon {
    background-image: url("/common/img/nav-icon-home.png");
}

.nav-graph-icon {
    background-image: url("/common/img/nav-icon-graph.png");
}

.nav-diary-icon {
    background-image: url("/common/img/nav-icon-diary.png");
}

.nav-eap-icon {
    background-image: url("/common/img/nav-icon-eap.png");
}

.app-tabbar-item.active .nav-home-icon {
    background-image: url("/common/img/nav-icon-home_active.png");
}

.app-tabbar-item.active .nav-graph-icon {
    background-image: url("/common/img/nav-icon-graph_active.png");
}

.app-tabbar-item.active .nav-diary-icon {
    background-image: url("/common/img/nav-icon-diary_active.png");
}

.app-tabbar-item.active .nav-eap-icon {
    background-image: url("/common/img/nav-icon-eap_active.png");
}

.app-record-button {
    position: absolute;
    left: 50%;
    top: -35px;
    width: 80px;
    height: 80px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--selfcare-white);
    box-shadow: 0 6px 16px rgba(43, 88, 116, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #a7b8c3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none;
    transition: transform 0.1s;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.app-record-button:active {
    transform: translateX(-50%) scale(0.98);
}

.app-record-icon {
    width: 30px;
    height: 30px;
    display: block;
    background: url("/common/img/nav-icon-pencil.png") no-repeat center / contain;
}

.app-record-button.active {
    color: var(--selfcare-blue);
}

.app-record-button.active .app-record-icon {
    background-image: url("/common/img/nav-icon-pencil_active.png");
}

.graph-header {
    min-height: 120px;
    padding-top: calc(84px + env(safe-area-inset-top));
}

.graph-main {
    flex: 1;
    width: calc(100% + 24px);
    margin: 0 -12px;
    padding: calc(120px + 21px + env(safe-area-inset-top)) 0 30px;
}

.graph-range-tabs {
    width: 294px;
    height: 30px;
    margin: 0 auto 18px;
    padding: 0 2px;
    border-radius: 999px;
    background: var(--selfcare-white);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    box-shadow: 0 1px 4px rgba(43, 88, 116, 0.04);
}

.graph-range-tab {
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8d96;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.graph-range-tab.active {
    background: rgba(91, 188, 240, 0.12);
    color: #59636b;
    font-weight: 700;
}

.graph-date-switcher {
    min-height: 26px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
}

.graph-date-switcher p {
    margin: 0;
    color: #59636b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.graph-date-arrow {
    width: 0;
    height: 0;
    justify-self: center;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    text-decoration: none;
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.graph-date-arrow.prev {
    border-right: 15px solid var(--selfcare-blue);
}

.graph-date-arrow.next {
    border-left: 15px solid var(--selfcare-blue);
}

.graph-date-arrow:active {
    transform: scale(0.9);
}

.graph-date-arrow.disabled {
    opacity: 0.28;
    pointer-events: none;
}

.graph-date-arrow.next.disabled {
    border-left-color: rgba(255, 255, 255, 0.72);
}

.graph-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.48) inset;
}

.graph-summary-card {
    padding: 20px 10px 17px;
}

.graph-detail-card {
    margin-top: 30px;
    padding: 13px 11px 18px;
}

.graph-card h2 {
    margin: 0;
    color: #59636b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.graph-filter-tabs {
    min-height: 28px;
    margin: 15px 4px 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
}

.graph-filter-tabs button {
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(91, 188, 240, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #7f8d96;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.graph-filter-tabs button.active {
    border-color: var(--selfcare-blue);
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
}

.graph-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    color: #a7b8c3;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.graph-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.graph-legend-item span {
    width: 9px;
    height: 9px;
    border: 2px solid var(--legend-color);
    border-radius: 50%;
    background: var(--selfcare-white);
    flex: 0 0 auto;
}

.graph-chart {
    width: 100%;
    position: relative;
}

.graph-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.graph-chart-summary {
    height: 384px;
    margin-top: 29px;
}

.graph-chart-detail {
    height: 300px;
    margin-top: 17px;
}

.graph-detail-tabs {
    height: 24px;
    margin: 0 4px 17px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
}

.graph-detail-tabs button {
    min-width: 0;
    height: 24px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #a7b8c3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.graph-detail-tabs button.active {
    background: var(--selfcare-blue);
    color: var(--selfcare-white);
}

.graph-detail-heading {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.graph-detail-heading dl {
    margin: 0;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    color: #7f8d96;
}

.graph-detail-heading dt {
    margin: 0;
    color: #a7b8c3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.graph-detail-heading dd {
    margin: 0;
    color: #59636b;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

/* Activity input screen */
.activity-page .main-content {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.activity-header {
    width: 100%;
    height: calc(121px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    align-items: start;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 4;
}

.activity-header h1 {
    margin: 3px 0 0;
    color: #5d6266;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.activity-header-back,
.activity-header-save,
.activity-sheet-close,
.activity-sheet-done,
.activity-add-button {
    -webkit-tap-highlight-color: transparent;
}

.activity-header-back {
    width: 22px;
    height: 22px;
    display: block;
    position: relative;
    margin-left: -22px;
    background: url("/common/img/back_gray.svg") no-repeat center / contain;
}

.activity-header-save {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4ebcf5;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
    cursor: pointer;
}

.activity-header-save.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.activity-main {
    flex: 1;
    min-height: 0;
    position: relative;
    background: #fff;
    overflow: hidden;
}

/* Condition input screen */
.condition-page .main-content {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.condition-header {
    width: 100%;
    height: calc(121px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    align-items: start;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 4;
}

.condition-header h1 {
    margin: 3px 0 0;
    color: #5d6266;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.condition-main {
    flex: 1;
    background: #fff;
    padding: 26px 30px 0;
}

.condition-form {
    width: 100%;
}

.condition-field {
    padding: 0 0 18px;
    border-bottom: 1px solid #ededed;
}

.condition-field + .condition-field {
    margin-top: 9px;
}

.condition-field-head {
    display: grid;
    grid-template-columns: 1fr 36px;
    column-gap: 16px;
    align-items: center;
}

.condition-field-head label {
    color: #5d6266;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.condition-field-head output {
    color: #5d6266;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-align: right;
}

.condition-range-wrap {
    margin-top: 13px;
    padding-right: 21px;
    padding-left: 20px;
}

.condition-range-slider {
    position: relative;
    height: 28px;
    --range-progress: 50%;
}

.condition-range-rail {
    position: absolute;
    top: 13px;
    right: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: #9b9b9b;
}

.condition-range-rail::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: var(--range-progress);
    height: 4px;
    border-radius: 4px;
    background: var(--condition-color, var(--selfcare-blue));
}

.condition-range-tick {
    position: absolute;
    top: 6px;
    z-index: 1;
    width: 2px;
    height: 16px;
    border-radius: 2px;
    background: #8f8f8f;
    transform: translateX(-50%);
}

.condition-range-tick.is-zero {
    left: 0;
}

.condition-range-tick.is-five {
    left: 50%;
}

.condition-range-tick.is-ten {
    left: 100%;
}

.condition-range-wrap input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 10%;
    z-index: 2;
    width: 90%;
    height: 28px;
    margin: 0;
    background: transparent;
    display: block;
    cursor: pointer;
}

.condition-range-wrap input[type="range"]::-webkit-slider-runnable-track {
    height: 28px;
    background: transparent;
}

.condition-range-wrap input[type="range"]::-moz-range-track {
    height: 28px;
    background: transparent;
}

.condition-range-wrap input[type="range"]::-moz-range-progress {
    height: 28px;
    background: transparent;
}

.condition-range-wrap input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 5px;
    border: 3px solid var(--condition-color, var(--selfcare-blue));
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
}

.condition-range-wrap input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid var(--condition-color, var(--selfcare-blue));
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
}

.condition-range-labels {
    margin-top: -4px;
    display: flex;
    justify-content: space-between;
    color: #b6b6b6;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.condition-error {
    margin: 8px 0 0;
    color: #d34b4b;
    font-size: 12px;
    line-height: 1.4;
}

.condition-complete-page .main-content {
    padding: 0;
    background: #fff;
}

.condition-complete-heading {
    display: none;
}

.condition-complete-main {
    flex: 1;
    padding: calc(48px + env(safe-area-inset-top)) 24px calc(48px + env(safe-area-inset-bottom));
    background: #fff;
    display: flex;
}

.condition-complete-panel {
    flex: 1;
    min-height: 0;
    padding: 221px 30px 70px;
    border-radius: 18px;
    background: linear-gradient(180deg, #abe0f8 0%, #eaf8ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.condition-complete-message {
    min-width: 0;
    padding: 8px 18px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(55, 92, 112, 0.22);
    color: #6a6a6a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.condition-complete-message::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 20px;
    height: 12px;
    transform: translateX(-50%);
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.condition-complete-mascot {
    width: 74px;
    height: 64px;
    margin-top: 25px;
    position: relative;
}

.member-send-complete-icon {
    display: block;
    width: 142px;
    height: 122px;
    object-fit: contain;
}

.condition-complete-face {
    position: absolute;
    left: 7px;
    bottom: 0;
    width: 59px;
    height: 59px;
    border-radius: 50%;
    background: linear-gradient(145deg, #61d6fb 0%, #17aeea 100%);
    overflow: hidden;
}

.condition-complete-face::before {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 0;
    width: 56px;
    height: 36px;
    border-radius: 50%;
    background: #23a9df;
}

.condition-complete-drop {
    position: absolute;
    right: 0;
    top: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #17b9ef;
}

.condition-complete-eye,
.condition-complete-cheek,
.condition-complete-mouth {
    position: absolute;
    z-index: 2;
}

.condition-complete-eye {
    top: 18px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #23658d;
}

.condition-complete-eye.left {
    left: 18px;
}

.condition-complete-eye.right {
    right: 18px;
}

.condition-complete-cheek {
    top: 22px;
    width: 10px;
    height: 8px;
    border-radius: 50%;
    background: #ff8db2;
}

.condition-complete-cheek.left {
    left: 7px;
}

.condition-complete-cheek.right {
    right: 7px;
}

.condition-complete-mouth {
    left: 18px;
    top: 23px;
    width: 25px;
    height: 15px;
    border-radius: 0 0 18px 18px;
    background: #155c88;
}

.condition-complete-actions {
    width: 100%;
    margin-top: auto;
    display: grid;
    row-gap: 20px;
}

.condition-complete-button {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--selfcare-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.condition-complete-button.primary {
    background: var(--selfcare-blue);
    color: #fff;
}

.condition-complete-button.secondary {
    background: #fff;
}

.activity-timeline {
    --activity-hour-height: 110px;
    height: calc(100dvh - 121px - env(safe-area-inset-top));
    min-height: 620px;
    padding-left: 30px;
    background: #fff;
    color: #6c7378;
    position: relative;
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.activity-timeline::-webkit-scrollbar {
    display: none;
}

.activity-timeline::before {
    content: "";
    position: absolute;
    left: 79px;
    top: 0;
    bottom: auto;
    width: 2px;
    height: 2750px;
    background: #4bbfff;
}

.activity-hour-row {
    height: var(--activity-hour-height);
    display: grid;
    grid-template-columns: 49px 1fr;
    align-items: start;
    position: relative;
}

.activity-hour-row time {
    padding-top: 10px;
    color: #73787c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.activity-hour-line {
    margin-top: 20px;
    border-top: 2px dotted rgba(156, 156, 156, 0.48);
}

.activity-events {
    position: absolute;
    left: 85px;
    right: 30px;
    top: 0;
    bottom: auto;
    height: 2750px;
    z-index: 2;
    pointer-events: none;
}

.activity-event {
    position: absolute;
    left: 0;
    right: 0;
    min-height: 24px;
    padding: 7px 19px 7px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #525b62;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    overflow: hidden;
}

.activity-event-dynamic {
    top: var(--activity-event-top);
    height: var(--activity-event-height);
}

.activity-event-point {
    right: auto;
    width: 30px;
    height: 30px;
    min-height: 0;
    margin-left: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.activity-event-label,
.activity-event-note,
.activity-event-medicine,
.activity-event-star {
    display: inline-block;
    vertical-align: middle;
}

.activity-event-note {
    width: 16px;
    height: 14px;
    margin: 2px 0 0 42px;
    background: url("/common/img/memo_gray.svg") no-repeat center / contain;
}

.activity-event-medicine {
    width: 24px;
    height: 10px;
    margin: 12px 0 0 0;
    background: url("/common/img/drag.svg") no-repeat center / contain;
    position: relative;
    z-index: 2;
}

.activity-event-star {
    width: 16px;
    height: 16px;
    margin: 9px 0 0 0;
    background: url("/common/img/star.svg") no-repeat center / contain;
    filter: saturate(1.5) hue-rotate(170deg) brightness(0.68);
}

.activity-event-awake {
    content: "";
    position: absolute;
    left: 18px;
    top: 42px;
    width: 12px;
    height: 12px;
    background: url("/common/img/star.svg") no-repeat center / contain;
    filter: saturate(1.5) hue-rotate(170deg) brightness(0.68);
}

.activity-event-subitem {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 81px;
    height: 25px;
    padding: 5px 18px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #f3f3f3;
    color: #666;
    line-height: 1;
}

.activity-event-sleep {
    background: #cbe2f6;
    border-color: #add5f4;
}

.activity-event-kind-sleep {
    background: #cbe2f6;
    border-color: #add5f4;
}

.activity-event-meal {
    background: #fff0cf;
    border-color: #ffd782;
}

.activity-event-kind-meal {
    background: #fff0cf;
    border-color: #ffd782;
    color: #7a421c;
}

.activity-event-housework {
    background: #dedcf9;
    border-color: #c7c2f2;
}

.activity-event-kind-housework {
    background: #dedcf9;
    border-color: #c7c2f2;
    color: #4c3d85;
}

.activity-event-work {
    background: #d8f5df;
    border-color: #bde9c8;
}

.activity-event-kind-work {
    background: #d8f5df;
    border-color: #bde9c8;
    color: #2f6240;
}

.activity-event-exercise {
    background: #f8d4e6;
    border-color: #efb9d3;
}

.activity-event-kind-exercise {
    background: #f8d4e6;
    border-color: #efb9d3;
    color: #7c2b46;
}

.activity-event-outing {
    background: #f3f3f3;
    border-color: #dcdcdc;
}

.activity-event-kind-outing,
.activity-event-kind-other {
    background: #f3f3f3;
    border-color: #dcdcdc;
}

.activity-event-kind-medicine {
    background: transparent;
    border-color: transparent;
}

.activity-event-kind-awake {
    background: transparent;
    border-color: transparent;
}

.activity-event-kind-custom_1 {
    background: #e9ffd4;
    border-color: #c9f4a7;
    color: #4b752d;
}

.activity-event-kind-custom_2 {
    background: #f6e6dd;
    border-color: #e5c1ad;
    color: #70402a;
}

.activity-event-early-sleep {
    top: 0;
    height: 751px;
}

.activity-event-breakfast {
    top: 782px;
    height: 25px;
}

.activity-event-housework-morning {
    top: 810px;
    height: 79px;
}

.activity-event-work-morning {
    top: 894px;
    height: 163px;
}

.activity-event-housework-late {
    top: 1058px;
    height: 25px;
}

.activity-event-exercise-morning {
    top: 1085px;
    height: 82px;
}

.activity-event-nap {
    top: 1170px;
    height: 52px;
}

.activity-event-outing-noon {
    top: 1225px;
    height: 211px;
}

.activity-event-lunch {
    left: 10px;
    right: 10px;
    top: 1335px;
    height: 53px;
}

.activity-input-button {
    position: absolute;
    right: 30px;
    bottom: calc(27px + env(safe-area-inset-bottom));
    z-index: 5;
    width: 79px;
    height: 79px;
    padding: 14px 0 10px;
    border: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.94);
    color: #84aec4;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 3px 9px rgba(76, 80, 84, 0.28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.activity-input-icon {
    width: 31px;
    height: 31px;
    display: block;
    background: url("/common/img/nav-icon-pencil.png") no-repeat center / contain;
}

.activity-sheet {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50px;
    bottom: 0;
    z-index: 6;
    padding: 0 19px calc(28px + env(safe-area-inset-bottom));
    border-radius: 17px 17px 0 0;
    background: #fff;
    color: #5d6266;
    box-shadow: 0 -2px 12px rgba(60, 74, 84, 0.07);
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.activity-sheet.is-open {
    opacity: 1;
    transform: translateY(0);
}

.activity-sheet::-webkit-scrollbar {
    display: none;
}

.activity-sheet-handle {
    width: 59px;
    height: 5px;
    margin: 10px auto 15px;
    border-radius: 999px;
    background: #cfcfcf;
}

.activity-sheet-bar {
    min-height: 51px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: start;
}

.activity-sheet.is-open .activity-sheet-bar {
    position: sticky;
    top: 0;
    z-index: 12;
    padding-top: 4px;
    background: #fff;
    box-shadow: 0 8px 12px rgba(255, 255, 255, 0.92);
}

.activity-sheet-bar h2 {
    margin: 3px 0 0;
    color: #5d6266;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
}

.activity-sheet-close,
.activity-sheet-done {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.activity-sheet-close::before,
.activity-sheet-close::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 7px;
    width: 3px;
    height: 25px;
    border-radius: 999px;
    background: #a0a0a0;
}

.activity-sheet-close::before {
    transform: rotate(45deg);
}

.activity-sheet-close::after {
    transform: rotate(-45deg);
}

.activity-sheet-done {
    justify-self: end;
    background: #f4f7f9;
    box-shadow: 0 2px 5px rgba(35, 69, 90, 0.2);
}

.activity-sheet-done::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 16px;
    height: 10px;
    border-left: 3px solid #58c4f4;
    border-bottom: 3px solid #58c4f4;
    transform: rotate(-45deg);
}

.activity-entry-list {
    margin-top: 2px;
}

.activity-entry-shell {
    margin-top: 16px;
    position: relative;
    overflow: visible;
    border-radius: 9px;
}

.activity-entry-shell.is-kind-open {
    z-index: 20;
}

.activity-entry-shell.is-delete-open {
    overflow: hidden;
}

.activity-entry-list .activity-entry-shell:first-child {
    margin-top: 0;
}

.activity-entry-card {
    padding: 6px 10px;
    border-radius: 9px;
    background: #ebf8ff;
    position: relative;
    z-index: 2;
    transition: transform 0.18s ease-out;
}

.activity-entry-shell.is-delete-open .activity-entry-card {
    transform: translateX(-58px);
}

.activity-entry-delete {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #ff6b6b;
    transform: translateY(-50%);
    cursor: pointer;
}

.activity-entry-delete::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 18px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
}

.activity-entry-card:not(.has-time) .activity-field-row {
    border-bottom: 0;
}

.activity-field-row {
    min-height: 49px;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(189, 215, 228, 0.9);
}

.activity-field-row:last-child {
    border-bottom: 0;
}

.activity-time-row[hidden],
.activity-medicine-time-row[hidden] {
    display: none;
}

.activity-field-row label {
    color: #5d6266;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}

.activity-select-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 11px;
    position: relative;
}

.activity-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.activity-dot-food {
    background: #ffb54c;
}

.activity-select,
.activity-select-trigger {
    max-width: 96px;
    min-width: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5d6266;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    text-align: right;
    text-align-last: right;
    outline: none;
    appearance: none;
}

.activity-select-trigger {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.activity-select-wrap.is-empty .activity-select {
    color: #5d6266;
}

.activity-select-wrap.is-empty .activity-select-trigger {
    color: #5d6266;
}

.activity-kind-menu {
    position: absolute;
    top: 14px;
    right: 8px;
    z-index: 30;
    width: 170px;
    padding: 10px 0 9px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(62, 83, 95, 0.22);
}

.activity-kind-menu[hidden] {
    display: none;
}

.activity-kind-option {
    width: 100%;
    min-height: 30px;
    padding: 0 14px 0 8px;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 14px 14px 1fr;
    column-gap: 8px;
    align-items: center;
    color: #5d6266;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
}

.activity-kind-option:active {
    background: #edf8fe;
}

.activity-kind-check {
    width: 12px;
    height: 8px;
    opacity: 0;
    border-left: 2px solid #6d7479;
    border-bottom: 2px solid #6d7479;
    transform: rotate(-45deg);
}

.activity-kind-option.is-selected .activity-kind-check {
    opacity: 1;
}

.activity-kind-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.activity-selected-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.activity-kind-dot-sleep {
    background: #5b8ef1;
}

.activity-kind-dot-awake {
    width: 13px;
    height: 13px;
    border-radius: 0;
    background: url("/common/img/star.svg") no-repeat center / contain;
    filter: saturate(1.5) hue-rotate(170deg) brightness(0.68);
}

.activity-kind-dot-meal {
    background: #ffbd51;
}

.activity-kind-dot-housework {
    background: #9c6bf0;
}

.activity-kind-dot-work {
    background: #45b978;
}

.activity-kind-dot-outing {
    background: #ad8340;
}

.activity-kind-dot-exercise {
    background: #f65a83;
}

.activity-kind-dot-other {
    background: #b9b9b9;
}

.activity-kind-dot-medicine {
    background: #5fc1ed;
}

.activity-kind-add-link {
    margin-top: 7px;
    padding: 12px 14px 3px;
    border-top: 1px solid #ececec;
    display: block;
    color: #58bdf4;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
}

.activity-time-input {
    width: 106px;
    justify-self: end;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5d6266;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
    outline: none;
}

.activity-time-input::-webkit-calendar-picker-indicator {
    margin-left: 4px;
    opacity: 0.55;
}

.activity-add-button {
    width: auto;
    margin: 25px 0 31px auto;
    padding: 0;
    display: block;
    border: 0;
    background: transparent;
    color: #4ebcf5;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: right;
    cursor: pointer;
}

.activity-memo-row {
    display: block;
    padding: 12px 0 4px;
    border-bottom: 0;
}

.activity-memo-row label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #5d6266;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.activity-entry-memo,
.activity-entry-memo-text {
    width: 100%;
    min-height: 58px;
    display: block;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: #ebf8ff;
    color: #5d6266;
    font-size: 16px;
    line-height: 1.5;
}

.activity-entry-memo {
    resize: none;
    outline: none;
}

.activity-entry-memo-text {
    margin: 0;
    white-space: pre-wrap;
}

.activity-entry-memo:focus,
.activity-time-input:focus,
.activity-select:focus {
    box-shadow: 0 0 0 3px rgba(78, 188, 245, 0.18);
}

/* Activity record screen */
.activity-record-page .main-content {
    padding: 0;
    overflow: hidden;
    background: var(--selfcare-screen-band);
}

.activity-record-header {
    width: 100%;
    min-height: calc(121px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    align-items: start;
    background: var(--selfcare-blue);
    position: relative;
    z-index: 4;
}

.activity-record-header h1 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.activity-record-edit {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
    text-decoration: none;
}

.activity-record-memo-link,
.activity-record-back {
    width: 22px;
    height: 22px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.activity-record-memo-link {
    background-image: url("/common/img/memo_white.svg");
}

.activity-record-back {
    background-image: url("/common/img/back_white.svg");
}

.activity-record-main {
    flex: 1;
    min-height: 0;
    padding: 30px 30px calc(84px + env(safe-area-inset-bottom));
    background: var(--selfcare-screen-band);
    overflow: hidden;
}

.activity-record-segment {
    height: 38px;
    padding: 4px;
    border-radius: 999px;
    background: #e9e9e9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.activity-record-segment a {
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
}

.activity-record-segment a.active {
    background: #fff;
    color: #666;
}

.activity-record-date-nav {
    margin: 30px 0 25px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
}

.activity-record-date-nav h2 {
    margin: 0;
    color: #666;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.activity-record-date-nav a {
    width: 0;
    height: 0;
    justify-self: center;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.activity-record-date-nav .prev {
    border-right: 19px solid var(--selfcare-blue);
}

.activity-record-date-nav .next {
    border-left: 19px solid rgba(199, 199, 199, 0.5);
}

.activity-record-legend {
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #a9b5bc;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.activity-record-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.activity-record-pill {
    width: 24px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid var(--selfcare-blue);
    background: linear-gradient(90deg, transparent 0 48%, var(--selfcare-blue) 48% 100%);
}

.activity-record-star {
    width: 16px;
    height: 16px;
    background: url("/common/img/star.svg") no-repeat center / contain;
    filter: saturate(1.5) hue-rotate(170deg) brightness(0.68);
}

.activity-record-note {
    width: 16px;
    height: 14px;
    background: url("/common/img/memo_gray.svg") no-repeat center / contain;
}

.activity-record-timeline {
    --activity-hour-height: 110px;
    height: calc(100dvh - 121px - 225px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: 420px;
    border-radius: 10px;
    background: #fff;
    color: #666;
    position: relative;
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.activity-record-timeline::-webkit-scrollbar {
    display: none;
}

.activity-record-hour-row {
    height: var(--activity-hour-height);
    display: grid;
    grid-template-columns: 55px 1fr;
    align-items: start;
    position: relative;
}

.activity-record-hour-row time {
    padding-top: 10px;
    color: #6f6f6f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.activity-record-hour-row span {
    margin-top: 20px;
    border-top: 2px dotted rgba(130, 130, 130, 0.62);
}

.activity-record-events {
    position: absolute;
    left: 61px;
    right: 17px;
    top: 0;
    height: 2750px;
    z-index: 2;
    pointer-events: none;
}

.activity-record-event {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--activity-event-top);
    height: var(--activity-event-height);
    min-height: 24px;
    padding: 7px 19px 7px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #525b62;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    overflow: hidden;
}

.activity-record-event .activity-event-note {
    margin-left: 17px;
}

.activity-record-event.is-point {
    right: auto;
    width: 30px;
    height: 30px;
    min-height: 0;
    margin-left: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.activity-record-week-head {
    height: 68px;
    margin-left: 55px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    border-bottom: 1px solid rgba(130, 130, 130, 0.62);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 3;
}

.activity-record-week-head a {
    min-width: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
    color: #666;
    text-decoration: none;
}

.activity-record-week-head span {
    color: #a9b5bc;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.activity-record-week-head strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.activity-record-timeline.is-week .activity-record-events {
    top: 68px;
    left: 61px;
    right: 12px;
}

.activity-record-timeline.is-week .activity-record-event {
    left: calc((100% / 7) * var(--activity-week-day) + 3px);
    right: auto;
    width: calc((100% / 7) - 6px);
    padding: 7px 4px;
    text-align: center;
    font-size: 13px;
}

.activity-record-timeline.is-week .activity-record-event.is-point {
    width: calc((100% / 7) - 6px);
    margin-left: 0;
    display: flex;
    justify-content: center;
}

.activity-record-timeline.is-week .activity-record-hour-row:first-of-type {
    margin-top: 0;
}

.activity-record-memos-main {
    flex: 1;
    min-height: 0;
    padding: 30px 30px calc(32px + env(safe-area-inset-bottom));
    background: var(--selfcare-screen-band);
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.activity-record-memos-main::-webkit-scrollbar {
    display: none;
}

.activity-record-week-memo-days {
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
}

.activity-record-week-memo-days a {
    min-width: 0;
    display: grid;
    gap: 14px;
    justify-items: center;
    color: #666;
    text-decoration: none;
}

.activity-record-week-memo-days span {
    color: #8d8d8d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.activity-record-week-memo-days strong {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.activity-record-week-memo-days a.active strong {
    background: var(--selfcare-blue);
    color: #fff;
}

.activity-record-memo-list {
    display: grid;
    gap: 16px;
}

.activity-record-memo-card {
    padding: 16px 18px 18px;
    border-radius: 9px;
    background: #fff;
    color: #666;
}

.activity-record-memo-card header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-record-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.activity-record-memo-card strong,
.activity-record-memo-card time {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.activity-record-memo-card time {
    font-weight: 400;
}

.activity-record-memo-card p,
.activity-record-empty {
    margin: 14px 0 0;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: pre-wrap;
}

.activity-record-empty {
    margin: 0;
    padding: 16px 18px;
    border-radius: 9px;
    background: #fff;
}

/* Diary edit screen */
.diary-page .main-content {
    padding: 0;
    overflow: hidden;
    background: var(--selfcare-white);
}

.diary-edit-header {
    width: 100%;
    height: calc(121px + env(safe-area-inset-top));
    padding: calc(80px + env(safe-area-inset-top)) 42px 0;
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    align-items: start;
    background: var(--selfcare-white);
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 2;
}

.diary-edit-header h1 {
    margin: 3px 0 0;
    color: #4f565b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.diary-edit-back,
.diary-edit-save {
    -webkit-tap-highlight-color: transparent;
}

.diary-edit-back {
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: url("/common/img/back_gray.svg") no-repeat center / contain;
    position: relative;
    margin-left: -22px;
    cursor: pointer;
}

.diary-edit-save {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--selfcare-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
    cursor: pointer;
}

.diary-edit-main {
    flex: 1;
    min-height: 0;
    background: var(--selfcare-white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.diary-edit-form {
    padding: 30px 30px calc(36px + env(safe-area-inset-bottom));
}

.diary-edit-label {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.diary-edit-title,
.diary-edit-content {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #ebf8ff;
    color: #5d6266;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    outline: none;
    appearance: none;
}

.diary-edit-title {
    height: 50px;
    padding: 13px 12px;
    margin-bottom: 20px;
}

.diary-edit-content {
    min-height: 300px;
    padding: 12px;
    resize: none;
}

.diary-edit-title::placeholder,
.diary-edit-content::placeholder {
    color: #a7b8c3;
    text-align: left;
}

.diary-edit-title:focus,
.diary-edit-content:focus {
    box-shadow: 0 0 0 3px rgba(78, 188, 245, 0.18);
}

.diary-edit-error {
    margin: -12px 0 14px;
    color: #d64646;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Diary list screen */
.diary-list-page .wrapper,
.diary-list-page .main-content {
    background: var(--selfcare-screen);
}

.diary-list-page .main-content {
    padding: 0 33px calc(100px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.diary-list-header {
    width: calc(100% + 66px);
    min-height: 120px;
    margin: 0 -33px;
    padding: calc(82px + env(safe-area-inset-top)) 32px 15px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    background: var(--selfcare-blue);
    text-align: center;
}

.diary-list-header h1 {
    margin: 0;
    color: var(--selfcare-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.diary-calendar-button {
    width: 36px;
    height: 36px;
    display: block;
    position: relative;
    background: url("/common/img/calendar_white.svg") no-repeat center / 30px 30px;
    -webkit-tap-highlight-color: transparent;
}

.date-calendar {
    width: 36px;
    height: 36px;
    position: relative;
}

.date-calendar .diary-calendar-button {
    padding: 0;
    border: 0;
    background: url("/common/img/calendar_white.svg") no-repeat center / 30px 30px;
}

.date-calendar-popover {
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 80;
    width: 247px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--selfcare-white);
    box-shadow: 0 5px 18px rgba(43, 88, 116, 0.2);
    color: #6e6e6e;
    text-align: left;
}

.date-calendar-popover[hidden] {
    display: none;
}

.date-calendar-head {
    height: 39px;
    padding: 10px 14px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-calendar-month {
    padding: 0 14px 0 0;
    border: 0;
    background:
        linear-gradient(45deg, transparent 47%, #5fc4ff 48% 58%, transparent 59%) right 6px center / 8px 8px no-repeat,
        linear-gradient(-45deg, transparent 47%, #5fc4ff 48% 58%, transparent 59%) right 2px center / 8px 8px no-repeat;
    color: #6e6e6e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.date-calendar-month-picker {
    padding: 0 14px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.date-calendar-month-picker[hidden] {
    display: none;
}

.date-calendar-month-picker select {
    min-width: 0;
    height: 32px;
    padding: 0 24px 0 8px;
    border: 1px solid #dce5eb;
    border-radius: 5px;
    background: #fff;
    color: #5d6266;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.date-calendar-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-calendar-nav {
    width: 16px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
}

.date-calendar-nav::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #5fc4ff;
    border-right: 2px solid #5fc4ff;
}

.date-calendar-nav.prev::before {
    left: 5px;
    transform: rotate(-135deg);
}

.date-calendar-nav.next::before {
    right: 5px;
    transform: rotate(45deg);
}

.date-calendar-weekdays,
.date-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.date-calendar-weekdays {
    padding: 0 13px;
    color: #9bb7c8;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
}

.date-calendar-grid {
    padding: 0 13px 10px;
    row-gap: 1px;
}

.date-calendar-grid span,
.date-calendar-grid button {
    width: 26px;
    height: 34px;
}

.date-calendar-grid button {
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6e6e6e;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
}

.date-calendar-grid button.selected {
    background: #dff6ff;
    color: #5fc4ff;
}

.date-calendar-footer {
    height: 39px;
    padding: 0 14px;
    border-top: 1px solid #eff2f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-calendar-footer button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #5fc4ff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.diary-list-main {
    width: calc(100% + 66px);
    flex: 1;
    min-height: 0;
    margin: 0 -33px;
    padding: calc(120px + env(safe-area-inset-top)) 33px 18px;
    background: var(--selfcare-screen);
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.diary-list-main::-webkit-scrollbar {
    display: none;
}

.diary-month-section h2 {
    margin: 0 -33px;
    padding: 18px 42px 14px;
    background: var(--selfcare-screen-band);
    color: #5d6266;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.diary-entry-list {
    padding: 16px 0 20px;
}

.diary-entry-card {
    min-height: 102px;
    padding: 18px 21px 17px 25px;
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 18px;
    align-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.94);
    color: #5d6266;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.diary-entry-card + .diary-entry-card {
    margin-top: 16px;
}

.diary-entry-card:active {
    transform: scale(0.98);
}

.diary-entry-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--selfcare-blue);
    line-height: 1;
}

.diary-entry-day {
    color: inherit;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.diary-entry-weekday {
    margin-top: 10px;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.diary-entry-body {
    min-width: 0;
    display: block;
}

.diary-entry-title,
.diary-entry-excerpt {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #5d6266;
    letter-spacing: 0;
    text-overflow: ellipsis;
}

.diary-entry-title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.diary-entry-excerpt {
    display: -webkit-box;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.58;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Diary detail screen */
.diary-detail-page .main-content {
    padding: 0 53px calc(100px + env(safe-area-inset-bottom));
    overflow: hidden;
    background: var(--selfcare-white);
}

.diary-detail-header {
    width: calc(100% + 106px);
    height: calc(121px + env(safe-area-inset-top));
    margin: 0 -53px;
    padding: calc(83px + env(safe-area-inset-top)) 34px 0;
    display: grid;
    grid-template-columns: 42px 1fr 48px;
    align-items: start;
    background: var(--selfcare-blue);
}

.diary-detail-header h1 {
    margin: 3px 0 0;
    color: var(--selfcare-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.diary-detail-back,
.diary-detail-edit {
    -webkit-tap-highlight-color: transparent;
}

.diary-detail-back {
    width: 32px;
    height: 32px;
    display: block;
    position: relative;
    background: url("/common/img/back_white.svg") no-repeat center / 28px 28px;
}

.diary-detail-edit {
    margin-top: 3px;
    color: var(--selfcare-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: right;
    text-decoration: none;
}

.diary-detail-main {
    flex: 1;
    min-height: 0;
    width: calc(100% + 106px);
    margin: 0 -53px;
    padding: 31px 53px 32px;
    background: var(--selfcare-white);
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.diary-detail-main::-webkit-scrollbar {
    display: none;
}

.diary-detail-article h2 {
    margin: 0 0 14px;
    color: #5d6266;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.diary-detail-body {
    color: #5d6266;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.58;
    letter-spacing: 0;
}

@media screen and (min-width: 769px) {
    .app-page .wrapper {
        width: 439px;
        height: 894px;
        min-height: 0;
        max-height: 94vh;
        border: 8px solid #151515;
        border-radius: 52px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    }

    .app-page .wrapper::before {
        content: '';
        position: absolute;
        top: 11px;
        left: 50%;
        width: 110px;
        height: 35px;
        transform: translateX(-50%);
        border-radius: 18px;
        background: #050505;
        z-index: 20;
        pointer-events: none;
    }

    .app-page .main-content {
        height: 100%;
        min-height: 100%;
        overflow-y: auto;
        position: static;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .app-page .app-tabbar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        transform: none;
    }

    .app-page .app-tabbar::before {
        border-bottom-right-radius: 42px;
        border-bottom-left-radius: 42px;
    }

    .home-page .member-header,
    .graph-page .member-header,
    .member-page .member-header,
    .daily-report-header,
    .diary-list-header {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        max-width: none;
        transform: none;
    }

    .daily-report-container {
        padding-top: calc(190px + env(safe-area-inset-top));
    }

    .diary-list-main {
        padding-top: calc(150px + env(safe-area-inset-top));
    }

    .app-page .home-date-sheet {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(84px + env(safe-area-inset-bottom));
        max-width: none;
        transform: translateY(100%);
    }

    .app-page .home-date-sheet.is-open {
        transform: translateY(0);
    }

    .app-page .main-content::-webkit-scrollbar {
        display: none;
    }

    .graph-page .main-content {
        overflow: hidden;
    }

    .graph-page .graph-main {
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 116px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .graph-page .graph-main::-webkit-scrollbar {
        display: none;
    }

    .activity-page .main-content {
        min-height: 100%;
    }

    .activity-page .activity-timeline {
        height: 773px;
    }

    .diary-page .main-content {
        min-height: 100%;
    }

    .diary-edit-main {
        height: 773px;
    }

    .diary-list-main {
        height: 690px;
    }

    .diary-detail-main {
        height: 690px;
    }

    .condition-complete-main {
        padding: calc(82px + env(safe-area-inset-top)) 24px calc(82px + env(safe-area-inset-bottom));
    }
}

@media screen and (max-width: 768px) {
    .app-page .main-content {
        padding-right: 24px;
        padding-left: 24px;
    }

    .member-header {
        width: calc(100% + 48px);
        min-height: 0;
        margin-right: -24px;
        margin-left: -24px;
        padding-top: calc(13px + env(safe-area-inset-top));
    }

    .home-page .member-header,
    .graph-page .member-header,
    .member-page .member-header,
    .diary-list-header {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        transform: none;
    }

    .home-page .home-main {
        padding-top: calc(85px + env(safe-area-inset-top));
    }

    .graph-page .graph-main,
    .diary-list-page .diary-list-main,
    .member-page .member-main {
        padding-top: calc(85px + env(safe-area-inset-top));
    }

    .member-send-history-main {
        width: calc(100% + 48px);
        margin-right: -24px;
        margin-left: -24px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .member-send-history-header h1 {
        font-size: 17px;
    }

    .member-send-history-row {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .member-send-history-row dt,
    .member-send-history-row dd {
        font-size: 16px;
    }

    .graph-main {
        width: calc(100% + 24px);
        margin-right: -12px;
        margin-left: -12px;
    }

    .member-card {
        padding-left: 28px;
    }

    .member-card-eap {
        padding-right: 18px;
        padding-left: 28px;
    }

    .member-card-text {
        font-size: 16px;
    }

    .member-card-eap .member-card-text {
        font-size: 18px;
    }

    .member-card-character {
        gap: 10px;
    }

    .member-card-character-image {
        width: 96px;
        flex-basis: 96px;
    }

    .member-history-link {
        height: 46px;
        margin-bottom: 42px;
        font-size: 15px;
    }

    .daily-report-header,
    .daily-report-container {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .daily-report-header {
        height: auto;
        min-height: calc(109px + env(safe-area-inset-top));
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-right: 24px;
        padding-left: 24px;
        grid-template-rows: 41px 54px;
    }

    .daily-report-header::after {
        top: calc(54px + env(safe-area-inset-top));
    }

    .daily-report-header .date-calendar {
        width: calc(100% + 48px);
        margin-right: -24px;
        margin-left: -24px;
    }

    .daily-report-header .diary-calendar-button.has-label {
        padding-right: 32px;
        padding-left: 24px;
        font-size: 19px;
        gap: 44px;
    }

    .report-list {
        padding-right: 0;
        padding-left: 0;
    }

    .report-item {
        padding-right: 30px;
        padding-left: 30px;
    }

    .activity-page .main-content {
        padding-right: 0;
        padding-left: 0;
    }

    .activity-record-page .main-content {
        padding-right: 0;
        padding-left: 0;
    }

    .activity-record-header {
        min-height: calc(54px + env(safe-area-inset-top));
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-right: 24px;
        padding-bottom: 0;
        padding-left: 24px;
        grid-template-columns: 44px 1fr 58px;
        align-items: start;
    }

    .activity-record-header h1 {
        margin-top: 0;
        font-size: 18px;
    }

    .activity-record-edit {
        font-size: 18px;
    }

    .activity-record-main {
        padding: 30px 30px calc(84px + env(safe-area-inset-bottom));
    }

    .activity-record-timeline {
        height: calc(100dvh - 54px - 225px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .activity-record-memos-main {
        padding-top: 30px;
    }

    .condition-page .main-content {
        padding: 0;
    }

    .condition-header {
        height: auto;
        min-height: calc(54px + env(safe-area-inset-top));
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-right: 24px;
        padding-bottom: 0;
        padding-left: 24px;
        align-items: start;
    }

    .condition-main {
        padding: 26px 30px 0;
    }

    .condition-complete-page .main-content {
        padding: 0;
    }

    .condition-complete-main {
        padding-top: calc(56px + env(safe-area-inset-top));
    }

    .activity-header {
        height: auto;
        min-height: calc(54px + env(safe-area-inset-top));
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-right: 24px;
        padding-bottom: 0;
        padding-left: 24px;
        align-items: start;
    }

    .activity-header h1 {
        margin-top: 0;
    }

    .activity-header-back,
    .diary-edit-back {
        margin-left: -2px;
    }

    .activity-timeline {
        height: calc(100dvh - 54px - env(safe-area-inset-top));
    }

    .diary-page .main-content {
        padding-right: 0;
        padding-left: 0;
    }

    .diary-edit-header {
        height: auto;
        min-height: calc(54px + env(safe-area-inset-top));
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-right: 24px;
        padding-bottom: 0;
        padding-left: 24px;
        align-items: start;
    }

    .diary-edit-header h1 {
        margin-top: 0;
    }

    .diary-edit-form {
        padding: 30px 30px calc(36px + env(safe-area-inset-bottom));
    }

    .diary-list-page .main-content {
        padding-right: 33px;
        padding-left: 33px;
    }

    .diary-list-header {
        min-height: 0;
        padding-top: calc(13px + env(safe-area-inset-top));
    }

    .diary-detail-page .main-content {
        padding-right: 53px;
        padding-left: 53px;
    }

    .diary-detail-header {
        height: auto;
        min-height: 0;
        padding-top: calc(13px + env(safe-area-inset-top));
        padding-bottom: 14px;
        align-items: center;
    }

    .diary-detail-header h1,
    .diary-detail-edit {
        margin-top: 0;
    }
}

@media screen and (max-width: 390px) {
    .activity-header {
        padding-right: 24px;
        padding-left: 24px;
        grid-template-columns: 44px 1fr 58px;
    }

    .activity-sheet {
        left: 30px;
        right: 30px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .activity-field-row {
        grid-template-columns: 78px 1fr;
    }

    .activity-record-main,
    .activity-record-memos-main {
        padding-right: 24px;
        padding-left: 24px;
    }

    .activity-record-date-nav {
        grid-template-columns: 34px 1fr 34px;
    }

    .activity-record-date-nav h2 {
        font-size: 18px;
    }

    .activity-record-legend {
        gap: 10px;
        margin-left: 0;
        font-size: 13px;
    }

    .activity-record-hour-row {
        grid-template-columns: 55px 1fr;
    }

    .activity-record-events {
        left: 61px;
        right: 12px;
    }

    .activity-record-week-head {
        margin-left: 55px;
    }

    .activity-record-timeline.is-week .activity-record-events {
        left: 61px;
        right: 8px;
    }

    .activity-record-memo-card strong,
    .activity-record-memo-card time {
        font-size: 15px;
    }

    .activity-record-memo-card p,
    .activity-record-empty {
        font-size: 16px;
    }

    .diary-edit-header {
        padding-right: 24px;
        padding-left: 24px;
        grid-template-columns: 44px 1fr 58px;
    }

    .diary-edit-form {
        padding-right: 30px;
        padding-left: 30px;
    }

    .diary-list-page .main-content {
        padding-right: 24px;
        padding-left: 24px;
    }

    .diary-list-header,
    .diary-list-main {
        width: calc(100% + 48px);
        margin-right: -24px;
        margin-left: -24px;
    }

    .diary-list-header {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .diary-list-main {
        padding-right: 24px;
        padding-left: 24px;
    }

    .diary-month-section h2 {
        margin-right: -24px;
        margin-left: -24px;
        padding-right: 33px;
        padding-left: 33px;
    }

    .diary-detail-page .main-content {
        padding-right: 30px;
        padding-left: 30px;
    }

    .diary-detail-header,
    .diary-detail-main {
        width: calc(100% + 60px);
        margin-right: -30px;
        margin-left: -30px;
    }

    .diary-detail-header {
        padding-right: 22px;
        padding-left: 22px;
        grid-template-columns: 36px 1fr 42px;
    }

    .diary-detail-header h1 {
        font-size: 15px;
    }

    .diary-detail-edit {
        font-size: 15px;
    }

    .diary-detail-main {
        padding-right: 30px;
        padding-left: 30px;
    }

    .daily-report-page .main-content {
        padding-right: 0;
        padding-left: 0;
    }

    .daily-report-header {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .daily-report-container {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-top: 15px;
    }

    .report-list {
        padding-right: 0;
        padding-left: 0;
    }

    .report-item {
        padding-right: 30px;
        padding-left: 30px;
    }
}
