@font-face {
    font-family: "LGSmart";
    src: url("../fonts/LGSmHaR.cbecf2a06f6b.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "LGSmart";
    src: url("../fonts/LGSmHaL.f99f9a542e13.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "LGSmart";
    src: url("../fonts/LGSmHaSB.e19017182f67.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "LGSmart";
    src: url("../fonts/LGSmHaB.d5567bbfd97b.ttf") format("truetype");
    font-weight: 700;
}

:root {
    --uplus-primary: #d60078;
    --uplus-primary-dark: #a5005f;
    --uplus-blush: #fff0f6;
    --uplus-peach: #fff7ef;
    --uplus-cream: #fffaf4;
    --uplus-text: #29242a;
    --uplus-muted: #756d74;
    --uplus-border: #eee6e9;
}

/* Shared content-view log: collapsible center receipt summary. */
.center-receipt-panel {
    border: 1px solid #eadfe5;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.center-receipt-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    background: #fff9fb;
}

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

.center-receipt-summary-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.center-receipt-summary-title i {
    color: var(--uplus-primary);
}

.center-receipt-summary-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.center-receipt-confirmed-badge {
    color: #137a4c;
    background: #e7f7ef;
}

.center-receipt-unconfirmed-badge {
    color: #c72b50;
    background: #ffe8ee;
}

.center-receipt-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    color: #756871;
    font-size: 0.875rem;
    white-space: nowrap;
}

.center-receipt-toggle-label .when-open {
    display: none;
}

.center-receipt-panel[open] .center-receipt-toggle-label .when-closed {
    display: none;
}

.center-receipt-panel[open] .center-receipt-toggle-label .when-open {
    display: inline;
}

.center-receipt-toggle-label i {
    transition: transform 0.2s ease;
}

.center-receipt-panel[open] .center-receipt-toggle-label i {
    transform: rotate(180deg);
}

.center-receipt-body {
    padding: 16px 18px 18px;
    border-top: 1px solid #eadfe5;
}

.center-receipt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.center-receipt-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.center-receipt-table {
    min-width: 900px;
}

.center-receipt-center-name {
    min-width: 265px;
    font-weight: 600;
}

.center-receipt-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.center-receipt-status.is-confirmed {
    color: #137a4c;
    background: #e7f7ef;
}

.center-receipt-status.is-unconfirmed {
    color: #c72b50;
    background: #ffe8ee;
}

.center-receipt-status.is-no-target {
    color: #6d6269;
    background: #f0edef;
}

.center-receipt-reader-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--uplus-primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.center-receipt-reader-details li {
    padding-top: 3px;
    font-size: 0.78rem;
}

.collection-reply-header {
    min-height: 32px;
}

.collection-reply-destination-card {
    padding: 18px;
    border: 1px solid #eadfe5;
    border-radius: 14px;
    background: #fff9fb;
}

.collection-reply-destination-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.collection-reply-destination-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex: 0 0 auto;
    color: var(--uplus-primary);
    background: #ffe7f2;
}

.collection-reply-destination-options > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 8px;
}

.collection-reply-destination-options > div > div {
    min-width: 0;
}

.collection-reply-destination-options label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e8dce2;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    overflow-wrap: anywhere;
}

.collection-reply-destination-options input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.1rem;
    flex: 0 0 auto;
    accent-color: var(--uplus-primary);
}

.collection-reply-destination-options label:has(input:checked) {
    border-color: #e05099;
    box-shadow: 0 0 0 2px rgba(214, 0, 120, 0.1);
    background: #fff1f7;
}

.collection-reply-destination-badge {
    border: 1px solid #efbfd6;
    color: #a5005f;
    background: #fff0f6;
    font-weight: 600;
    white-space: normal;
}

.collection-reply-summary-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    cursor: pointer;
    list-style: none;
    color: var(--uplus-primary);
    font-size: 0.875rem;
}

.collection-reply-summary-toggle::-webkit-details-marker {
    display: none;
}

.collection-reply-summary-title,
.collection-reply-summary-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.collection-reply-summary-state {
    color: var(--uplus-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.collection-reply-summary-state .when-open {
    display: none;
}

.collection-reply-summary-state i {
    transition: transform 0.2s ease;
}

.collection-reply-summary[open] .collection-reply-summary-state .when-closed {
    display: none;
}

.collection-reply-summary[open] .collection-reply-summary-state .when-open {
    display: inline;
}

.collection-reply-summary[open] .collection-reply-summary-state i {
    transform: rotate(180deg);
}

.collection-reply-summary-list {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid var(--uplus-border);
}

.collection-reply-content {
    padding: 14px 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 10px;
    background: #fcfafb;
}

.collection-reply-content > :last-child {
    margin-bottom: 0;
}

.collection-reply-files {
    display: flex;
    align-items: center;
    gap: 12px;
}

.collection-reply-files > div {
    min-width: 0;
}

.collection-reply-files .btn {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
}

@media (max-width: 575.98px) {
    .collection-reply-destination-card {
        padding: 14px;
    }

    .collection-reply-destination-options > div {
        grid-template-columns: 1fr;
    }

    .collection-reply-files {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .center-receipt-summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .center-receipt-summary-counts {
        order: 3;
        width: 100%;
    }

    .center-receipt-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .center-receipt-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

body {
    font-family: "LGSmart", sans-serif;
}

/* Rich-editor HTML must remain usable on narrow screens without making the
   entire page scroll horizontally. All rich-post detail views share this
   class, so pasted images, long links, code and wide tables behave alike. */
.rich-post-content {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Saved font-size tokens use the editor's exact scale. Detail pages do not
   load editor-only CSS, and existing posts need to work without being saved again. */
.rich-post-content [data-font-size="small"] { font-size: 0.875rem; }
.rich-post-content [data-font-size="normal"] { font-size: 1rem; }
.rich-post-content [data-font-size="large"] { font-size: 1.25rem; }
.rich-post-content [data-font-size="x-large"] { font-size: 1.5rem; }

.rich-post-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rich-post-content img {
    max-width: 100% !important;
    height: auto !important;
}

.rich-post-content figure,
.rich-post-content pre {
    max-width: 100%;
}

.rich-post-content pre {
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

.rich-post-content table {
    display: block;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.uplus-shell {
    --lte-sidebar-width: 240px;
    color: var(--uplus-text);
    background: #fbfaf9;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 992px) {
    body.uplus-shell {
        --lte-sidebar-width: 252px;
    }
}

.uplus-shell .app-wrapper,
.uplus-shell .app-main {
    background: #fbfaf9;
}

.uplus-guest-shell .app-wrapper {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
}

.uplus-guest-shell .app-header,
.uplus-guest-shell .app-main {
    position: relative;
    inset: auto;
    width: 100%;
    margin-left: 0 !important;
}

.uplus-guest-shell .app-header {
    flex: 0 0 auto;
}

.uplus-guest-shell .app-main {
    flex: 1 1 auto;
}

.uplus-topbar {
    min-height: calc(72px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--uplus-border);
    background: #fff !important;
    box-shadow: none;
}

.uplus-menu-toggle {
    color: #393238;
    font-size: 24px;
}

.uplus-header-brand {
    display: block;
    min-width: max-content;
    color: #3f373d;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.uplus-header-brand:hover {
    color: var(--uplus-primary);
}

.uplus-header-brand-short {
    display: none;
}

.uplus-header-leading,
.uplus-header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.uplus-user-menu .nav-link {
    color: #4b4449;
}

.uplus-profile-link {
    color: #4b4449;
    text-decoration: none;
}

.uplus-profile-link:hover {
    color: var(--uplus-primary);
}

.uplus-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--uplus-blush);
    color: var(--uplus-primary);
    font-weight: 700;
}

.uplus-sidebar {
    border-right: 1px solid var(--uplus-border);
    background: #fff !important;
    box-shadow: none !important;
}

.uplus-sidebar .sidebar-brand {
    height: calc(72px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid var(--uplus-border);
    background: #fff;
}

.uplus-sidebar .brand-link {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 100%;
    padding: 0 20px;
    color: #2f292e;
    text-decoration: none;
}

.uplus-brand-mark {
    display: block;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.uplus-sidebar .sidebar-wrapper {
    display: flex;
    flex-direction: column;
    padding: 8px max(8px, env(safe-area-inset-right, 0px)) 8px max(8px, env(safe-area-inset-left, 0px));
}

.uplus-sidebar .sidebar-wrapper > nav,
.uplus-sidebar .sidebar-menu {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
}

.uplus-sidebar .sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 3px;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 12px;
    color: #554d53;
    transition: background-color .18s ease, color .18s ease;
}

.uplus-sidebar .sidebar-menu .uplus-tiered-link::before {
    display: inline-flex;
    align-items: center;
    flex: 0 0 16px;
    min-width: 16px;
    color: var(--uplus-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    white-space: nowrap;
}

.uplus-sidebar .sidebar-menu .uplus-tiered-link[data-menu-level="1"]::before {
    content: "\2022";
}

.uplus-sidebar .sidebar-menu .uplus-tiered-link[data-menu-level="2"]::before {
    content: "\2022\2022";
}

.uplus-sidebar .sidebar-menu .uplus-tiered-link[data-menu-level="3"]::before {
    content: "\2022\2022\2022";
}

.uplus-sidebar .uplus-menu-en {
    display: inline;
    margin-left: 2px;
    color: #8f858c;
    font-size: .58em;
    font-weight: 400;
    white-space: nowrap;
}

.uplus-sidebar .sidebar-menu .nav-link > p {
    display: flex;
    align-items: center;
    min-width: 0;
}

.uplus-menu-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-left: 3px;
    border-radius: 999px;
    background: var(--uplus-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(225, 0, 115, .22);
}

html[data-uplus-theme="dark"] .uplus-menu-new-badge {
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 48, 151, .3);
}

.uplus-sidebar .sidebar-menu .nav-link:hover {
    background: #faf3f6;
    color: var(--uplus-primary);
}

.uplus-sidebar .sidebar-menu .nav-link.active {
    background: #fdeaf2;
    color: var(--uplus-primary);
    box-shadow: none;
    font-weight: 600;
}

.uplus-sidebar .sidebar-menu .nav-icon {
    margin-right: 2px;
    font-size: 17px;
    line-height: 1;
}

.uplus-sidebar .nav-header {
    padding: 12px 14px 5px;
    color: #9a9097;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.uplus-sidebar .uplus-role-menu-divider {
    border-top: 1px solid #d7dce3;
    margin: 0.45rem 1.15rem 0.3rem;
}

.uplus-sidebar .uplus-sidebar-privacy {
    margin-top: auto;
    padding-top: 8px;
}

.uplus-sidebar .uplus-sidebar-privacy .nav-link {
    margin-bottom: 0;
    padding: 7px 14px;
    border-top: 1px solid var(--uplus-border);
    border-radius: 0;
    color: #9a9097;
    font-size: 11px;
}

.uplus-sidebar .uplus-sidebar-privacy .nav-icon {
    font-size: 13px;
}

@media (max-width: 991.98px), (pointer: coarse) {
    .uplus-sidebar .sidebar-menu .nav-link {
        min-height: 44px;
    }
}

.uplus-shell .app-content-header {
    padding: 28px 24px 14px;
}

.uplus-shell .app-content-header h3 {
    font-size: 26px;
    font-weight: 700;
}

.uplus-shell .app-content {
    padding: 0 max(24px, env(safe-area-inset-right, 0px)) max(36px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
}

.uplus-shell .app-content-header .container-fluid,
.uplus-shell .app-content .container-fluid {
    max-width: 1440px;
}

.uplus-shell .card {
    border: 1px solid var(--uplus-border);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(57, 36, 47, .06);
}

.uplus-shell .btn-primary {
    border-color: var(--uplus-primary);
    background: var(--uplus-primary);
}

.uplus-shell .btn-primary:hover,
.uplus-shell .btn-primary:focus {
    border-color: var(--uplus-primary-dark);
    background: var(--uplus-primary-dark);
}

.uplus-shell .app-footer {
    border-top: 1px solid var(--uplus-border);
    background: #fff;
    color: var(--uplus-muted);
}

.admin-header-status {
    flex: 1 1 auto;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
}

.admin-header-status::-webkit-scrollbar {
    display: none;
}

.admin-header-status-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    color: #495057;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.admin-header-status-link:hover {
    border-color: var(--uplus-primary);
    color: var(--uplus-primary);
}

.admin-header-status-link.is-highlighted {
    border-color: #e6c800;
    background: #fffdf2;
    box-shadow: 0 0 0 1px rgba(230, 200, 0, .14);
}

.admin-header-status-link span {
    min-width: 18px;
    padding: 3px 4px;
    border-radius: 999px;
    background-color: var(--uplus-primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

/* Dashboard */
.dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 20px 26px;
    overflow: hidden;
    border: 1px solid #f4dce7;
    border-radius: 18px;
    background: linear-gradient(115deg, #fff 0%, #fff4f8 54%, #fff8f1 100%);
    box-shadow: 0 10px 26px rgba(80, 43, 61, .06);
}

.dashboard-welcome::after {
    position: absolute;
    top: -55px;
    right: 12%;
    width: 150px;
    height: 150px;
    border: 26px solid rgba(214, 0, 120, .035);
    border-radius: 50%;
    content: "";
}

.dashboard-welcome-avatar {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #fff;
    color: var(--uplus-primary);
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(214, 0, 120, .12);
}

.dashboard-welcome h4 {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.dashboard-welcome p {
    position: relative;
    z-index: 1;
    color: var(--uplus-muted);
}

.dashboard-welcome-date {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(214, 0, 120, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #7b6671;
    font-size: 13px;
}

.dashboard-welcome-tools {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
}

.uplus-header-theme-item {
    display: flex;
    align-items: center;
}

/* The administrator header also shows six approval counters. Keep those
   counters fully visible by using the compact theme control in that layout. */
.admin-header-status + .uplus-header-actions .uplus-header-theme-item {
    margin-right: 5px !important;
}

.admin-header-status + .uplus-header-actions .uplus-theme-toggle {
    gap: 5px;
    padding-inline: 8px;
}

.admin-header-status + .uplus-header-actions .uplus-theme-label {
    display: none;
}

.uplus-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #eadde4;
    border-radius: 999px;
    background: #fffafd;
    color: #6f626a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.uplus-theme-toggle:hover {
    border-color: #e7b8cf;
    background: #fff2f8;
    color: var(--uplus-primary);
}

.uplus-theme-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.uplus-theme-switch {
    position: relative;
    width: 38px;
    height: 21px;
    flex: 0 0 auto;
    border: 1px solid #d9cbd2;
    border-radius: 999px;
    background: #e9e3e6;
    transition: background-color .18s ease, border-color .18s ease;
}

.uplus-theme-switch::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(42, 31, 37, .24);
    content: "";
    transition: transform .18s ease;
}

.uplus-theme-toggle input:checked + .uplus-theme-switch {
    border-color: var(--uplus-primary);
    background: var(--uplus-primary);
}

.uplus-theme-toggle input:checked + .uplus-theme-switch::after {
    transform: translateX(17px);
}

.uplus-theme-toggle input:focus-visible + .uplus-theme-switch {
    outline: 3px solid rgba(214, 0, 120, .2);
    outline-offset: 2px;
}

html[data-uplus-theme="dark"] .uplus-theme-toggle {
    border-color: #51454c;
    background: #2b252a;
    color: #eadde5;
}

html[data-uplus-theme="dark"] .uplus-theme-toggle:hover {
    border-color: #8a496b;
    background: #35272f;
    color: #ff83c3;
}

html[data-uplus-theme="dark"] .uplus-theme-switch {
    border-color: #64565e;
    background: #4a4147;
}

.dashboard-panel {
    overflow: hidden;
    border: 1px solid var(--uplus-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(70, 46, 58, .06);
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 16px 22px;
    border-bottom: 1px solid #f1ebee;
}

.dashboard-panel-header h5 {
    font-weight: 700;
}

.dashboard-schedule-panel {
  overflow: hidden;
}

.dashboard-schedule-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
}

.dashboard-schedule-item {
  --schedule-accent: #d6006d;
  display: flex;
  min-width: 0;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  color: var(--bs-body-color);
  text-decoration: none;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.8rem;
  background: var(--bs-body-bg);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-schedule-item:hover {
  color: var(--bs-body-color);
  border-color: var(--schedule-accent);
  transform: translateY(-1px);
  box-shadow: 0 0.35rem 0.9rem rgba(25, 33, 49, 0.08);
}

.dashboard-schedule-date {
  flex: 0 0 3rem;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 3.25rem;
  overflow: hidden;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--schedule-accent);
  line-height: 1;
}

.dashboard-schedule-date small {
  margin-bottom: 0.2rem;
  font-size: 0.69rem;
  opacity: 0.9;
}

.dashboard-schedule-date strong {
  font-size: 1.2rem;
}

.dashboard-schedule-copy {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.dashboard-schedule-copy strong,
.dashboard-schedule-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-schedule-copy strong {
  font-size: 0.93rem;
}

.dashboard-schedule-copy small,
.dashboard-schedule-empty {
  color: var(--bs-secondary-color);
  font-size: 0.79rem;
}

.dashboard-schedule-empty {
  grid-column: 1 / -1;
  padding: 1rem 0.25rem;
  text-align: center;
}

.dashboard-schedule-empty i {
  margin-right: 0.35rem;
}

@media (max-width: 1199.98px) {
  .dashboard-schedule-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dashboard-schedule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.85rem;
  }
}

@media (max-width: 479.98px) {
  .dashboard-schedule-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--uplus-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
}

.dashboard-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--uplus-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-more-link:hover {
    color: var(--uplus-primary-dark);
}

.dashboard-notice-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 11px 22px;
    border-bottom: 1px solid #f3edef;
    color: var(--uplus-text);
    text-decoration: none;
    transition: background-color .16s ease;
}

.dashboard-notice-item:last-child {
    border-bottom: 0;
}

.dashboard-notice-item:hover {
    background: #fffbfd;
    color: var(--uplus-primary-dark);
}

.dashboard-notice-badge {
    min-width: 42px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--uplus-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.dashboard-notice-badge.regular {
    background: #f2ecef;
    color: #796f75;
}

.dashboard-notice-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-notice-item time {
    color: #958b91;
    font-size: 12px;
}

.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    color: #9c9298;
}

.dashboard-empty-state i {
    margin-bottom: 10px;
    color: #d7cbd1;
    font-size: 30px;
}

.dashboard-metric-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 94px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--uplus-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dashboard-metric-card:hover {
    color: var(--uplus-text);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(74, 42, 58, .09);
}

.metric-notice {
    border-color: #f4dce7;
    background: var(--uplus-blush);
}

.metric-survey {
    border-color: #f1e7dc;
    background: var(--uplus-peach);
}

.metric-report {
    border-color: #f1ead3;
    background: #fff9e9;
}

.dashboard-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .76);
    color: var(--uplus-primary);
    font-size: 18px;
}

.metric-survey .dashboard-metric-icon {
    color: #a65d37;
}

.metric-report .dashboard-metric-icon {
    color: #a97913;
}

.dashboard-metric-content {
    display: flex;
    flex-direction: column;
    color: #71666c;
    font-size: 12px;
}

.dashboard-metric-content strong {
    margin-top: 2px;
    color: var(--uplus-text);
    font-size: 24px;
    line-height: 1.1;
}

.dashboard-metric-content small {
    margin-left: 2px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-metric-arrow {
    margin-left: auto;
    color: rgba(80, 62, 71, .35);
    font-size: 13px;
}

.dashboard-task-panel {
    overflow: hidden;
    border: 1px solid #f4dce7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(70, 46, 58, .06);
}

.dashboard-task-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 13px 18px;
    border-bottom: 1px solid #f1ebee;
}

.dashboard-task-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.dashboard-task-header strong {
    color: var(--uplus-primary);
    font-size: 13px;
}

.dashboard-task-list {
    padding: 3px 14px 6px;
}

.dashboard-task-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 12px;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    border-bottom: 1px solid #f3edef;
    color: var(--uplus-text);
    font-size: 13px;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}

.dashboard-task-item:last-child {
    border-bottom: 0;
}

.dashboard-task-item:hover {
    background: #fffbfd;
    color: var(--uplus-primary-dark);
}

.dashboard-task-item.is-highlighted {
    margin-block: 3px;
    padding-inline: 7px;
    border: 1px solid #e6c800;
    border-radius: 10px;
    background: #fffdf2;
    box-shadow: 0 0 0 1px rgba(230, 200, 0, .1);
}

.dashboard-task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #fff0f6;
    color: var(--uplus-primary);
    font-size: 14px;
}

.dashboard-task-questionnaire .dashboard-task-icon {
    background: #f4efff;
    color: #8158dc;
}

.dashboard-task-collection .dashboard-task-icon {
    background: #eef6ff;
    color: #347edb;
}

.dashboard-task-secret .dashboard-task-icon {
    background: #fff8e7;
    color: #a97913;
}

.dashboard-task-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-task-item strong {
    color: var(--uplus-primary);
    font-size: 12px;
    white-space: nowrap;
}

.dashboard-task-arrow {
    color: rgba(80, 62, 71, .35);
    font-size: 11px;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: 16px;
}

.dashboard-board-card {
    overflow: hidden;
    min-width: 0;
    min-height: 218px;
    border: 1px solid var(--uplus-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(70, 46, 58, .05);
}

.dashboard-page .dashboard-board-card.dashboard-recent-card {
    border: 2px solid #e6c800;
    background: #fffdf2;
    box-shadow:
        0 0 0 1px rgba(230, 200, 0, .14),
        0 10px 26px rgba(126, 110, 0, .14);
}

.dashboard-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 13px 18px;
    border-bottom: 1px solid #f1ebee;
}

.dashboard-board-heading {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.dashboard-board-heading h5 {
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-board-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fdeaf2;
    color: var(--uplus-primary);
    font-size: 16px;
}

.dashboard-board-card-hr .dashboard-board-icon,
.dashboard-board-card-collaboration .dashboard-board-icon {
    background: #eef6ff;
    color: #347edb;
}

.dashboard-board-card-questionnaire .dashboard-board-icon {
    background: #f4efff;
    color: #8158dc;
}

.dashboard-board-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 5px 18px;
    color: var(--uplus-text);
    font-size: 13px;
    text-decoration: none;
}

.dashboard-board-item:first-child {
    padding-top: 10px;
}

.dashboard-board-item:last-child {
    padding-bottom: 10px;
}

.dashboard-board-item:hover {
    background: #fffbfd;
    color: var(--uplus-primary-dark);
}

.dashboard-board-item-main {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.dashboard-recent-source {
    overflow: hidden;
    flex: 0 0 auto;
    max-width: 92px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--uplus-blush);
    color: var(--uplus-primary-dark);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-recent-source.is-important {
    background: var(--uplus-primary);
    color: #fff;
}

.dashboard-recent-source.is-recent-pinned {
    background: #fff0b3;
    color: #704900;
    box-shadow: inset 0 0 0 1px #dfb84d;
}

.dashboard-recent-source.is-recent-pinned .bi {
    margin-right: 3px;
}

.dashboard-board-item-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-important-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 31px;
    height: 19px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--uplus-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.dashboard-board-item time {
    color: #958b91;
    font-size: 11px;
}

.dashboard-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--uplus-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.dashboard-board-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    padding: 18px;
    color: #9c9298;
    font-size: 13px;
    text-align: center;
}

@media (min-width: 992px) {
    .dashboard-welcome {
        min-height: 78px;
        padding: 11px 20px;
    }

    .dashboard-welcome-avatar {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 19px;
    }

    .dashboard-welcome h4 {
        font-size: 1.2rem;
    }

    .dashboard-welcome p {
        font-size: 13px;
    }

    .dashboard-welcome-date {
        padding: 5px 11px;
        font-size: 12px;
    }

    .dashboard-panel-header {
        min-height: 50px;
        padding: 8px 18px;
    }

    .dashboard-notice-item {
        min-height: 34px;
        padding: 4px 18px;
    }

    .dashboard-empty-state {
        min-height: 215px;
    }

    .dashboard-metric-card {
        min-height: 66px;
        padding: 8px 14px;
    }

    .dashboard-metric-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .dashboard-metric-content strong {
        font-size: 19px;
    }

    .dashboard-content-grid {
        gap: 12px;
    }

    .dashboard-board-card {
        min-height: 188px;
    }

    .dashboard-board-header {
        min-height: 46px;
        padding: 7px 15px;
    }

    .dashboard-board-item {
        min-height: 27px;
        padding: 3px 15px;
    }

    .dashboard-board-item:first-child {
        padding-top: 5px;
    }

    .dashboard-board-item:last-child {
        padding-bottom: 5px;
    }

    .dashboard-board-empty {
        min-height: 140px;
        padding: 14px;
    }
}

@media (max-width: 1199.98px) {
    .dashboard-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .uplus-header-brand-full {
        display: none;
    }

    .uplus-header-brand-short {
        display: inline;
    }

    .admin-header-status-link {
        padding: 4px 5px;
        font-size: 10px;
    }
}

@media (max-width: 849.98px) {
    .uplus-header-brand-item {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .uplus-shell .app-content-header {
        padding: 24px max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px));
    }

    .uplus-shell .app-content {
        padding: 0 max(18px, env(safe-area-inset-right, 0px)) max(30px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    }

    .dashboard-metric-card {
        min-height: 94px;
    }

}

@media (max-width: 767.98px) {
    .uplus-topbar,
    .uplus-sidebar .sidebar-brand {
        min-height: calc(64px + env(safe-area-inset-top, 0px));
        height: calc(64px + env(safe-area-inset-top, 0px));
    }

    .uplus-topbar {
        padding: env(safe-area-inset-top, 0px) max(4px, env(safe-area-inset-right, 0px)) 0 max(4px, env(safe-area-inset-left, 0px));
    }

    .notification-wrapper {
        margin-right: 5px !important;
    }

    .uplus-header-theme-item {
        margin-right: 5px !important;
    }

    .uplus-theme-toggle {
        gap: 5px;
        min-height: 36px;
        padding: 6px 8px;
    }

    .uplus-user-menu .nav-link {
        gap: 3px !important;
        padding-right: 0;
    }

    .uplus-user-menu .btn {
        margin-left: 3px !important;
    }

    .uplus-shell .app-content-header {
        padding: 20px max(12px, env(safe-area-inset-right, 0px)) 10px max(12px, env(safe-area-inset-left, 0px));
    }

    .uplus-shell .app-content-header h3 {
        font-size: 23px;
    }

    .uplus-shell .app-content {
        padding: 0 max(12px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    }

    .dashboard-welcome {
        min-height: 108px;
        flex-wrap: wrap;
        padding: 19px 18px;
    }

    .dashboard-welcome-tools {
        flex: 0 0 100%;
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
        gap: 12px;
        margin-left: 0;
    }

    .uplus-theme-label {
        display: none;
    }

    .dashboard-welcome-date {
        padding: 6px 10px;
        font-size: 11px;
    }

    .dashboard-welcome-avatar {
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 23px;
    }

    .dashboard-welcome h4 {
        font-size: 18px;
    }

    .dashboard-welcome p {
        font-size: 13px;
    }

    .dashboard-panel-header {
        min-height: 72px;
        padding: 17px 18px;
    }

    .dashboard-notice-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 11px;
        padding: 13px 18px;
    }

    .dashboard-notice-item time {
        grid-column: 2;
    }

    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-board-item:nth-child(n + 4) {
        display: none;
    }

    .dashboard-recent-card .dashboard-board-item:nth-child(-n + 5) {
        display: grid;
    }

    .dashboard-board-card {
        min-height: 160px;
    }

}

@media (max-width: 575.98px) {
    .uplus-theme-toggle > i {
        display: none;
    }
}

@media (max-width: 399.98px) {
    .uplus-user-avatar {
        display: none;
    }

    .dashboard-welcome {
        gap: 12px;
    }
}

/* Dashboard: dense desktop workspace with a compact personal rail. */
.dashboard-page,
.dashboard-main-column,
.dashboard-rail { min-width: 0; }

.dashboard-layout,
.dashboard-main-column,
.dashboard-rail,
.dashboard-content-grid {
    display: grid;
    gap: 12px;
}

.dashboard-layout { grid-template-areas: "rail" "main"; }
.dashboard-main-column { grid-area: main; align-content: start; }
.dashboard-rail { grid-area: rail; align-content: start; }
.dashboard-content-grid > * { min-width: 0; height: 100%; }

.dashboard-welcome-rail {
    display: grid;
    min-height: 0;
    gap: 9px;
    padding: 13px;
}

.dashboard-welcome-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.dashboard-welcome-copy {
    flex: 1 1 auto;
    min-width: 0;
}
.dashboard-welcome-rail .dashboard-welcome-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 17px;
}

.dashboard-welcome-rail h4,
.dashboard-welcome-rail p {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
}

.dashboard-welcome-rail h4 { font-size: 14px; white-space: nowrap; }
.dashboard-welcome-rail p { margin-top: 2px; font-size: 10px; line-height: 1.3; }

.dashboard-welcome-news-trigger {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--uplus-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.dashboard-welcome-news-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-welcome-news-trigger strong { font-weight: 800; }

.dashboard-welcome-news-trigger > i {
    flex: 0 0 auto;
    font-size: 8px;
    transition: transform .16s ease;
}

.dashboard-welcome-news-trigger[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.dashboard-welcome-news-trigger:hover,
.dashboard-welcome-news-trigger:focus-visible {
    color: #a6005d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dashboard-welcome-news-trigger:focus-visible {
    outline: 2px solid rgba(214, 0, 120, .28);
    outline-offset: 3px;
}

.dashboard-news-popover {
    --news-popover-arrow-left: 50%;
    position: fixed;
    z-index: 1090;
    width: min(390px, calc(100vw - 16px));
    max-height: min(430px, calc(100vh - 16px));
    overflow: hidden;
    border: 1px solid #ead9e2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(65, 35, 50, .2);
    color: #30262c;
}

.dashboard-news-popover[hidden] { display: none !important; }

.dashboard-news-popover::before {
    position: absolute;
    left: calc(var(--news-popover-arrow-left) - 7px);
    width: 14px;
    height: 14px;
    border: 1px solid #ead9e2;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

.dashboard-news-popover[data-placement="bottom"]::before {
    top: -8px;
    border-right: 0;
    border-bottom: 0;
}

.dashboard-news-popover[data-placement="top"]::before {
    bottom: -8px;
    border-top: 0;
    border-left: 0;
}

.dashboard-news-popover-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px 9px 14px;
    border-bottom: 1px solid #f0e5ea;
    background: #fff;
}

.dashboard-news-popover-header > div {
    display: grid;
    gap: 1px;
}

.dashboard-news-popover-header strong {
    color: #2e252a;
    font-size: 14px;
}

.dashboard-news-popover-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f8eef3;
    color: #735f69;
}

.dashboard-news-popover-close:hover,
.dashboard-news-popover-close:focus-visible {
    background: #f8d9e8;
    color: var(--uplus-primary);
}

.dashboard-news-popover-list {
    display: grid;
    max-height: min(360px, calc(100vh - 90px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
}

.dashboard-news-popover-item {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) auto 10px;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 7px 8px;
    border-bottom: 1px solid #f2e8ed;
    border-radius: 9px;
    color: #3d3238;
    text-decoration: none;
}

.dashboard-news-popover-item:last-child { border-bottom: 0; }

.dashboard-news-popover-item:hover,
.dashboard-news-popover-item:focus-visible {
    background: #fff1f7;
    color: #261f23;
}

.dashboard-news-popover-item:focus-visible {
    outline: 2px solid rgba(214, 0, 120, .28);
    outline-offset: -2px;
}

.dashboard-news-popover-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 10px;
    background: #fce5f0;
    color: var(--uplus-primary);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-news-popover-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.dashboard-news-popover-copy small {
    overflow: hidden;
    color: #8b7280;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-news-popover-copy small i {
    margin-right: 2px;
    color: var(--uplus-primary);
}

.dashboard-news-popover-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-news-popover-item time {
    color: #9a8791;
    font-size: 9px;
    white-space: nowrap;
}

.dashboard-news-popover-item > .bi-chevron-right {
    color: #c1abb6;
    font-size: 9px;
}

@media (max-width: 767.98px) {
    .dashboard-news-popover {
        top: auto !important;
        right: 8px;
        bottom: 8px;
        left: 8px !important;
        width: auto;
        max-height: 65dvh;
        border-radius: 17px;
    }

    .dashboard-news-popover::before { display: none; }

    .dashboard-news-popover-list {
        max-height: calc(65dvh - 58px);
    }
}
.dashboard-welcome-rail .dashboard-welcome-tools {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    gap: 7px;
    width: 100%;
    margin-left: 0;
}

.dashboard-welcome-rail .dashboard-welcome-date {
    display: inline-flex;
    min-width: 0;
    padding: 4px 7px;
    font-size: 9px;
    white-space: nowrap;
}

.dashboard-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 43px;
    padding: 7px 11px;
    border-bottom: 1px solid #f1ebee;
}

.dashboard-calendar-header h5 { margin: 0; font-size: 13px; font-weight: 700; }
.dashboard-calendar-header .dashboard-more-link { font-size: 10px; white-space: nowrap; }
.dashboard-mini-calendar { padding: 7px 9px 9px; }
.dashboard-mini-calendar-month {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    text-align: center;
}

.dashboard-mini-calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
    table-layout: fixed;
}

.dashboard-mini-calendar-table th {
    height: 17px;
    color: var(--uplus-muted);
    font-size: 9px;
    font-weight: 600;
    text-align: center;
}

.dashboard-mini-calendar-table th.is-sunday,
.dashboard-mini-calendar-table td:first-child time { color: #d4375e; }
.dashboard-mini-calendar-table th.is-saturday,
.dashboard-mini-calendar-table td:last-child time { color: #356cc7; }

.dashboard-mini-calendar-day {
    position: relative;
    height: 26px;
    padding: 0 0 5px;
    border-radius: 7px;
    color: var(--uplus-text);
    font-size: 9px;
    line-height: 1;
    text-align: center;
}

.dashboard-mini-calendar-day-button {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0 0 5px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    text-align: center;
}

.dashboard-mini-calendar-day-button:hover {
    background: rgba(214, 0, 120, .08);
}

.dashboard-mini-calendar-day-button:focus-visible {
    outline: 2px solid var(--uplus-primary);
    outline-offset: 1px;
}

.dashboard-mini-calendar-day-button[aria-expanded="true"] {
    background: rgba(214, 0, 120, .12);
}

.dashboard-mini-calendar-day time {
    display: inline-grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
}

.dashboard-mini-calendar-day.is-outside { opacity: .35; }
.dashboard-mini-calendar-day.is-today time,
.dashboard-mini-calendar-day.is-today:first-child time,
.dashboard-mini-calendar-day.is-today:last-child time {
    background: var(--uplus-primary);
    color: #fff;
    font-weight: 700;
}

.dashboard-mini-calendar-event {
    position: absolute;
    bottom: 1px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transform: translateX(-50%);
    color: var(--calendar-accent, var(--uplus-primary));
    font-weight: 700;
    line-height: 1;
}

.dashboard-mini-calendar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--calendar-accent, var(--uplus-primary));
}

.dashboard-mini-calendar-event small { font-size: 8px; }

.dashboard-calendar-popover {
    --calendar-popover-arrow-left: 50%;
    position: fixed;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    width: min(280px, calc(100vw - 16px));
    max-height: min(340px, calc(100vh - 16px));
    border: 1px solid #e1d8dd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(50, 30, 40, .2);
    color: var(--uplus-text);
}

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

.dashboard-calendar-popover::before {
    position: absolute;
    left: calc(var(--calendar-popover-arrow-left) - 6px);
    width: 12px;
    height: 12px;
    background: inherit;
    content: "";
    transform: rotate(45deg);
}

.dashboard-calendar-popover[data-placement="bottom"]::before {
    top: -7px;
    border-top: 1px solid #e1d8dd;
    border-left: 1px solid #e1d8dd;
}

.dashboard-calendar-popover[data-placement="top"]::before {
    bottom: -7px;
    border-right: 1px solid #e1d8dd;
    border-bottom: 1px solid #e1d8dd;
}

.dashboard-calendar-popover-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px 7px 12px;
    border-bottom: 1px solid #eee6ea;
}

.dashboard-calendar-popover-header strong {
    font-size: 12px;
    font-weight: 800;
}

.dashboard-calendar-popover-close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f6f0f3;
    color: #695861;
    font-size: 11px;
}

.dashboard-calendar-popover-close:hover,
.dashboard-calendar-popover-close:focus-visible {
    background: #fce3f0;
    color: var(--uplus-primary);
}

.dashboard-calendar-popover-body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 285px;
    overflow-y: auto;
    padding: 8px;
}

.dashboard-calendar-popover-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-calendar-popover-item {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid #eee6ea;
    border-radius: 9px;
    background: #fcfafb;
}

.dashboard-calendar-popover-accent {
    width: 4px;
    min-height: 100%;
    border-radius: 999px;
    background: var(--schedule-accent, var(--uplus-primary));
}

.dashboard-calendar-popover-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.dashboard-calendar-popover-copy strong {
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.35;
}

.dashboard-calendar-popover-copy small {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: var(--uplus-muted);
    font-size: 9px;
    line-height: 1.35;
}

.dashboard-calendar-popover-copy small i {
    flex: 0 0 auto;
    margin-top: 1px;
}
.dashboard-rail-schedule-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 6px;
    border-top: 1px solid #f1ebee;
}

.dashboard-rail-schedule-item {
    gap: 7px;
    padding: 5px;
    border-radius: 8px;
}

.dashboard-rail-schedule-item .dashboard-schedule-date {
    flex-basis: 34px;
    min-height: 34px;
    border-radius: 7px;
}

.dashboard-rail-schedule-item .dashboard-schedule-date strong { font-size: 13px; }
.dashboard-rail-schedule-item .dashboard-schedule-copy strong { font-size: 10px; }
.dashboard-rail-schedule-item .dashboard-schedule-copy small,
.dashboard-rail-schedule-empty { font-size: 9px; }
.dashboard-rail-schedule-empty { padding: 12px 7px; }

@media (min-width: 768px) {
    .dashboard-layout { grid-template-areas: "rail" "main"; }
    .dashboard-recent-card { grid-row: span 2; }

    .dashboard-rail {
        grid-template-columns: minmax(240px, .38fr) minmax(0, 1fr);
    }

    .dashboard-rail > :only-child { grid-column: 1 / -1; }
}

@media (min-width: 768px) and (max-width: 1499.98px) {
    .dashboard-page .dashboard-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1500px) {
    body:has(.dashboard-page) .app-content { padding: 10px 12px 20px; }
    body:has(.dashboard-page) .app-content > .container-fluid { max-width: none; }
    .dashboard-layout {
        grid-template-areas: "main rail";
        grid-template-columns: minmax(0, 1fr) 252px;
        align-items: start;
        gap: 10px;
    }

    .dashboard-main-column,
    .dashboard-rail,
    .dashboard-content-grid { gap: 10px; }
    .dashboard-rail { grid-template-columns: minmax(0, 1fr); }

    .dashboard-page .dashboard-welcome,
    .dashboard-page .dashboard-panel,
    .dashboard-page .dashboard-task-panel,
    .dashboard-page .dashboard-board-card {
        border-radius: 12px;
        box-shadow: 0 5px 14px rgba(70, 46, 58, .045);
    }

    .dashboard-page .dashboard-panel-header,
    .dashboard-page .dashboard-task-header,
    .dashboard-page .dashboard-board-header {
        min-height: 40px;
        padding: 5px 11px;
    }

    .dashboard-page .dashboard-panel-header h5,
    .dashboard-page .dashboard-task-header h5 { font-size: 14px; }
    .dashboard-page .dashboard-more-link { font-size: 10px; }
    .dashboard-page .dashboard-notice-item {
        min-height: 27px;
        gap: 8px;
        padding: 2px 11px;
        font-size: 11px;
    }

    .dashboard-page .dashboard-notice-badge {
        min-width: 32px;
        padding: 3px 5px;
        font-size: 9px;
    }

    .dashboard-page .dashboard-notice-item time,
    .dashboard-page .dashboard-task-item strong { font-size: 9px; }
    .dashboard-page .dashboard-empty-state { min-height: 135px; font-size: 11px; }
    .dashboard-page .dashboard-task-list { padding: 2px 8px 4px; }
    .dashboard-page .dashboard-task-item {
        grid-template-columns: 27px minmax(0, 1fr) auto 9px;
        gap: 5px;
        min-height: 34px;
        font-size: 10px;
    }

    .dashboard-page .dashboard-task-icon {
        width: 23px;
        height: 23px;
        border-radius: 7px;
        font-size: 11px;
    }

    .dashboard-page .dashboard-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(150px, auto);
        gap: 10px;
    }

    .dashboard-page .dashboard-board-card { min-height: 150px; }
    .dashboard-page .dashboard-board-heading { gap: 6px; }
    .dashboard-page .dashboard-board-heading h5 { font-size: 13px; }
    .dashboard-page .dashboard-board-icon {
        width: 25px;
        height: 25px;
        border-radius: 7px;
        font-size: 12px;
    }

    .dashboard-page .dashboard-board-item {
        gap: 5px;
        min-height: 22px;
        padding: 2px 10px;
        font-size: 10px;
    }

    .dashboard-page .dashboard-board-item:first-child { padding-top: 4px; }
    .dashboard-page .dashboard-board-item:last-child { padding-bottom: 4px; }
    .dashboard-page .dashboard-important-badge {
        min-width: 27px;
        height: 16px;
        padding: 0 5px;
        font-size: 8px;
    }

    .dashboard-page .dashboard-board-item time { font-size: 8px; }
    .dashboard-page .dashboard-new-badge {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .dashboard-page .dashboard-board-empty {
        min-height: 108px;
        padding: 10px;
        font-size: 10px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-welcome-rail .dashboard-welcome-tools {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* Keep every dashboard board feed legible and visually consistent. */
.dashboard-page .dashboard-board-item {
    min-height: 28px;
}

.dashboard-page .dashboard-board-item-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.dashboard-page .dashboard-board-item time,
.dashboard-page .dashboard-recent-source {
    font-size: 10px;
}

.dashboard-page .dashboard-task-item {
    font-size: 12px;
}

.dashboard-page .dashboard-task-label {
    font-weight: 600;
    line-height: 1.4;
}

.dashboard-page .dashboard-task-item strong {
    font-size: 10px;
}

.privacy-policy-preview {
    line-height: 1.75;
}

.privacy-policy-preview h4 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--uplus-border);
    font-size: 19px;
    font-weight: 700;
}

.privacy-policy-preview h4:first-of-type {
    margin-top: 1.5rem;
}

.privacy-policy-preview li + li {
    margin-top: .65rem;
}

.privacy-policy-preview mark {
    padding: .08rem .25rem;
    border-radius: .25rem;
    background: #fff1a8;
}

.signup-agreement-card {
    overflow: hidden;
}

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

.agreement-heading h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.agreement-document {
    max-height: 280px;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid var(--uplus-border);
    border-radius: 12px;
    background: #fafafa;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.75;
}

.agreement-document h4 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.agreement-document p + p {
    margin-top: 18px;
}

.agreement-all {
    padding: 16px 16px 16px 42px;
    border-radius: 10px;
    background: #fff3f8;
}

@media (max-width: 575.98px) {
    .agreement-document {
        max-height: 240px;
        padding: 16px;
    }

    #agreement-next {
        flex: 1;
    }
}

.reapplication-rejection-summary > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    margin-top: 7px;
}

.reapplication-rejection-summary dt {
    color: var(--uplus-muted);
    font-weight: 600;
}

.reapplication-rejection-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .reapplication-rejection-summary > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.information-audience-fieldset {
    padding: 12px 14px;
    border: 1px solid var(--uplus-border);
    border-radius: 10px;
}

.information-audience-column {
    width: 150px;
    font-size: 12px;
    white-space: nowrap;
}

.information-audience-column span {
    display: block;
    line-height: 1.55;
}

.information-mobile-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--uplus-border);
}

.profile-summary-grid > div {
    min-width: 0;
    padding: 15px 12px;
    border-bottom: 1px solid var(--uplus-border);
}

.profile-summary-grid dt {
    color: var(--uplus-muted);
    font-size: 13px;
    font-weight: 500;
}

.profile-summary-grid dd {
    margin: 5px 0 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .profile-summary-grid {
        grid-template-columns: 1fr;
    }
}

.member-status-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.member-status-tab {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--uplus-border);
    border-radius: 999px;
    background: #fff;
    color: var(--uplus-muted);
    text-decoration: none;
}

.member-status-tab:hover,
.member-status-tab.active {
    border-color: var(--uplus-primary);
    background: var(--uplus-blush);
    color: var(--uplus-primary);
}

.member-status-tab strong {
    margin-left: 4px;
}

.member-filter-search {
    flex: 1 1 360px;
    min-width: 300px;
}

.permission-filter-search {
    flex: 1 1 360px;
    min-width: 300px;
}

.permission-menu-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 6px;
}

.menu-permission-table {
    table-layout: fixed;
    min-width: 780px;
}

.menu-permission-card .card-body { padding: 16px; }
.menu-permission-table > :not(caption) > * > * { padding: 8px 7px; }
.menu-permission-table th:nth-child(1) { width: 13%; }
.menu-permission-table th:nth-child(2) { width: 19%; }
.menu-permission-table th:nth-child(3) { width: 10%; }
.menu-permission-table th:nth-child(4) { width: 58%; }

.menu-permission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.menu-permission-badges span {
    display: inline-flex;
    padding: 3px 7px;
    border: 1px solid color-mix(in srgb, var(--uplus-primary) 28%, var(--uplus-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--uplus-primary) 8%, var(--uplus-surface, #fff));
    color: var(--uplus-primary);
    font-size: 12px;
    font-weight: 700;
}

.menu-permission-editor summary {
    width: fit-content;
    color: var(--uplus-primary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.menu-permission-editor-form {
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--uplus-border);
    border-radius: 10px;
    background: var(--uplus-surface-soft, #f8f7f8);
}

.menu-permission-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-bottom: 8px;
}

.menu-permission-checks label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.menu-permission-badges .is-empty {
    border-color: #8fc8ee;
    background: #e5f5ff;
    color: #17638f;
}

@media (max-width: 767.98px) {
    .member-filter-search,
    .permission-filter-search {
        min-width: 100%;
    }

    .permission-menu-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

/* Benefit uploads: labels on the left, controls and help on the right. */
.benefits-attachments .benefits-attachment-row {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    align-items: start;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.benefits-attachments .benefits-attachment-row[hidden] {
    display: none;
}

.benefits-attachments .benefits-attachment-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding-top: 0.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.benefits-attachments .benefits-attachment-label::before {
    content: "";
    flex: 0 0 0.375rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: currentColor;
}

.benefits-attachment-main {
    min-width: 0;
}

.benefits-attachment-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-attachment-controls .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.benefits-attachment-controls .btn {
    flex-shrink: 0;
}

.benefits-attachment-main .form-text {
    margin-top: 0.35rem;
    line-height: 1.5;
}

.benefits-attachment-controls .benefits-attachment-file-with-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
}

.benefits-attachment-file-with-help > input.form-control {
    flex: 0 0 15rem;
    width: 15rem;
    max-width: 100%;
    border: 0;
    box-shadow: none;
}

.benefits-attachment-file-with-help > input.form-control:focus-visible {
    outline: 2px solid var(--bs-primary, #d60078);
    outline-offset: -2px;
}

.benefits-attachment-file-with-help > .form-text {
    flex: 1 1 20rem;
    min-width: 0;
    margin: 0;
    padding: 0.375rem 0.75rem;
    overflow-wrap: anywhere;
}

.benefits-attachment-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.benefits-attachment-footer .form-text {
    flex: 1 1 16rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .benefits-attachments .benefits-attachment-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.35rem;
    }

    .benefits-attachments .benefits-attachment-label {
        padding-top: 0;
    }

    .benefits-attachment-controls {
        flex-wrap: wrap;
    }

    .benefits-attachment-controls .form-control {
        flex-basis: 100%;
    }
}

.member-management-table {
    width: 100%;
    min-width: 920px;
    table-layout: fixed;
    font-size: 12px;
}

.member-management-table th,
.member-management-table td {
    padding: 7px 5px;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.member-management-table th {
    white-space: nowrap;
}

.member-management-table th:first-child,
.member-management-table td:first-child {
    width: 30px;
}

.member-management-table th:last-child,
.member-management-table td:last-child {
    width: 52px;
}

.member-management-table .member-col-name {
    width: 9.5%;
}

.member-management-table .member-col-birth {
    width: 8%;
}

.member-management-table .member-col-center {
    width: 11.5%;
}

.member-management-table .member-col-role {
    width: 7%;
}

.member-management-table .member-col-phone {
    width: 9%;
}

.member-management-table .member-col-status {
    width: 7%;
}

.member-management-table .member-col-status-changed {
    width: 10.5%;
}

.member-management-table .member-col-last-login {
    width: 9%;
    white-space: normal;
}

.member-management-table .member-phone-cell {
    font-size: 11px;
    white-space: nowrap;
}

.member-management-table .member-date-cell {
    white-space: normal;
    overflow-wrap: normal;
}

.member-management-table .member-center-cell {
    display: block;
}

.member-management-table .member-center-line {
    white-space: normal;
    overflow-wrap: anywhere;
}

.member-name-cell,
.member-role-cell,
.member-center-cell {
    font-size: 11px;
}

.member-name-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-name-cell strong {
    font-size: 11px;
}

.member-username {
    margin-left: 4px;
    font-size: 10px;
}

.member-username::before {
    content: "· ";
}

.member-status-cell {
    overflow: visible !important;
}

.member-detail-button {
    min-width: 44px;
    padding-right: 7px;
    padding-left: 7px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    body:has(.member-management-page) .app-content-header,
    body:has(.member-management-page) .app-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    body:has(.member-management-page) .app-content-header {
        padding-top: 18px;
        padding-bottom: 9px;
    }

    body:has(.member-management-page) .app-content-header .container-fluid,
    body:has(.member-management-page) .app-content .container-fluid {
        max-width: none;
    }

    .member-management-page .member-status-tabs {
        gap: 5px;
        margin-bottom: 9px !important;
    }

    .member-management-page .member-status-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .member-management-page .member-management-card > .card-body {
        padding: 10px 12px;
    }

    .member-management-page .member-management-card > .card-body > .mb-3,
    .member-management-page .member-management-card form.mb-4,
    .member-management-page #member-status-form > .mb-3 {
        margin-bottom: 8px !important;
    }

    .member-management-page .form-control,
    .member-management-page .form-select,
    .member-management-page .btn {
        min-height: 32px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 12px;
    }

    .member-management-page .member-management-table th,
    .member-management-page .member-management-table td {
        padding: 4px 3px;
        line-height: 1.2;
    }

    .member-management-page .member-management-table th:first-child,
    .member-management-page .member-management-table td:first-child {
        width: 26px;
    }

    .member-management-page .member-management-table th:last-child,
    .member-management-page .member-management-table td:last-child {
        width: 58px;
        text-align: center;
    }

    .member-management-page .member-status-badge {
        padding: 3px 6px;
        font-size: 10.5px;
    }

    .member-management-page .member-management-table .member-col-center {
        padding-right: 1px;
    }

    .member-management-page .member-management-table .member-col-role,
    .member-management-page .member-management-table .member-role-cell {
        padding-left: 1px;
    }

    .member-management-page .member-management-table .member-col-status,
    .member-management-page .member-management-table .member-status-cell {
        padding-right: 1px;
        padding-left: 1px;
    }

    .member-management-page .member-management-table .member-status-badge {
        max-width: 100%;
        padding-right: 4px;
        padding-left: 4px;
        white-space: normal;
        line-height: 1.25;
    }

    .member-management-page .first-approved-history {
        padding-top: 12px;
        border-top: 1px solid var(--uplus-border);
    }

    .member-management-page .first-approved-history-table {
        font-size: 11px;
    }

    .member-management-page .first-approved-history-table > :not(caption) > * > * {
        padding: 5px 4px;
    }

    .member-management-page .member-center-cell {
        line-height: 1.2;
    }

    .menu-permission-page .menu-permission-table {
        min-width: 0;
        font-size: 11px;
    }

    .menu-permission-page .menu-permission-table > :not(caption) > * > * {
        padding: 5px 4px;
    }

    .menu-permission-page .menu-permission-table th:nth-child(1) { width: 11%; }
    .menu-permission-page .menu-permission-table th:nth-child(2) { width: 15%; }
    .menu-permission-page .menu-permission-table th:nth-child(3) { width: 8%; }
    .menu-permission-page .menu-permission-table th:nth-child(4) { width: 66%; }

    .menu-permission-page .menu-permission-table td:nth-child(2) {
        padding-right: 0;
    }

    .menu-permission-page .menu-permission-table td:nth-child(3) {
        padding-left: 1px;
    }

    .menu-permission-page .menu-permission-badges {
        gap: 3px;
    }

    .menu-permission-page .menu-permission-badges > span {
        padding: 2px 5px;
        font-size: 10px;
    }
}

@media (min-width: 1200px) {
    .member-management-page .member-filter-search,
    .member-management-page .permission-filter-search {
        flex: 1 1 280px;
        min-width: 240px;
    }

    .member-management-page form[role="search"] > .col-xl-2 {
        flex: 0 0 145px;
        width: 145px;
    }
}

.member-center-cell {
    line-height: 1.35;
}

.member-center-line {
    display: block;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

.menu-permission-page .member-center-line {
    font-size: 10.5px;
    letter-spacing: -0.3px;
}

.member-email-cell {
    font-size: 11px;
}

.member-column-picker {
    position: relative;
}

.member-column-picker > summary {
    list-style: none;
    white-space: nowrap;
}

.member-column-picker > summary::-webkit-details-marker {
    display: none;
}

.member-column-picker-panel {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 8px);
    right: 0;
    width: 250px;
    padding: 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 12px;
    background: var(--uplus-surface, #fff);
    box-shadow: 0 14px 35px rgba(20, 22, 30, 0.15);
}

.member-permission-fieldset {
    padding: 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 12px;
}

.member-permission-grid ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-permission-grid label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

@media (max-width: 1199.98px) {
    .member-permission-grid ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .member-column-picker-panel {
        position: fixed;
        right: 12px;
        bottom: 12px;
        top: auto;
        left: 12px;
        width: auto;
    }

    .member-permission-grid ul {
        grid-template-columns: 1fr;
    }
}

.member-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #59616a;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.member-status-badge.status-pending {
    background: #fff4d6;
    color: #9a6700;
}

.member-status-badge.status-final_pending {
  color: #7c3aed;
  background: #f3e8ff;
}

.member-status-badge.status-approved {
    background: #e5f7ed;
    color: #137a46;
}

.member-status-badge.status-rejected {
    background: #fde8eb;
    color: #b4233c;
}

.member-mobile-card {
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 14px;
    background: #fff;
}

.member-mobile-info {
    margin: 16px 0;
}

.member-mobile-info > div {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    margin-top: 7px;
}

.member-mobile-info dt,
.member-detail-grid dt {
    color: var(--uplus-muted);
    font-size: 13px;
    font-weight: 500;
}

.member-mobile-info dd,
.member-detail-grid dd {
    margin: 0;
}

.member-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--uplus-border);
}

.member-detail-grid > div {
    min-width: 0;
    padding: 16px 14px;
    border-bottom: 1px solid var(--uplus-border);
}

.member-detail-grid dd {
    margin-top: 5px;
    font-weight: 600;
}

.member-login-history {
    padding: 9px 0;
    border-bottom: 1px solid var(--uplus-border);
    font-size: 14px;
}

.member-audit-history {
    padding: 12px 14px;
    border-bottom: 1px solid var(--uplus-border);
}

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

.phone-number-fields {
    display: grid;
    grid-template-columns: minmax(72px, 0.75fr) auto minmax(96px, 1fr) auto minmax(96px, 1fr);
    align-items: center;
    gap: 8px;
    max-width: 440px;
}

.phone-number-fields .phone-number-part {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.phone-number-separator {
    color: var(--uplus-muted);
    font-weight: 700;
    text-align: center;
}

@media (max-width: 575.98px) {
    .phone-number-fields {
        grid-template-columns: minmax(64px, 0.75fr) auto minmax(82px, 1fr) auto minmax(82px, 1fr);
        gap: 6px;
    }
}

@media (max-width: 575.98px) {
    .member-detail-grid {
        grid-template-columns: 1fr;
    }
}

.information-agreement-setting {
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--uplus-primary) 28%, var(--uplus-border));
    border-radius: 12px;
    background: color-mix(in srgb, var(--uplus-primary) 4%, #fff);
}

.information-agreement-summary {
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--uplus-primary) 24%, var(--uplus-border));
    border-radius: 14px;
    background: color-mix(in srgb, var(--uplus-primary) 3%, #fff);
}

.information-agreement-summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.information-agreement-summary-heading h2 {
    margin: 1px 0 0;
    font-size: 18px;
    font-weight: 800;
}

.information-agreement-kicker {
    color: var(--uplus-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.information-agreement-total {
    color: var(--uplus-muted);
    font-size: 13px;
    font-weight: 600;
}

.information-agreement-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.information-agreement-count {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.information-agreement-count strong {
    font-size: 18px;
    white-space: nowrap;
}

.information-agreement-count:hover {
    transform: translateY(-1px);
    filter: brightness(.98);
}

.information-agreement-count:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--uplus-primary) 24%, transparent);
    outline-offset: 2px;
}

.information-agreement-count.is-active {
    box-shadow: 0 0 0 2px currentColor inset;
}

.information-agreement-count-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.information-agreement-count-value i {
    font-size: 12px;
    transition: transform .15s ease;
}

.information-agreement-count[aria-expanded="true"] .information-agreement-count-value i {
    transform: rotate(180deg);
}

.information-agreement-count.is-agree {
    border-color: #b7dfc8;
    background: #edf9f2;
    color: #137a46;
}

.information-agreement-count.is-disagree {
    border-color: #f0bdc7;
    background: #fff0f3;
    color: #b4233c;
}

.information-agreement-count.is-unanswered {
    border-color: #d9d5d7;
    background: #f5f3f4;
    color: #655c61;
}

.information-agreement-rosters {
    min-width: 0;
}

.information-agreement-roster {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--uplus-border);
    border-radius: 12px;
    background: #fff;
}

.information-agreement-roster.is-agree {
    border-color: #b7dfc8;
}

.information-agreement-roster.is-disagree {
    border-color: #f0bdc7;
}

.information-agreement-roster-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.information-agreement-roster-heading h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.information-agreement-roster-heading h3 span {
    color: var(--uplus-muted);
    font-size: 12px;
}

.information-agreement-roster-close {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--uplus-border);
    border-radius: 9px;
    background: transparent;
    color: var(--uplus-muted);
    cursor: pointer;
}

.information-agreement-roster-close:hover {
    border-color: var(--uplus-primary);
    color: var(--uplus-primary);
}

.information-agreement-roster-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    max-height: 340px;
    margin: 0;
    padding: 0 4px 0 0;
    overflow-y: auto;
    list-style: none;
}

.information-agreement-roster-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid color-mix(in srgb, var(--uplus-border) 72%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--uplus-primary) 2%, #fff);
}

.information-agreement-member-name {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.information-agreement-roster-list small {
    grid-column: 1 / -1;
    min-width: 0;
    overflow: hidden;
    color: var(--uplus-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.information-agreement-unlinked {
    align-self: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: #ece9eb;
    color: #655c61;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.information-agreement-roster-empty {
    margin: 0;
    padding: 16px 0;
    color: var(--uplus-muted);
    text-align: center;
}

.information-agreement-response {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 12px;
}

.information-agreement-response-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.information-agreement-response-heading h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.information-agreement-response-heading p {
    margin: 3px 0 0;
    color: var(--uplus-muted);
    font-size: 12px;
}

.information-agreement-current {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--uplus-primary) 9%, #fff);
    color: var(--uplus-primary);
    font-size: 12px;
    font-weight: 800;
}

.information-agreement-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 440px;
}

.information-agreement-vote-button {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--uplus-border);
    border-radius: 10px;
    background: #fff;
    color: var(--uplus-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease;
}

.information-agreement-vote-button:hover {
    transform: translateY(-1px);
}

.information-agreement-vote-button small {
    justify-self: end;
    font-size: 11px;
    font-weight: 800;
}

.information-agreement-vote-button.is-agree:hover,
.information-agreement-vote-button.is-agree.is-selected {
    border-color: #2b9a61;
    background: #edf9f2;
    color: #137a46;
}

.information-agreement-vote-button.is-disagree:hover,
.information-agreement-vote-button.is-disagree.is-selected {
    border-color: #d94a65;
    background: #fff0f3;
    color: #b4233c;
}

.information-agreement-vote-button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--uplus-primary) 22%, transparent);
    outline-offset: 2px;
}

.information-agreement-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.information-agreement-status.is-agree {
    background: #e5f7ed;
    color: #137a46;
}

.information-agreement-status.is-disagree {
    background: #fde8eb;
    color: #b4233c;
}

.information-agreement-status.is-unanswered {
    background: #ece9eb;
    color: #655c61;
}

.information-agreement-status.is-not-target {
    border: 1px solid var(--uplus-border);
    background: transparent;
    color: var(--uplus-muted);
}

@media (max-width: 575.98px) {
    .information-agreement-summary {
        padding: 14px;
    }

    .information-agreement-summary-heading {
        align-items: flex-end;
    }

    .information-agreement-counts {
        gap: 6px;
    }

    .information-agreement-count {
        flex-direction: column;
        justify-content: center;
        padding: 10px 6px;
        text-align: center;
    }

    .information-agreement-count strong {
        font-size: 17px;
    }

    .information-agreement-count-value {
        gap: 4px;
    }

    .information-agreement-roster {
        padding: 12px;
    }

    .information-agreement-roster-list {
        grid-template-columns: 1fr;
        max-height: 300px;
    }

    .information-agreement-response {
        padding: 12px;
    }

    .information-agreement-response-heading {
        display: block;
    }

    .information-agreement-current {
        display: inline-flex;
        margin-top: 8px;
    }

    .information-agreement-vote-button {
        grid-template-columns: auto auto;
    }

    .information-agreement-vote-button small {
        grid-column: 1 / -1;
        justify-self: center;
    }
}
