/* /Components/Pages/CustomerFolder/CustomerMediaViewer.razor.rz.scp.css */
/*
 * 顧客フォルダ 全画面メディアビューアー。
 * MudBlazor の既定 z-index は drawer:1100 / popover:1200 / appbar:1300 /
 * dialog:1400 / snackbar:1500 のため、ダイアログより前面・スナックバーより背面に置く。
 */

.cmv-overlay[b-sbu2o1i49s] {
    position: fixed;
    inset: 0;
    z-index: 1450;

    display: flex;
    flex-direction: column;

    /* アドレスバーで 100vh がずれる端末向けに dvh を優先する。 */
    height: 100vh;
    height: 100dvh;
    width: 100vw;

    background: rgb(0 0 0 / 92%);
    color: #fff;

    padding-top: env(safe-area-inset-top, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);

    overscroll-behavior: contain;
    outline: none;
}

.cmv-header[b-sbu2o1i49s] {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 56px;
    padding: 8px 12px;

    background: rgb(0 0 0 / 45%);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.cmv-title[b-sbu2o1i49s] {
    flex: 1 1 auto;
    min-width: 0;
}

.cmv-filename[b-sbu2o1i49s] {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;

    /* 長いファイル名でもレイアウトを崩さない。 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmv-counter[b-sbu2o1i49s] {
    font-size: 12.5px;
    color: rgb(255 255 255 / 72%);
}

.cmv-header-actions[b-sbu2o1i49s] {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 8px;
}

.cmv-btn[b-sbu2o1i49s] {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    min-height: 40px;
    padding: 0 12px;

    border: 0;
    border-radius: 8px;

    background: rgb(255 255 255 / 10%);
    color: #fff;

    font-family: inherit;
    font-size: 13px;
    line-height: 1;

    cursor: pointer;
}

    .cmv-btn:hover[b-sbu2o1i49s] {
        background: rgb(255 255 255 / 20%);
    }

    .cmv-btn:focus-visible[b-sbu2o1i49s] {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    .cmv-btn[b-sbu2o1i49s]  svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

.cmv-btn-close[b-sbu2o1i49s] {
    padding: 0 10px;
}

.cmv-btn-outlined[b-sbu2o1i49s] {
    background: transparent;
    border: 1px solid rgb(255 255 255 / 45%);
}

.cmv-stage[b-sbu2o1i49s] {
    flex: 1 1 auto;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    /* 左右のナビゲーションボタンに画像が完全に隠れないようにする。 */
    padding: 16px 72px;
}

.cmv-media[b-sbu2o1i49s] {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    /* 画像の縦横比を保ったまま中央に収める。 */
    width: auto;
    height: auto;

    background: transparent;
}

video.cmv-media[b-sbu2o1i49s] {
    /* 動画は controls を含めても画面内へ収める。 */
    max-width: 100%;
    max-height: 100%;
}

.cmv-status[b-sbu2o1i49s],
.cmv-fallback[b-sbu2o1i49s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    max-width: min(420px, 90vw);
    padding: 24px;

    text-align: center;
    color: rgb(255 255 255 / 88%);
}

    .cmv-fallback[b-sbu2o1i49s]  svg {
        width: 40px;
        height: 40px;
        fill: currentColor;
    }

.cmv-fallback-title[b-sbu2o1i49s] {
    font-size: 15px;
    font-weight: 600;
}

.cmv-fallback-text[b-sbu2o1i49s] {
    font-size: 13px;
    color: rgb(255 255 255 / 70%);
}

.cmv-fallback-actions[b-sbu2o1i49s] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.cmv-nav[b-sbu2o1i49s] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: rgb(255 255 255 / 14%);
    color: #fff;

    cursor: pointer;
}

    .cmv-nav:hover:not(:disabled)[b-sbu2o1i49s] {
        background: rgb(255 255 255 / 28%);
    }

    .cmv-nav:disabled[b-sbu2o1i49s] {
        opacity: 0.28;
        cursor: default;
    }

    .cmv-nav:focus-visible[b-sbu2o1i49s] {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    .cmv-nav[b-sbu2o1i49s]  svg {
        width: 28px;
        height: 28px;
        fill: currentColor;
    }

/* オーバーレイ側のパディングでセーフエリアを確保済みのため、ここでは足さない。 */
.cmv-nav-prev[b-sbu2o1i49s] {
    left: 12px;
}

.cmv-nav-next[b-sbu2o1i49s] {
    right: 12px;
}

/* タブレット・スマートフォン */
@media (max-width: 900px) {
    .cmv-btn-text[b-sbu2o1i49s] {
        display: none;
    }

    .cmv-btn[b-sbu2o1i49s] {
        padding: 0 10px;
    }

    .cmv-stage[b-sbu2o1i49s] {
        padding: 12px 60px;
    }
}

@media (max-width: 600px) {
    .cmv-header[b-sbu2o1i49s] {
        min-height: 52px;
        padding: 6px 8px;
        gap: 8px;
    }

    .cmv-filename[b-sbu2o1i49s] {
        font-size: 13.5px;
    }

    .cmv-nav[b-sbu2o1i49s] {
        width: 44px;
        height: 44px;
    }

    .cmv-stage[b-sbu2o1i49s] {
        padding: 8px 52px;
    }
}

/* 横向き・縦が低い画面ではヘッダーを薄くして表示領域を確保する。 */
@media (max-height: 480px) {
    .cmv-header[b-sbu2o1i49s] {
        min-height: 44px;
        padding: 4px 8px;
    }

    .cmv-counter[b-sbu2o1i49s] {
        font-size: 11.5px;
    }

    .cmv-stage[b-sbu2o1i49s] {
        padding: 6px 56px;
    }
}
/* /Components/Pages/CustomerFolder/DocumentCirculationFilesDialog.razor.rz.scp.css */
.circ-files-dialog-title[b-3lgi0p230x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.circ-files-dialog-title > div[b-3lgi0p230x] {
    min-width: 0;
}

.circ-files-dialog-title span[b-3lgi0p230x] {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.78rem;
}

.circ-files-note[b-3lgi0p230x] {
    margin-bottom: 14px;
    padding: 10px 12px;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.circ-files-list[b-3lgi0p230x] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.circ-files-row[b-3lgi0p230x] {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

/* クリック可能な対象資料カード（button要素のリセット込み） */
.circ-files-row-open[b-3lgi0p230x] {
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.circ-files-row-open:hover[b-3lgi0p230x] {
    background: #f5f7ff;
    border-color: #a5b4fc;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.12);
}

.circ-files-row-open:focus-visible[b-3lgi0p230x] {
    outline: 3px solid rgba(79, 70, 229, 0.35);
    outline-offset: 2px;
}

.circ-files-row-open:disabled[b-3lgi0p230x] {
    cursor: default;
    opacity: 0.7;
}

.circ-files-open-hint[b-3lgi0p230x] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: #4338ca;
    font-size: 0.75rem;
}

.circ-files-open-label[b-3lgi0p230x] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    white-space: nowrap;
}

.circ-files-icon[b-3lgi0p230x] {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 9px;
}

.circ-files-icon.is-document[b-3lgi0p230x] {
    color: #2563eb;
    background: #eff6ff;
}

.circ-files-icon.is-sheet[b-3lgi0p230x] {
    color: #15803d;
    background: #f0fdf4;
}

.circ-files-info[b-3lgi0p230x] {
    min-width: 0;
}

.circ-files-name[b-3lgi0p230x] {
    overflow: hidden;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circ-files-versions[b-3lgi0p230x] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: #9ca3af;
}

.circ-files-versions > span[b-3lgi0p230x] {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.circ-files-versions span span[b-3lgi0p230x] {
    color: #6b7280;
    font-size: 0.75rem;
}

.circ-files-versions strong[b-3lgi0p230x] {
    color: #374151;
    font-size: 0.8125rem;
}

.circ-files-updated[b-3lgi0p230x] {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 0.72rem;
}

.circ-file-version-state[b-3lgi0p230x] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.circ-file-version-state.is-current[b-3lgi0p230x] {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.circ-file-version-state.has-newer[b-3lgi0p230x] {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

.circ-file-version-state.is-deleted[b-3lgi0p230x] {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.circ-file-version-state.is-unknown[b-3lgi0p230x] {
    color: #4b5563;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

[b-3lgi0p230x] .circ-files-dialog .mud-dialog-content {
    max-height: 68vh;
    overflow-y: auto;
}

[b-3lgi0p230x] .circ-files-dialog .mud-dialog-actions {
    position: sticky;
    bottom: 0;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 600px) {
    .circ-files-row[b-3lgi0p230x] {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 9px;
        padding: 10px;
    }

    .circ-files-icon[b-3lgi0p230x] {
        width: 36px;
        height: 36px;
    }

    .circ-files-open-hint[b-3lgi0p230x] {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        margin-top: 4px;
    }

    .circ-files-versions[b-3lgi0p230x] {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .circ-files-versions > .mud-icon-root[b-3lgi0p230x] {
        display: none;
    }
}
/* /Components/Pages/CustomerFolder/DocumentCirculationHistoryDialog.razor.rz.scp.css */
.circ-history-title[b-u80nbf4lze],
.circ-history-loading[b-u80nbf4lze],
.circ-revision-identity[b-u80nbf4lze],
.circ-revision-title-row[b-u80nbf4lze],
.circ-revision-meta[b-u80nbf4lze],
.circ-revision-state[b-u80nbf4lze],
.circ-current-badge[b-u80nbf4lze],
.circ-history-dept-name[b-u80nbf4lze],
.circ-history-approval-state[b-u80nbf4lze],
.circ-events-toggle[b-u80nbf4lze] {
    display: flex;
    align-items: center;
}

.circ-history-title[b-u80nbf4lze] {
    gap: 10px;
}

.circ-history-title > div[b-u80nbf4lze] {
    min-width: 0;
}

.circ-history-title span[b-u80nbf4lze] {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.78rem;
}

.circ-history-loading[b-u80nbf4lze] {
    justify-content: center;
    gap: 10px;
    min-height: 160px;
    color: #6b7280;
}

.circ-history-empty[b-u80nbf4lze] {
    padding: 36px 16px;
    color: #6b7280;
    text-align: center;
}

.circ-revision-list[b-u80nbf4lze] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.circ-revision-card[b-u80nbf4lze] {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.circ-revision-card.is-current[b-u80nbf4lze] {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 1px #e0e7ff;
}

.circ-revision-head[b-u80nbf4lze] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: #f9fafb;
}

.circ-revision-card.is-current .circ-revision-head[b-u80nbf4lze] {
    background: #f5f7ff;
}

.circ-revision-identity[b-u80nbf4lze] {
    min-width: 0;
    gap: 10px;
}

.circ-revision-marker[b-u80nbf4lze] {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: #4f46e5;
    background: #eef2ff;
    border-radius: 50%;
    place-items: center;
}

.circ-revision-title-row[b-u80nbf4lze] {
    gap: 7px;
    flex-wrap: wrap;
}

.circ-revision-title-row > strong[b-u80nbf4lze] {
    color: #111827;
    font-size: 1rem;
}

.circ-revision-state[b-u80nbf4lze],
.circ-current-badge[b-u80nbf4lze],
.circ-history-approval-state[b-u80nbf4lze] {
    min-height: 25px;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.is-pending[b-u80nbf4lze] {
    color: #0369a1;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.is-approved[b-u80nbf4lze] {
    color: #15803d;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.is-returned[b-u80nbf4lze] {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fecaca;
}

.is-neutral[b-u80nbf4lze] {
    color: #4b5563;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.circ-current-badge[b-u80nbf4lze] {
    color: #4338ca;
    background: #eef2ff;
    border-color: #c7d2fe;
}

.circ-revision-meta[b-u80nbf4lze] {
    gap: 6px 14px;
    margin-top: 5px;
    color: #6b7280;
    flex-wrap: wrap;
    font-size: 0.78rem;
}

.circ-revision-summary[b-u80nbf4lze] {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 3px;
    color: #6b7280;
    font-size: 0.75rem;
}

.circ-revision-summary strong[b-u80nbf4lze] {
    color: #374151;
    font-size: 0.8125rem;
}

.circ-revision-toggle[b-u80nbf4lze],
.circ-events-toggle[b-u80nbf4lze] {
    min-height: 34px;
    color: #4338ca;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.circ-revision-toggle[b-u80nbf4lze] {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    padding: 3px 5px;
}

.circ-revision-toggle:hover[b-u80nbf4lze],
.circ-events-toggle:hover[b-u80nbf4lze] {
    background: #eef2ff;
}

.circ-revision-toggle:focus-visible[b-u80nbf4lze],
.circ-events-toggle:focus-visible[b-u80nbf4lze] {
    outline: 3px solid rgba(79, 70, 229, 0.25);
    outline-offset: 1px;
}

.circ-revision-body[b-u80nbf4lze] {
    padding: 15px 16px 16px;
    border-top: 1px solid #e5e7eb;
}

.circ-history-section + .circ-history-section[b-u80nbf4lze],
.circ-history-events-section[b-u80nbf4lze] {
    margin-top: 18px;
}

.circ-history-section h3[b-u80nbf4lze] {
    margin: 0 0 8px;
    color: #374151;
    font-size: 0.875rem;
}

.circ-history-section h3 span[b-u80nbf4lze] {
    margin-left: 5px;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
}

.circ-history-files[b-u80nbf4lze] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.circ-history-file[b-u80nbf4lze] {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 8px 10px;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* クリック可能な履歴の対象資料カード（button要素のリセット込み） */
.circ-history-file-open[b-u80nbf4lze] {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}

.circ-history-file-open:hover[b-u80nbf4lze] {
    background: #eef2ff;
    border-color: #a5b4fc;
}

.circ-history-file-open:focus-visible[b-u80nbf4lze] {
    outline: 3px solid rgba(79, 70, 229, 0.3);
    outline-offset: 1px;
}

.circ-history-file-open:disabled[b-u80nbf4lze] {
    cursor: default;
    opacity: 0.7;
}

.circ-history-file-view[b-u80nbf4lze] {
    color: #4338ca;
}

.circ-history-file span[b-u80nbf4lze] {
    overflow: hidden;
    color: #111827;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circ-history-file strong[b-u80nbf4lze] {
    color: #4338ca;
    white-space: nowrap;
}

.circ-history-approvals[b-u80nbf4lze] {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.circ-history-dept[b-u80nbf4lze] {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}

.circ-history-dept-head[b-u80nbf4lze] {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.78rem;
}

.circ-history-dept-name[b-u80nbf4lze] {
    min-width: 0;
    gap: 5px;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 700;
}

.circ-history-dept-head > strong[b-u80nbf4lze] {
    color: #4b5563;
    white-space: nowrap;
}

.circ-history-members[b-u80nbf4lze] {
    display: flex;
    flex-direction: column;
    padding: 4px 11px;
}

.circ-history-member[b-u80nbf4lze] {
    display: grid;
    grid-template-columns: 20px minmax(100px, 1fr) auto auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 7px 1px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.78rem;
}

.circ-history-member:last-child[b-u80nbf4lze] {
    border-bottom: 0;
}

.circ-history-member-name[b-u80nbf4lze] {
    overflow: hidden;
    color: #111827;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circ-history-member-state[b-u80nbf4lze] {
    padding: 0;
    font-weight: 700;
    white-space: nowrap;
    background: transparent;
    border: 0;
}

.circ-history-member-state.is-pending[b-u80nbf4lze] { color: #0369a1; }
.circ-history-member-state.is-approved[b-u80nbf4lze] { color: #15803d; }
.circ-history-member-state.is-returned[b-u80nbf4lze] { color: #b91c1c; }
.circ-history-member-state.is-neutral[b-u80nbf4lze] { color: #6b7280; }

.circ-history-member-time[b-u80nbf4lze] {
    color: #6b7280;
    white-space: nowrap;
}

.circ-history-comment[b-u80nbf4lze] {
    grid-column: 2 / -1;
    padding: 6px 8px;
    border-left: 3px solid #d1d5db;
    border-radius: 4px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.circ-history-comment-label[b-u80nbf4lze] {
    display: block;
    margin-bottom: 1px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* 差戻し理由のみ赤系 */
.circ-history-comment.cmt-returned[b-u80nbf4lze] {
    color: #7f1d1d;
    background: #fef2f2;
    border-left-color: #ef4444;
}

.circ-history-comment.cmt-returned .circ-history-comment-label[b-u80nbf4lze] {
    color: #b91c1c;
}

/* 承認コメントは肯定的表示（赤にしない） */
.circ-history-comment.cmt-approved[b-u80nbf4lze] {
    color: #14532d;
    background: #f0fdf4;
    border-left-color: #22c55e;
}

/* その他は通常情報 */
.circ-history-comment.cmt-neutral[b-u80nbf4lze] {
    color: #374151;
    background: #f9fafb;
    border-left-color: #9ca3af;
}

.circ-events-toggle[b-u80nbf4lze] {
    gap: 5px;
    padding: 4px 8px;
}

.circ-events-toggle span[b-u80nbf4lze] {
    color: #6b7280;
    font-size: 0.72rem;
}

.circ-event-timeline[b-u80nbf4lze] {
    position: relative;
    margin: 6px 0 0 14px;
    padding-left: 16px;
    border-left: 2px solid #e0e7ff;
}

.circ-event-item[b-u80nbf4lze] {
    position: relative;
    display: grid;
    grid-template-columns: 82px auto minmax(80px, 1fr) auto;
    align-items: baseline;
    gap: 6px 10px;
    min-width: 0;
    padding: 6px 0 9px;
    color: #4b5563;
    font-size: 0.76rem;
}

.circ-event-dot[b-u80nbf4lze] {
    position: absolute;
    top: 11px;
    left: -22px;
    width: 10px;
    height: 10px;
    background: #6366f1;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #a5b4fc;
}

.circ-event-item time[b-u80nbf4lze] {
    color: #6b7280;
    white-space: nowrap;
}

.circ-event-item strong[b-u80nbf4lze] {
    color: #111827;
    white-space: nowrap;
}

.circ-event-item > div[b-u80nbf4lze] {
    grid-column: 2 / -1;
    padding: 5px 7px;
    background: #f9fafb;
    border-radius: 5px;
    overflow-wrap: anywhere;
}

.circ-global-history[b-u80nbf4lze] {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

[b-u80nbf4lze] .circ-history-dialog .mud-dialog-content {
    max-height: 72vh;
    overflow-x: hidden;
    overflow-y: auto;
}

[b-u80nbf4lze] .circ-history-dialog .mud-dialog-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 720px) {
    .circ-revision-head[b-u80nbf4lze] {
        flex-direction: column;
        gap: 9px;
        padding: 12px;
    }

    .circ-revision-summary[b-u80nbf4lze] {
        width: 100%;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-items: start;
    }

    .circ-revision-summary > span[b-u80nbf4lze] {
        grid-column: 1 / -1;
    }

    .circ-revision-toggle[b-u80nbf4lze] {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .circ-revision-body[b-u80nbf4lze] {
        padding: 12px;
    }

    .circ-history-files[b-u80nbf4lze] {
        grid-template-columns: minmax(0, 1fr);
    }

    .circ-history-dept-head[b-u80nbf4lze] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .circ-history-dept-head > strong[b-u80nbf4lze] {
        grid-column: 1 / -1;
        padding-left: 25px;
    }

    .circ-history-member[b-u80nbf4lze] {
        grid-template-columns: 20px minmax(0, 1fr) auto;
    }

    .circ-history-member-time[b-u80nbf4lze] {
        grid-column: 2 / -1;
    }

    .circ-event-item[b-u80nbf4lze] {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 3px 8px;
    }

    .circ-event-item > span:not(.circ-event-dot)[b-u80nbf4lze],
    .circ-event-item > div[b-u80nbf4lze] {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .circ-revision-marker[b-u80nbf4lze] {
        display: none;
    }

    .circ-history-member[b-u80nbf4lze] {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .circ-history-member-state[b-u80nbf4lze],
    .circ-history-member-time[b-u80nbf4lze],
    .circ-history-comment[b-u80nbf4lze] {
        grid-column: 2;
    }
}
/* /Components/Pages/CustomerFolder/DocumentCirculationPanel.razor.rz.scp.css */
.circ-panel[b-drkbcnsjv2] {
    margin: 12px 0 16px;
    color: #111827;
}

.circ-loading[b-drkbcnsjv2],
.circ-empty[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 14px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.circ-card[b-drkbcnsjv2] {
    overflow: hidden;
    padding: 0;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.circ-card:last-child[b-drkbcnsjv2] {
    margin-bottom: 0;
}

.circ-card.is-second-round[b-drkbcnsjv2] {
    border-color: #ddd6fe;
}

/* 第1段階トグル: ヘッダー全体をクリック可能にする */
.circ-card-head[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    cursor: pointer;
    background: transparent;
    border: 0;
    text-align: left;
    transition: background 120ms ease;
}

.circ-card-head:hover[b-drkbcnsjv2] {
    background: #f9fafb;
}

.circ-card-head:focus-visible[b-drkbcnsjv2] {
    outline: 3px solid rgba(79, 70, 229, 0.28);
    outline-offset: -3px;
}

.circ-head-caret[b-drkbcnsjv2] {
    flex: 0 0 auto;
    color: #6b7280;
}

.circ-round-badge[b-drkbcnsjv2] {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.circ-round-badge.is-first[b-drkbcnsjv2] {
    color: #3730a3;
    background: #eef2ff;
}

.circ-round-badge.is-second[b-drkbcnsjv2] {
    color: #6d28d9;
    background: #f5f3ff;
}

.circ-menu-danger[b-drkbcnsjv2] {
    color: #b91c1c;
    font-weight: 700;
}

/* 回覧開始・第2回開始の誘導ブロック */
.circ-start-block[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.circ-start-block.is-second[b-drkbcnsjv2] {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.circ-start-block-main[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #4b5563;
}

.circ-start-block-main > div[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.circ-start-block-main strong[b-drkbcnsjv2] {
    color: #111827;
    font-size: 0.9rem;
}

.circ-start-block-main span[b-drkbcnsjv2] {
    font-size: 0.78rem;
}

/* capabilities取得失敗（完全な空表示にしない） */
.circ-caps-error[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px 14px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    font-size: 0.83rem;
}

/* 営業・管理者向けに開始できない理由を提示 */
.circ-reason-block[b-drkbcnsjv2] {
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.circ-reason-main[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4b5563;
}

.circ-reason-main > div[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.circ-reason-main strong[b-drkbcnsjv2] {
    color: #111827;
    font-size: 0.88rem;
}

.circ-reason-main span[b-drkbcnsjv2] {
    font-size: 0.8rem;
    line-height: 1.5;
}

.circ-head[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 12px;
}

.circ-head-main[b-drkbcnsjv2],
.circ-head-actions[b-drkbcnsjv2],
.circ-state[b-drkbcnsjv2],
.circ-meta[b-drkbcnsjv2],
.circ-meta > span[b-drkbcnsjv2],
.circ-action-guide[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
}

.circ-head-main[b-drkbcnsjv2] {
    min-width: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.circ-head-left[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.circ-card-head .circ-head-left[b-drkbcnsjv2],
.circ-card-head .circ-head-main[b-drkbcnsjv2] {
    flex: 1 1 auto;
}

.circ-card-head .circ-head-actions[b-drkbcnsjv2] {
    flex: 0 0 auto;
}

.circ-head-memo[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.3;
}

.circ-head-memo-icon[b-drkbcnsjv2] {
    flex: 0 0 auto;
    color: #9ca3af;
}

.circ-head-memo-text[b-drkbcnsjv2] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circ-title[b-drkbcnsjv2] {
    margin-right: 2px;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 700;
    color: #111827;
}

.circ-state[b-drkbcnsjv2],
.circ-revision[b-drkbcnsjv2],
.circ-status-badge[b-drkbcnsjv2] {
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.circ-state[b-drkbcnsjv2] {
    gap: 4px;
}

.circ-state-approval[b-drkbcnsjv2] {
    color: #0369a1;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.circ-state-approved[b-drkbcnsjv2] {
    color: #15803d;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.circ-state-returned[b-drkbcnsjv2] {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fecaca;
}

.circ-state-neutral[b-drkbcnsjv2],
.circ-revision[b-drkbcnsjv2] {
    color: #4b5563;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.circ-head-actions[b-drkbcnsjv2] {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.circ-head-actions[b-drkbcnsjv2]  .mud-button-root {
    min-height: 36px;
    border-radius: 8px;
}

.circ-meta[b-drkbcnsjv2] {
    gap: 7px 22px;
    flex-wrap: wrap;
    padding: 0 18px 15px;
    color: #4b5563;
    font-size: 0.8125rem;
}

.circ-meta > span[b-drkbcnsjv2] {
    gap: 5px;
    min-width: 0;
}

.circ-meta-label[b-drkbcnsjv2] {
    color: #6b7280;
}

.circ-meta-label[b-drkbcnsjv2]::after {
    content: "：";
}

.circ-meta-overdue[b-drkbcnsjv2] {
    color: #dc2626;
    font-weight: 600;
}

.circ-files-trigger[b-drkbcnsjv2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    margin: -4px 0;
    padding: 3px 8px;
    color: #3730a3;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.circ-files-trigger:hover[b-drkbcnsjv2] {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.circ-files-trigger:focus-visible[b-drkbcnsjv2] {
    outline: 3px solid rgba(79, 70, 229, 0.28);
    outline-offset: 2px;
}

.circ-files-trigger .circ-meta-label[b-drkbcnsjv2] {
    color: #3730a3;
}

.circ-files-trigger-label[b-drkbcnsjv2] {
    margin-left: 2px;
    padding-left: 7px;
    border-left: 1px solid #a5b4fc;
    font-size: 0.75rem;
}

.circ-version-warning[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 18px 14px;
    padding: 11px 12px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 9px;
}

.circ-test-mode-note[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 18px 0;
    padding: 9px 11px;
    color: #4c1d95;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
}

.circ-test-mode-note > div[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.circ-test-mode-note strong[b-drkbcnsjv2] {
    font-size: 0.85rem;
}

.circ-publication-note[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 18px 14px;
    padding: 9px 11px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 600;
}

.circ-publication-note.is-restricted[b-drkbcnsjv2] {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.circ-publication-note.is-published[b-drkbcnsjv2] {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.circ-version-warning-main[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.circ-version-warning-main > div[b-drkbcnsjv2] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.circ-version-warning-main strong[b-drkbcnsjv2] {
    color: #78350f;
    font-size: 0.875rem;
}

.circ-version-warning-main span[b-drkbcnsjv2] {
    font-size: 0.78rem;
    line-height: 1.45;
}

.circ-version-warning[b-drkbcnsjv2]  .mud-button-root {
    flex: 0 0 auto;
    min-height: 38px;
    background: #fff;
    border-radius: 8px;
}

.circ-progress[b-drkbcnsjv2] {
    padding: 14px 18px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.circ-progress-heading[b-drkbcnsjv2] {
    margin-bottom: 7px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #374151;
}

.circ-progress-label[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #4b5563;
}

.circ-progress-label strong[b-drkbcnsjv2] {
    color: #111827;
    font-weight: 700;
}

.circ-progress-track[b-drkbcnsjv2] {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 999px;
}

.circ-progress-value[b-drkbcnsjv2] {
    height: 100%;
    min-width: 0;
    background: #16a34a;
    border-radius: inherit;
    transition: width 180ms ease-out;
}

.circ-memo[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 18px 0;
    padding: 9px 11px;
    color: #4b5563;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.circ-details-toggle[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 7px;
    width: calc(100% - 36px);
    min-height: 40px;
    margin: 12px 18px;
    padding: 8px 12px;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
}

.circ-details-toggle:hover[b-drkbcnsjv2] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.circ-details-toggle:focus-visible[b-drkbcnsjv2] {
    outline: 3px solid rgba(79, 70, 229, 0.28);
    outline-offset: 2px;
}

.circ-details-toggle > span[b-drkbcnsjv2] {
    flex: 1 1 auto;
    text-align: left;
}

.circ-details-caret[b-drkbcnsjv2] {
    flex: 0 0 auto;
    color: #6b7280;
}

.circ-section-title[b-drkbcnsjv2] {
    margin: 16px 18px 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
}

.circ-depts[b-drkbcnsjv2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 18px 18px;
}

.circ-dept[b-drkbcnsjv2] {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.circ-dept-head[b-drkbcnsjv2] {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.circ-dept-name[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

.circ-dept-progress[b-drkbcnsjv2] {
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.circ-status-badge[b-drkbcnsjv2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.circ-st-approved[b-drkbcnsjv2] {
    color: #15803d;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.circ-st-pending[b-drkbcnsjv2] {
    color: #0369a1;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.circ-st-returned[b-drkbcnsjv2] {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fecaca;
}

.circ-st-other[b-drkbcnsjv2] {
    color: #4b5563;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.circ-members[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    padding: 5px 12px;
}

.circ-member[b-drkbcnsjv2] {
    min-width: 0;
    padding: 8px 2px;
    border-bottom: 1px solid #f3f4f6;
}

.circ-member:last-child[b-drkbcnsjv2] {
    border-bottom: 0;
}

.circ-member-current[b-drkbcnsjv2] {
    margin: 2px -4px;
    padding-right: 6px;
    padding-left: 6px;
    background: #eef2ff;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.circ-member-main[b-drkbcnsjv2] {
    display: grid;
    grid-template-columns: 20px minmax(90px, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 0.8125rem;
}

.circ-member-icon[b-drkbcnsjv2] {
    grid-column: 1;
}

.circ-member-name[b-drkbcnsjv2] {
    grid-column: 2;
    overflow: hidden;
    color: #111827;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circ-member-status[b-drkbcnsjv2] {
    grid-column: 3;
    font-weight: 600;
    white-space: nowrap;
}

.circ-member-approved[b-drkbcnsjv2] { color: #15803d; }
.circ-member-returned[b-drkbcnsjv2] { color: #b91c1c; }
.circ-member-pending[b-drkbcnsjv2] { color: #4b5563; }
.circ-member-other[b-drkbcnsjv2] { color: #6b7280; }

.circ-member-time[b-drkbcnsjv2] {
    grid-column: 2 / -1;
    color: #6b7280;
    font-size: 0.75rem;
}

.circ-member-comment[b-drkbcnsjv2] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 0 27px;
    padding: 7px 9px;
    border-left: 3px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.circ-member-comment .circ-comment-icon[b-drkbcnsjv2] {
    flex: 0 0 auto;
    margin-top: 1px;
}

.circ-comment-body[b-drkbcnsjv2] {
    min-width: 0;
}

.circ-comment-label[b-drkbcnsjv2] {
    display: block;
    margin-bottom: 1px;
    font-size: 0.72rem;
    font-weight: 700;
}

.circ-comment-text[b-drkbcnsjv2] {
    display: block;
    overflow-wrap: anywhere;
}

/* 差戻し理由のみ赤系（警告） */
.circ-member-comment.is-returned[b-drkbcnsjv2] {
    color: #991b1b;
    background: #fef2f2;
    border-left-color: #ef4444;
}

.circ-member-comment.is-returned .circ-comment-icon[b-drkbcnsjv2],
.circ-member-comment.is-returned .circ-comment-label[b-drkbcnsjv2] {
    color: #b91c1c;
}

/* 承認コメントは肯定的で読みやすい表示（赤にしない） */
.circ-member-comment.is-approved[b-drkbcnsjv2] {
    color: #14532d;
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.circ-member-comment.is-approved .circ-comment-icon[b-drkbcnsjv2] {
    color: #16a34a;
}

/* その他は通常情報 */
.circ-member-comment.is-neutral[b-drkbcnsjv2] {
    color: #374151;
    background: #f9fafb;
    border-left-color: #9ca3af;
}

.circ-member-comment.is-neutral .circ-comment-icon[b-drkbcnsjv2] {
    color: #6b7280;
}

.circ-my-action[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #eef2ff;
    border-top: 1px solid #c7d2fe;
}

.circ-action-guide[b-drkbcnsjv2] {
    gap: 5px;
    color: #3730a3;
    font-size: 0.8rem;
    font-weight: 700;
}

.circ-dept-actions[b-drkbcnsjv2] {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.circ-dept-actions[b-drkbcnsjv2]  .mud-button-root {
    min-height: 40px;
    border-radius: 8px;
}

@media (max-width: 960px) {
    .circ-depts[b-drkbcnsjv2] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .circ-panel[b-drkbcnsjv2] {
        margin-top: 10px;
    }

    .circ-card-head[b-drkbcnsjv2] {
        flex-wrap: wrap;
        padding: 12px 14px;
    }

    .circ-card-head .circ-head-actions[b-drkbcnsjv2] {
        width: 100%;
        justify-content: flex-end;
    }

    .circ-start-block[b-drkbcnsjv2] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .circ-start-block[b-drkbcnsjv2]  .mud-button-root {
        width: 100%;
    }

    .circ-head[b-drkbcnsjv2] {
        display: block;
        padding: 14px 14px 10px;
    }

    .circ-head-actions[b-drkbcnsjv2] {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .circ-meta[b-drkbcnsjv2] {
        gap: 7px 14px;
        padding: 0 14px 14px;
    }

    .circ-progress[b-drkbcnsjv2] {
        padding: 13px 14px 15px;
    }

    .circ-version-warning[b-drkbcnsjv2] {
        align-items: stretch;
        flex-direction: column;
        margin-right: 14px;
        margin-left: 14px;
    }

    .circ-version-warning[b-drkbcnsjv2]  .mud-button-root {
        width: 100%;
    }

    .circ-memo[b-drkbcnsjv2] {
        margin-right: 14px;
        margin-left: 14px;
    }

    .circ-section-title[b-drkbcnsjv2] {
        margin-right: 14px;
        margin-left: 14px;
    }

    .circ-depts[b-drkbcnsjv2] {
        gap: 10px;
        padding: 0 14px 16px;
    }

    .circ-dept-head[b-drkbcnsjv2] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .circ-dept-progress[b-drkbcnsjv2] {
        grid-column: 1 / -1;
        padding-left: 26px;
    }

    .circ-my-action[b-drkbcnsjv2] {
        align-items: stretch;
        flex-direction: column;
    }

    .circ-dept-actions[b-drkbcnsjv2] {
        width: 100%;
    }

    .circ-dept-actions[b-drkbcnsjv2]  .mud-button-root {
        flex: 1 1 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .circ-progress-value[b-drkbcnsjv2] {
        transition: none;
    }
}

/* 進行中だが詳細非公開のユーザー向け 閲覧専用パネル（回覧中・承認待ち） */
.circ-restricted[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: #1e40af;
}

.circ-restricted-icon[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
}

.circ-restricted-icon[b-drkbcnsjv2]  .mud-icon-root {
    animation: circ-restricted-pulse-b-drkbcnsjv2 1.8s ease-in-out infinite;
}

.circ-restricted-body[b-drkbcnsjv2] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.circ-restricted-title[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.circ-restricted-title strong[b-drkbcnsjv2] {
    color: #1e3a8a;
    font-size: 0.92rem;
}

.circ-restricted-text[b-drkbcnsjv2] {
    color: #334155;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* 進行中の回覧がない場合の案内 */
.circ-none-note[b-drkbcnsjv2] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 16px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
}

@keyframes circ-restricted-pulse-b-drkbcnsjv2 {
    0% { opacity: 0.55; }
    50% { opacity: 1; }
    100% { opacity: 0.55; }
}
