@charset "utf-8";

/* 演題先生 スタイルシート (A4固定レイアウト対応・最終版) */

/* --- 非表示ユーティリティ --- */
.edss-is-hidden {
    display: none !important;
}

/* --- 協賛フォーム: インライン条件分岐および複合単位入力 --- */
.edss-conditional-inline {
    margin-top: 12px;
    padding: 12px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.edss-subfield-header {
    margin-bottom: 8px;
    font-size: 0.95em;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edss-subfield-label {
    display: inline-block;
}

.edss-multi-unit-group,
.edss-sponsorship-wrapper .edss-multi-unit-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
}

.edss-multi-unit-item,
.edss-sponsorship-wrapper .edss-multi-unit-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto !important;
}

.edss-multi-unit-item .edss-unit-input,
.edss-sponsorship-wrapper .edss-multi-unit-item .edss-unit-input {
    width: 100px !important;
    max-width: 120px !important;
    text-align: right;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0 !important;
}

.edss-multi-unit-item .edss-unit-label,
.edss-sponsorship-wrapper .edss-multi-unit-item .edss-unit-label {
    white-space: nowrap !important;
    font-size: 0.95em;
    font-weight: 500;
    color: #475569;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 省略表示用ユーティリティ (新規追加) --- */
.edss-truncate {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* 幅指定は style属性で入るためここでは指定しない */
    display: inline-block !important;
    /* table-cell内での効きを良くするため */
    vertical-align: middle !important;
    max-width: 100% !important;
    /* Firefox等でのテーブルはみ出し防止 */
}

/* テーブルセルに適用する場合の調整 */
th.edss-truncate,
td.edss-truncate {
    display: table-cell !important;
    max-width: 0 !important;
    /* これがないとテーブル幅が伸びて省略されないことがある */
}

/* 中身のdivに適用する場合 */
.edss-truncate-inner {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* 共通スタイル */
.edss-my-abstract-list,
.edss-submission-form,
.edss-confirm-page,
.edss-management-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ★★★ここから修正★★★ */
/* テーブルやフィルターフォームのレスポンシブ対応 */
/* 親要素にoverflowを指定し、中のテーブルは元のレイアウトを維持する方式に変更 */
.edss-my-abstract-list,
.filter-section {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* for smooth scrolling on iOS */
}

/* ★★★ここまで修正★★★ */


/* テーブルスタイル */
.edss-abstract-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* ★追加: テーブルが縮まないように最小幅を指定 */
    /* min-width: 600px; */
}

.edss-abstract-table th,
.edss-abstract-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.edss-abstract-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.edss-abstract-table tr:hover {
    background-color: #f5f5f5;
}

/* フォームスタイル */
.form-table th {
    width: 200px;
    padding: 15px 10px;
    vertical-align: top;
}

.form-table td {
    padding: 15px 10px;
}

.required {
    color: #d63638;
    font-weight: bold;
    margin-left: 3px;
}

.form-actions {
    margin: 30px 0;
    text-align: center;
}

.form-actions .button,
.form-actions a.button {
    margin: 0 10px;
    padding: 8px 20px;
    min-width: 150px;
    box-sizing: border-box;
}

/* 文字数カウンター */
.char-counter {
    font-size: 0.9em;
    text-align: right;
    padding: 3px 6px;
    border-radius: 3px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.over-limit {
    border-color: #d63638 !important;
    background-color: #ffeaea !important;
}

/* --- 確認画面・印刷プレビュー用スタイル --- */

/* A4サイズを縮小表示させるためのラッパー */
.edss-preview-wrapper {
    margin: 20px auto;
    /* 修正: max-widthはそのままに、可変幅に対応できるようwidthを追加 */
    max-width: 210mm;
    width: 100%;
}

/* A4用紙の本体 */
.edss-preview-container {
    /* ★修正: 元の見た目を維持しつつ、縮小の基点のみ変更 */
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: 210mm;
    min-height: 297mm;
    /* ← 修正箇所1 */
    /* height: 297mm; */
    height: auto;
    /* ← 修正箇所2 (追加) */
    padding: 20mm;
    box-sizing: border-box;
    font-family: "Noto Serif JP", "MS Mincho", "Hiragino Mincho ProN", serif;
    color: #000;
    /* 縮小の基点を左上にする */
    transform-origin: top left;
}

/* 画面表示時のみ縮小処理を適用 */
@media screen {

    /* 修正: JavaScriptで計算した高さに追従するように修正 */
    .edss-preview-wrapper.is-scaled {
        height: var(--scaled-height, 297mm);
        margin-bottom: 20px;
        /* 元の余白を維持 */
        transition: height 0.1s ease-out;
    }
}

/* 上部情報（2カラムレイアウト） */
.post-overview {
    display: flex;
    margin-bottom: 10pt;
    padding-bottom: 8pt;
    border-bottom: 1pt solid #000;
    font-size: 6.5pt;
    font-family: "IBM Plex Sans JP", sans-serif;
    line-height: 1.4;
    width: 100%;
    overflow: hidden;
}

.overview-left {
    flex: 2;
    padding-right: 10pt;
    columns: 40mm;
    width: 40mm;
}

.overview-right {
    flex: 1;
    padding-left: 10pt;
}

.overview-item {
    margin-bottom: 1pt;
    display: flex;
    justify-content: space-between;
}

.overview-item strong {
    font-weight: bold;
    /* width: 40%; */
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
    margin-right: 4pt;
    max-width: 13em;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}

/* 演題内容表示 */
.abstract-content {
    line-height: 1.6;
}

/* 各項目のコンテナ */
.content-item-wrapper {
    margin-bottom: 2mm;
    page-break-inside: avoid;
    position: relative;
}

/* 各項目のタイトル (枠の内側、左上) */
.content-item-wrapper h3 {
    font-size: 7pt;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 0 2pt 0;
    color: #000 !important;
    position: absolute;
    top: 0.25mm;
    left: 1mm;
}

.content-item-wrapper h3::after {
    display: none !important;
}

/* 各項目の枠線 */
.content-box {
    border: 1pt solid #000;
    padding: 4mm 2mm 2mm;
    min-height: 10mm;
    font-size: 10.5pt;
}

.content-box.title-box {
    border-width: 2pt;
    font-size: 11pt;
    font-weight: bold;
    text-align: left;
    line-height: 1.4em;
    display: flex;
    height: 10mm;
    position: relative;
    overflow: hidden;
}

.content-box div {
    font-size: 10.5pt;
    line-height: 1.5;
}

.main-text .content-box {
    /* height: 90mm; */
    overflow: hidden;
    min-height: 60mm;
}

/* ルビスタイル */
ruby {
    ruby-position: over;
}

ruby rt {
    font-size: 0.6em;
    line-height: 1;
}

/* 上付き文字（所属機関番号） */
sup {
    font-size: 0.7em;
    vertical-align: super;
    line-height: 0;
    margin-left: 1px;
}

/* 管理画面スタイル */
.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    /* ★追加: 幅が狭いときに折り返すようにする */
    flex-wrap: wrap;
    gap: 15px;
}

.acf-input-wrap:has(+ .char-counter) input,
textarea:has(+ .char-counter) {
    border-radius: 12px 12px 0 0;
}

textarea+.char-counter {
    margin-top: -8px;
    display: block;
}

.acf-field input[type=text],
.acf-field input[type=password],
.acf-field input[type=date],
.acf-field input[type=datetime],
.acf-field input[type=datetime-local],
.acf-field input[type=email],
.acf-field input[type=month],
.acf-field input[type=number],
.acf-field input[type=search],
.acf-field input[type=tel],
.acf-field input[type=time],
.acf-field input[type=url],
.acf-field input[type=week],
.acf-field textarea,
.acf-field select {
    padding: .6em !important;
}

.page-content .submission-notice h2 {
    margin-top: 0;
    color: #b91e15;
    line-height: 1.1;
    font-size: 1.8em;
}

.page-content .submission-notice h2:before {
    display: none;
}

.page-content .submission-notice p {
    color: #333;
    font-weight: bold;
}



/* --- 印刷対応（最終調整版） --- */
@media print {

    /* ページのヘッダー、フッター、サイドバーなど、印刷に不要な共通要素を非表示 */
    header,
    footer,
    nav,
    aside,
    .sidebar,
    .god-post_title,
    .submission-notice {
        display: none !important;
    }

    /* プラグインの操作パネル（ボタンや検索フォーム）を非表示 */
    .management-header,
    .filter-section,
    .form-actions,
    .tb_turn_on {
        display: none !important;
    }

    /* ★追加: テーマのページタイトルや不要なラッパーを非表示にする */
    .entry-header,
    /* 一般的なテーマのタイトルラッパー */
    .post-title,
    /* h1など */
    .page-title {
        display: none !important;
    }

    .themify_builder_content-2235 .tb_y79s768,
    .edss-management-page {
        margin: 0 !important;
        padding: 0 !important;
    }

    .row_inner {
        max-width: 100% !important;
    }

    /* ★追加: テーマが設定する可能性のある余白や幅を強制的にリセット */
    body,
    #content,
    #primary,
    .site-content,
    .entry-content,
    .page-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        /* ★追加: 高さを自動にして、不要な空白ページを防ぐ */
        height: auto !important;
    }

    /* ★追加: htmlにも高さを制限 */
    html {
        height: auto !important;
    }

    @page {
        size: A4 portrait;
        margin: 0 !important;
        /* ブラウザの余白を強制的にゼロに */
    }

    /* --- 印刷対象のコンテナをページの基点にする --- */
    .edss-preview-wrapper {
        width: 210mm;
        height: 297mm;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        /* ★重要: はみ出しを完全に防ぎ、ページの重なりを阻止 */
        page-break-after: always;
        /* ★重要: 各演題の後に必ず改ページ */
        box-sizing: border-box;
        position: relative;
    }

    .edss-preview-wrapper:last-of-type {
        page-break-after: avoid !important;
        /* 最後の演題の後は改ページを禁止（空白ページ対策） */
    }

    .edss-preview-container {
        width: 210mm;
        /* 幅をA4に固定 */
        height: 297mm;
        /* 高さをA4に固定 */
        padding: 15mm;
        /* 印刷の余白はコンテナの内側に確保 */
        border: none !important;
        box-shadow: none !important;
        transform-origin: top left !important;
        /* 縮小の基点を左上に固定 */
        box-sizing: border-box !important;
        transform: none !important;
        /* JSで設定するまでtransformは無効 */
    }

    /* ★追加: 安定化対応用クラス */
    .edss-print-hidden {
        display: none !important;
    }

    .edss-print-ancestor {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        box-shadow: none !important;
        background: white !important;
        position: static !important;
        overflow: visible !important;
    }

}

/* ボタンスタイル調整 */
.button-small {
    padding: 4px 8px;
    font-size: 12px;
    height: auto;
    line-height: 1.4;
}

/* フォーカス表示 */
.button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* エラー表示 */
.error {
    border-color: #d63638 !important;
    box-shadow: 0 0 5px rgba(214, 54, 56, 0.3) !important;
}


/* 添付ファイル確認画面 */
.attachments-wrapper .content-box {
    display: flex;
    justify-content: space-evenly;
    gap: 2mm;
}

.attachments-wrapper .content-box .attachment-preview img {
    display: block;
    cursor: pointer;
    border: 1px solid #ddd;
    width: auto;
    max-height: 30mm;
}

.content-box .attachment-label {
    font-size: 8pt;
}

.attachment-preview a {
    display: block;
}

.attachment-preview a img {
    cursor: pointer;
}

/* --- 演題登録フォームのACF親グループ名のみを非表示にする --- */
#abstract-submission-form .acf-field-group>.acf-label {
    display: none;
}

/* --- メニュー項目の表示条件（最終修正版） --- */

/* 「ログアウト時のみ」のルールが設定されたメニューは、ログイン時に非表示 */
body.user-logged-in li.visibility-logged_out {
    display: none !important;
}

/* 「ログイン時のみ」のルールが設定されたメニューは、ログアウト時に非表示 */
body.user-logged-out li.visibility-logged_in {
    display: none !important;
}

/* 「編集者権限以上」のルールが設定されたメニューは、編集者でも管理者でもない場合に非表示 */
body:not(.user-role-editor):not(.user-role-administrator) li.visibility-editor {
    display: none !important;
}

/* 「管理者権限のみ」のルールが設定されたメニューは、管理者でない場合に非表示 */
body:not(.user-role-administrator) li.visibility-admin {
    display: none !important;
}


/* --- 送信ボタンのスピナー表示 --- */
.form-actions .button.is-processing {
    position: relative;
    color: transparent !important;
    /* 元のテキストを透明にする */
    pointer-events: none;
    /* さらなるクリックを防ぐ */
}

.form-actions .button.is-processing::after {
    content: '\f110';
    /* Font Awesomeのスピナーアイコンのコード */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;

    /* アイコンの位置とアニメーション */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    /* アイコンの色（ボタンの背景による） */
    font-size: 1.2em;

    animation: fa-spin 1s infinite linear;
}

/* ボタンが .button-primary の場合、アイコンの色を調整 */
.form-actions .button.button-primary.is-processing::after {
    color: #fff;
}

/* 通常ボタンの場合、アイコンの色を調整 */
.form-actions .button:not(.button-primary).is-processing::after {
    color: #555;
}

@keyframes fa-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* 管理画面用バリデーションスタイル */
.date-validation-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 8px;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 12px;
}

input[type="datetime-local"].error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.edss-abstract-table date {
    font-size: .8em;
    display: block;
}

.edss-abstract-table .operations {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    flex-direction: row;
    gap: 5px;
}

.edss-abstract-table .title-wrapper {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    align-items: center;
}

.edss-abstract-table .title-wrapper .status {
    background-color: #888;
    padding: .3em .8em;
    font-size: .8em;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    border-radius: 50px;
    width: 6em;
    text-align: center;
}

.edss-abstract-table .title-wrapper .post-title {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.5em;
    display: inline-block;
    border: none;
    margin: 0;
    padding: 0;
}

/* --- ステータスバッジのスタイル --- */
.status-badge {
    display: inline-block;
    padding: .3em .8em;
    font-size: .8em;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50px;
    width: 6em;
}

.status-badge i {
    margin-right: 4px;
}

.status-badge.status-draft {
    background-color: #f0ad4e;
    /* オレンジ */
}

.status-badge.status-private {
    background-color: #5cb85c;
    /* 緑 */
}

.status-badge.status-publish {
    /* background-color: #0275d8; */
    /* 青 */
}

.status-badge.status-unknown {
    background-color: #888;
    /* グレー */
}

.button.preview {
    background-color: #29a978;
}

.button.edit {
    background-color: #d59a34;
}

.button.delete {
    background-color: #d95a5a;
}


.acf-field.acf-field-message {
    padding-bottom: 0;
}

.acf-field.acf-field-message h1,
.acf-field.acf-field-message h2,
.acf-field.acf-field-message h3,
.acf-field.acf-field-message h4,
.acf-field.acf-field-message h5,
.acf-field.acf-field-message p,
.acf-field.acf-field-message ul {
    margin-bottom: 0;
}

.acf-field.acf-field-message h1+p,
.acf-field.acf-field-message h2+p,
.acf-field.acf-field-message h3+p,
.acf-field.acf-field-message h4+p,
.acf-field.acf-field-message h5+p,
.acf-field.acf-field-message h1+ul,
.acf-field.acf-field-message h2+ul,
.acf-field.acf-field-message h3+ul,
.acf-field.acf-field-message h4+ul,
.acf-field.acf-field-message h5+ul {
    margin-top: 1em;
}

.acf-field.acf-field-message+.acf-field {
    border-top: none;
}

.page-content table.user-profile-table th {
    word-break: break-word;
    padding-right: 4em;
}



/* 協賛先生ファイルアップロードスタイル調整 */
.wpcf7-form-control-wrap .igd-module-uploader.igd-form-uploader {
    margin-top: 0 !important;
    max-width: 100%;
}

.wpcf7-form-control-wrap .igd-file-uploader .igd-file-uploader-inner {
    background-color: #f4f4f4 !important;
}

.wpcf7-form-control-wrap .igd-file-uploader {
    border-color: #aeaeae !important;
}

.igd-file-uploader .igd-file-uploader-inner p,
.igd-file-uploader .igd-file-uploader-buttons button span,
.file-list-header .file-status-text {
    font-size: 0 !important;
}

.igd-file-uploader .igd-file-uploader-inner p::after {
    content: "ファイルをここにドラッグアンドドロップ";
    font-size: 10pt;
}

.igd-file-uploader .igd-file-uploader-inner p.or::after {
    content: "または";
    font-size: 10pt;
}

.igd-file-uploader .igd-file-uploader-buttons button span::after {
    content: "ファイルを選択";
    font-size: 12pt;
}

.file-list-header .file-status-text::after {
    content: "ファイルをアップロード";
    font-size: 12pt;
}

p.attention {
    color: #df2a4a;
    line-height: 1.5em;
    background: rgb(223 42 74 / 10%);
    font-weight: bold;
    margin: 1.5em 0 0;
    border: solid 2px #df2a4a;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 0 8px;
}


/* CF7のスタイル調整 */
.confirm_area,
.thanks_area {
    display: none;
}

/* 送信中のスピナーが表示されている間、ボタンを半透明にしクリックを無効化 */
.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.6;
    pointer-events: none;
}

/* --- CF7 エラーメッセージ用モーダル (最終版) --- */
.cf7-error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cf7-error-modal-overlay.is-visible {
    opacity: 1;
}

.cf7-error-modal-content {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    border: 5px solid transparent;
    /* 枠線用のスペース */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cf7-error-modal-overlay.is-visible .cf7-error-modal-content {
    transform: translateY(0);
}

/* エラーモーダルの色設定と詳細スタイル */
.cf7-error-modal-content.is-validation-error {
    border-color: #eab308;
    /* Yellow */
}

.cf7-error-modal-content.is-spam {
    border-color: #f97316;
    /* Orange */
}

.cf7-error-modal-content.is-failed {
    border-color: #ef4444;
    /* Red */
}

.cf7-error-modal-content h3.modal-title {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.25em;
    color: #333;
    font-weight: bold;
}

.cf7-error-modal-content .modal-description {
    text-align: left;
    line-height: 1.6;
    font-size: 0.95em;
    color: #4b5563;
    background: #f9fafb;
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 1.5em;
}

.cf7-error-modal-close-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.75em 2em;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.cf7-error-modal-close-btn:hover {
    background: #555;
}

/* --- プログラム画像ギャラリー (横1列表示 & Lightbox) --- */
.programs-images {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 14px 4px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.programs-images::-webkit-scrollbar {
    height: 6px;
}

.programs-images::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.programs-images::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.programs-images::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.program-image-link {
    display: block;
    flex: 0 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    line-height: 0;
}

.program-image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.program-image-thumb {
    height: 300px;
    width: auto;
    max-width: none;
    object-fit: cover;
    display: block;
}

/* --- EDSS Lightbox モーダル --- */
.edss-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.edss-lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.edss-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edss-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: block;
    user-select: none;
}

.edss-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.edss-lightbox-close:hover {
    transform: scale(1.15);
    opacity: 1;
}

body.edss-lightbox-open {
    overflow: hidden;
}

/* ==========================================================================
   プログラムページ (Programs Page)
   ========================================================================== */

/* キーフレームアニメーション: ヘッダーバー左側アクセント */
@keyframes bggradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* プログラムページコンテナ */
.edss-programs-container {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

/* フィルターラッパー (PC: カラム横並び / スマホ: 縦並び) */
.edss-programs-filter-wrapper {
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.edss-programs-filter-columns {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 20px 24px 16px;
}

/* 人名・所属テキスト検索バーエリア (PC: 横一列2カラム) */
.edss-programs-search-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 24px 16px;
    box-sizing: border-box;
}

.edss-programs-search-col {
    flex: 1;
    min-width: 0;
}

.edss-search-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}

.edss-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.edss-search-icon {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edss-programs-container input.edss-search-input,
.edss-programs-container input[type="text"].edss-search-input,
.edss-programs-sticky-drawer input.edss-search-input,
.edss-programs-sticky-drawer input[type="text"].edss-search-input,
input.edss-search-input,
input[type="text"].edss-search-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 40px !important;
    padding: 0 36px 0 38px !important;
    font-size: 14px !important;
    line-height: 40px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.edss-search-input:focus {
    border-color: var(--edss-primary-color, #0073aa);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.edss-search-clear-btn {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #d0d0d0 !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.15s ease, opacity 0.15s ease !important;
    z-index: 3 !important;
}

.edss-search-clear-btn:hover,
.edss-search-clear-btn:focus {
    background: #999999 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.edss-search-clear-btn.is-visible {
    display: flex !important;
}

/* サジェストドロップダウン */
.edss-search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    box-sizing: border-box;
}

.edss-search-suggest-dropdown.is-hidden {
    display: none !important;
}

.edss-suggest-item {
    padding: 8px 14px;
    font-size: 13px;
    color: #333333;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1.4;
}

.edss-suggest-item:last-child {
    border-bottom: none;
}

.edss-suggest-item:hover,
.edss-suggest-item.is-selected {
    background-color: #f7f9fb;
    color: var(--edss-primary-color, #0073aa);
}

.edss-suggest-item strong {
    color: var(--edss-primary-color, #0073aa);
    font-weight: 700;
}

/* フィルターフッター (下部白背景 + 中央リセットボタン) */
.edss-programs-filter-footer {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 12px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edss-programs-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 20px;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    text-shadow: none !important;
}

.edss-programs-filter-reset-btn:hover {
    border-color: #c4413a;
    color: #c4413a;
    background: #fffafa;
}

/* 絞り込むボタン (追従ドロワー右端配置用) */
.edss-programs-filter-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 20px;
    border: none;
    background: var(--edss-primary-color, #0073aa);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    text-shadow: none !important;
}

.edss-programs-filter-apply-btn:hover {
    filter: brightness(1.1);
    color: #fff;
}

.edss-programs-filter-column,
.edss-programs-filter-col {
    flex: 1;
    min-width: 0;
}

.edss-programs-filter-heading,
.edss-programs-filter-title,
.edss-programs-container h4.edss-programs-filter-heading,
.page-content .edss-programs-container h4.edss-programs-filter-heading {
    font-size: 14px !important;
    letter-spacing: normal !important;
    font-weight: 700 !important;
    color: #444 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    position: static !important;
    left: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    z-index: auto !important;
}

/* プログラム一覧内の全h4からテーマの疑似要素(影・枠)を徹底消去 */
.edss-programs-container h4::before,
.edss-programs-container h4::after,
.page-content .edss-programs-container h4::before,
.page-content .edss-programs-container h4::after {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 0 !important;
    height: 0 !important;
}

.edss-programs-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* フィルターボタン (角丸ピル形状) */
.edss-programs-filter-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 20px;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #444;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    text-shadow: none !important;
}

.edss-programs-filter-btn:hover {
    border-color: var(--edss-primary-color, #0073aa);
    color: var(--edss-primary-color, #0073aa);
    background: #f8fbfe;
}

.edss-programs-filter-btn.is-active {
    background: var(--edss-primary-color, #0073aa);
    border-color: var(--edss-primary-color, #0073aa);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.edss-programs-filter-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.edss-programs-filter-btn.is-disabled:hover {
    border-color: #dcdcdc;
    color: #444;
    background: #fff;
}

/* 日付セクション & 日付見出し (グレー背景・シャドウ・縦バー無し) */
.edss-programs-date-section {
    margin-bottom: 40px;
}

.edss-programs-date-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--edss-primary-color, #0073aa);
    border-bottom: 2px solid var(--edss-primary-color, #0073aa);
    padding-bottom: 10px;
    margin: 32px 0 24px;
    position: relative;
    letter-spacing: 0.02em;
    background: transparent !important;
    box-shadow: none !important;
}

.edss-programs-date-heading::before,
.edss-programs-date-heading::after {
    display: none !important;
    content: none !important;
}

/* プログラムカード (外枠カードを完全撤廃しプレーンなリスト構造へ) */
.edss-program-card {
    margin-bottom: 50px !important;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* ヘッダーバー (既存の .programs-list h2 完全準拠) */
.edss-programs-container .edss-program-title {
    background-color: #f5f5f5;
    padding: 10px 14px 10px 30px !important;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 0 14px 0;
    border-radius: 2px;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.45;
    color: #222;
}

.edss-programs-container .edss-program-title::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 5px;
    background: var(--edss-gradient-heading-bg, linear-gradient(135deg, #0073aa, #c4413a, #0073aa));
    background-size: 200% 200%;
    animation: bggradient 60s ease infinite;
}

/* メタ行 (日付・時間・会場・枠番号プレーンテキスト) */
.edss-programs-container .programs-meta,
.edss-programs-container .edss-program-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 16px;
    color: #444;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 14px;
}

/* 詳細セクション下部ディバイダー */
.edss-programs-container .edss-program-detail-body {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.edss-programs-container .tbp_post_meta_text i {
    margin-right: 0;
    color: #555;
}

/* 動的アナログ時計アイコン (開始時刻連動 & スピンアニメーション) */
.edss-programs-container .edss-dynamic-clock {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    display: inline-block;
    margin-right: 3px;
    fill: none;
    stroke: currentColor;
    color: #555;
}

.edss-programs-container .edss-dynamic-clock .clock-face {
    stroke-width: 1.2;
}

.edss-programs-container .edss-dynamic-clock .clock-pin {
    fill: currentColor;
}

.edss-programs-container .edss-dynamic-clock .clock-hour {
    stroke-width: 1.4;
    stroke-linecap: round;
}

.edss-programs-container .edss-dynamic-clock .clock-min {
    stroke-width: 1.1;
    stroke-linecap: round;
}

.edss-programs-container .tbp_post_meta_terms {
    color: #333;
    font-weight: 500;
}

.edss-programs-container .tbp_post_meta_frame {
    font-weight: 700;
    color: #555;
}

/* テーマ・講演見出し (ユーザー指定CSS準拠 & セカンダリカラー境界線) */
.edss-programs-container h3,
.programs-list h3 {
    color: var(--edss-heading-text-color, #333333);
    margin: .75em 0 .5em;
    font-size: 1.25em;
    background: var(--edss-gradient-heading-bg, linear-gradient(135deg, #0073aa, #c4413a, #0073aa));
    background-size: 200% 200%;
    animation: bggradient 20s ease infinite;
    padding-bottom: 4px;
}

.edss-programs-container h3.section-theme-name, .edss-programs-container h3.lecture-title {
    color: var(--edss-heading-text-color, #333333);
    font-weight: 700;
    padding-bottom: 6px;
    margin: 18px 0 10px;
    background: transparent;
    animation: none;
}

.edss-program-theme-wrap {
    margin: 14px 0 18px;
}

.edss-program-theme-wrap .section-theme-detail {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 6px 0 0;
}

/* Flexbox 区分・登壇者レイアウト */
.edss-program-section-wrap {
    margin-bottom: 16px;
}

.edss-program-section-wrap + .edss-program-section-wrap,
.edss-program-section-flex + .edss-program-section-flex {
    margin-top: 22px !important;
}

.edss-program-section-flex {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 8px 0 12px;
}

.edss-program-section-badge-col {
    flex-shrink: 0;
    width: 7.5em;
}

/* 区分バッジ (ユーザー指定CSS完全準拠) */
.edss-program-section-badge,
.programs-list dt {
    color: var(--edss-secondary-color, #c4413a);
    border: solid 1px var(--edss-secondary-color, #c4413a);
    width: 100%;
    text-align: center;
    font-size: .9em;
    font-weight: 500;
    display: block;
    line-height: 1;
    padding: 5px;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
}

.edss-program-performers-col {
    flex: 1;
    min-width: 0;
}

.edss-program-performer-entry {
    margin-bottom: 12px;
}

.edss-program-performer-entry:last-child {
    margin-bottom: 0;
}

/* 個別演題タイトル行 (症例番号と演題タイトルの横並び配置) */
.edss-program-sympositist-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 4px 0;
}

.edss-program-sympositist-title-row .presentation-number {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--edss-secondary-color, #c4413a);
    line-height: 1.35;
    flex-shrink: 0;
}

/* 個別演題タイトル (セカンダリカラー & 既存h4装飾完全打ち消し) */
.edss-programs-container h4.sympositist-title,
.edss-programs-container .edss-program-sympositist-title,
.page-content .edss-programs-container h4.sympositist-title,
.page-content .edss-programs-container .edss-program-sympositist-title,
.programs-list h4.sympositist-title,
.programs-list .sympositist-title,
.programs-list dd h4 {
    color: var(--edss-secondary-color, #c4413a) !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    border: none !important;
    border-bottom: dotted 1px var(--edss-secondary-color, #c4413a) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    position: static !important;
    left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1.35 !important;
}

/* 2番目以降のエントリのみ上部マージンを設ける */
.edss-program-performer-entry + .edss-program-performer-entry {
    margin-top: 12px;
}

/* 最初のエントリの個別演題h4・発表番号は上部マージン・パディングを完全ゼロにして左のバッジと上端を完全に揃える */
.edss-program-performers-col > .edss-program-performer-entry:first-child,
.edss-program-performers-col > .edss-program-performer-entry:first-child .edss-program-sympositist-title-row,
.edss-program-performers-col > .edss-program-performer-entry:first-child h4.sympositist-title,
.edss-program-performers-col > .edss-program-performer-entry:first-child .edss-program-sympositist-title,
.edss-program-performers-col > .edss-program-performer-entry:first-child .presentation-number {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.edss-programs-container h4.sympositist-title::before,
.edss-programs-container h4.sympositist-title::after,
.edss-programs-container .edss-program-sympositist-title::before,
.edss-programs-container .edss-program-sympositist-title::after,
.page-content .edss-programs-container h4.sympositist-title::before,
.page-content .edss-programs-container h4.sympositist-title::after,
.programs-list h4.sympositist-title::before,
.programs-list h4.sympositist-title::after,
.programs-list .sympositist-title::before,
.programs-list .sympositist-title::after,
.programs-list dd h4::before,
.programs-list dd h4::after {
    display: none !important;
    content: none !important;
}

/* 登壇者情報 (氏名・肩書き・所属 - ユーザー指定CSS完全上書き) */
.edss-program-performer-info {
    line-height: 1.4;
    color: #333;
}

.edss-program-performer-info .affiliation {
    color: #555;
    font-size: 13px;
    display: block;
}

.edss-program-performer-info .degree.up {
    display: block;
    font-size: 13px;
    color: #666;
}

.edss-program-performer-info .degree.bottom {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 共催 (co-host) */
.edss-programs-container .co-host,
.edss-program-cohost {
    margin-top: 14px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* 絞り込み該当なし */
.edss-programs-no-results {
    text-align: center;
    padding: 48px 24px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #dcdcdc;
    color: #777;
    font-size: 15px;
    margin: 24px 0;
}

/* 非表示制御 */
.edss-program-card.is-hidden,
.edss-programs-date-section.is-hidden,
.edss-programs-no-results.is-hidden {
    display: none !important;
}

/* 管理画面D&D並び替え用スタイル */
.edss-reorder-draggable,
.edss-term-draggable {
    cursor: grab;
}

.edss-reorder-placeholder,
.edss-term-sort-placeholder {
    background-color: #f0f6fc !important;
    border: 2px dashed #2271b1 !important;
    height: 40px;
}

.edss-reorder-notice {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 100000;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edss-reorder-notice.is-saving {
    background-color: #f0f0f1;
    color: #3c434a;
    border-left: 4px solid #2271b1;
}

.edss-reorder-notice.is-success {
    background-color: #edfaef;
    color: #1a5c20;
    border-left: 4px solid #00a32a;
}

.edss-reorder-notice.is-error {
    background-color: #fcf0f1;
    color: #8c1a24;
    border-left: 4px solid #d63638;
}

/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .edss-programs-filter-columns {
        flex-direction: column;
        gap: 16px;
        padding: 16px 16px 12px;
    }

    .edss-programs-search-row {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px 12px;
    }

    .edss-programs-filter-column,
    .edss-programs-filter-col {
        width: 100%;
    }

    .edss-program-section-flex {
        flex-direction: column;
        gap: 8px;
    }

    .edss-program-section-badge-col {
        width: auto;
        display: inline-block;
    }

    .edss-program-section-badge {
        width: auto;
        display: inline-block;
        padding: 4px 10px;
    }

    .edss-programs-date-heading {
        font-size: 19px;
        margin: 24px 0 16px;
    }

    .edss-programs-container .co-host,
    .edss-program-cohost {
        text-align: left;
    }
}

/* スクロール追従型 固定絞り込みバー & 展開ドロワー */
.edss-programs-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.edss-programs-sticky-wrapper.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* WordPress管理バー（Admin Bar）表示時の位置補正 */
body.admin-bar .edss-programs-sticky-wrapper {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .edss-programs-sticky-wrapper {
        top: 46px;
    }
}

/* 固定絞り込みバー (プライマリカラー背景 + シャドウ + 2カラム配置) */
.edss-programs-sticky-bar {
    background: var(--edss-primary-color, #0073aa);
    color: #fff;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: background-color 0.2s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.edss-programs-sticky-bar:hover {
    filter: brightness(1.04);
}

/* 左側: 現在選択されている絞り込み条件 */
.edss-sticky-bar-current {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edss-sticky-bar-current-label {
    opacity: 0.8;
    font-size: 11px;
    flex-shrink: 0;
}

.edss-sticky-bar-current-val {
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右側: 絞り込みを選択 */
.edss-sticky-bar-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.edss-programs-sticky-bar .edss-sticky-bar-icon {
    font-size: 11px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.edss-programs-sticky-bar.is-open .edss-sticky-bar-icon {
    transform: rotate(180deg);
}

/* 展開ドロワー (すごく薄いグレー背景 + 下部シャドウ) */
.edss-programs-sticky-drawer {
    background: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0;
}

.edss-programs-sticky-drawer.is-open {
    max-height: 72vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    padding: 0;
}

.edss-programs-sticky-drawer .edss-programs-filter-wrapper {
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 72vh;
    overflow: hidden;
}

/* スクロールボディ（日程・カテゴリー・会場・人名・所属） */
.edss-programs-sticky-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.edss-programs-sticky-drawer .edss-programs-filter-columns {
    padding: 16px 20px 14px;
}

.edss-programs-sticky-drawer .edss-programs-filter-footer {
    flex: 0 0 auto;
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 10px 20px;
    position: relative;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.edss-programs-sticky-drawer .edss-programs-filter-apply-btn {
    position: absolute;
    right: 20px;
}

@media (max-width: 768px) {
    .edss-programs-sticky-drawer .edss-programs-filter-footer {
        justify-content: space-between;
    }

    .edss-programs-sticky-drawer .edss-programs-filter-apply-btn {
        position: static;
    }
}

/* 背景オーバーレイ */
.edss-programs-sticky-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.edss-programs-sticky-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* 並び替え設定画面スタイル */
.edss-reorder-checkbox-label {
    display: block;
    margin-bottom: 8px;
}

.edss-reorder-code {
    margin-left: 6px;
    background: #f0f0f1;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ==========================================================================
   フロントエンド プログラム一覧 クイック編集 ＆ ダイレクトインライン編集スタイル
   ========================================================================== */

/* カードのホバー時赤枠線 */
.edss-program-card.has-admin-edit {
    position: relative;
    transition: outline 0.2s ease, background-color 0.2s ease;
    outline: 2px solid transparent;
    outline-offset: 8px;
    border-radius: 4px;
}

.edss-program-card.has-admin-edit:hover,
.edss-program-card.has-admin-edit.is-editing {
    outline-color: #e53935;
}

/* 編集中の薄い赤背景 */
.edss-program-card.has-admin-edit.is-editing {
    background-color: rgba(229, 57, 53, 0.04) !important;
}

.edss-program-card.has-admin-edit.is-editing .edss-program-title {
    background-color: rgba(229, 57, 53, 0.08) !important;
}

/* 枠の右下に表示される「編集」タブ（新規タブで管理画面へ） */
.edss-program-card .edss-program-edit-tab {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #e53935;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px 0 12px 0;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.edss-program-card.has-admin-edit:hover .edss-program-edit-tab {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.edss-program-card .edss-program-edit-tab:hover {
    background: #c62828;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.45);
}

/* 枠外右上に表示される「保存」「キャンセル」アクションバー */
.edss-program-card .edss-program-inline-actions {
    position: absolute;
    top: -42px;
    right: -8px;
    z-index: 100;
    display: none;
    align-items: center;
    gap: 8px;
}

.edss-program-card.is-editing .edss-program-inline-actions {
    display: flex;
}

.edss-program-card .edss-inline-save-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: #e53935 !important;
    color: #fff !important;
    border: 1px solid #e53935 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    padding: 5px 14px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease !important;
}

.edss-program-card .edss-inline-save-btn:hover {
    background: #c62828 !important;
    border-color: #c62828 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.5) !important;
}

.edss-program-card .edss-inline-save-btn:disabled {
    background: #b0bec5 !important;
    border-color: #b0bec5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.edss-program-card .edss-inline-cancel-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.edss-program-card .edss-inline-cancel-btn:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

/* 詳細コンテンツ未登録時の編集案内メッセージ（カード編集選択時のみ表示） */
.edss-program-card .edss-empty-detail-body {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(229, 57, 53, 0.04);
    border: 1px dashed rgba(229, 57, 53, 0.35);
    border-radius: 4px;
    text-align: center;
}

.edss-program-card.is-editing .edss-empty-detail-body {
    display: block;
}

.edss-program-card .edss-empty-detail-link {
    all: unset !important;
    box-sizing: border-box !important;
    color: #e53935 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: underline !important;
    transition: color 0.15s ease !important;
}

.edss-program-card .edss-empty-detail-link:hover {
    color: #c62828 !important;
}

/* 編集可能要素のスタイル */
.edss-program-card.has-admin-edit [data-edss-editable] {
    outline: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    border-radius: 2px;
}

.edss-program-card.has-admin-edit:hover [data-edss-editable]:hover {
    background: rgba(229, 57, 53, 0.08);
    cursor: text;
}

.edss-program-card.has-admin-edit [data-edss-editable="event_date"]:hover,
.edss-program-card.has-admin-edit [data-edss-editable="post_date"]:hover,
.edss-program-card.has-admin-edit [data-edss-editable="endtime"]:hover,
.edss-program-card.has-admin-edit [data-edss-editable="venue"]:hover,
.edss-program-card.has-admin-edit [data-edss-editable="programs_category"]:hover {
    cursor: pointer !important;
}

.edss-program-card.has-admin-edit [data-edss-editable]:focus {
    background: #fff !important;
    box-shadow: 0 0 0 2px #e53935;
}

/* インライン編集コントロール */
.edss-inline-ctrl {
    font-size: 13px !important;
    padding: 2px 6px !important;
    border: 1px solid #e53935 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2) !important;
    vertical-align: middle !important;
}

.edss-inline-select {
    max-width: 180px;
    height: 28px;
}

.edss-inline-time {
    width: 100px;
    height: 28px;
}

/* トースト通知 */
.edss-inline-toast {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 100000;
    background: #00a32a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edss-inline-toast.is-error {
    background: #d63638;
}

/* フロントエンド インライン編集 一括保存・未保存警告フローティングバー */
.edss-inline-floating-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: #1e293b;
    color: #f8fafc;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.edss-inline-floating-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}

.edss-inline-floating-bar.is-pulsing {
    animation: edssBarPulse 0.4s ease;
}

@keyframes edssBarPulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.06); }
    100% { transform: translateX(-50%) scale(1); }
}

.edss-floating-bar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.edss-floating-bar-icon {
    display: inline-flex;
    color: #fbbf24;
    font-size: 16px;
}

.edss-unsaved-badge {
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 9999px;
    margin: 0 2px;
}

.edss-floating-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.edss-floating-save-all-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: #3b82f6 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4) !important;
    transition: background 0.15s ease, transform 0.1s ease !important;
}

.edss-floating-save-all-btn:hover {
    background: #2563eb !important;
    transform: translateY(-1px) !important;
}

.edss-floating-save-all-btn:disabled {
    background: #64748b !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.edss-floating-discard-all-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.edss-floating-discard-all-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}

/* インライン編集で変更（未保存）が生じたカードは二重編集コンフリクト防止のため別タブ編集リンクを非表示 */
.edss-program-card.has-unsaved-changes .edss-program-edit-tab,
.edss-program-card.has-unsaved-changes .edss-empty-detail-body,
.edss-program-card:has([data-edss-editable].is-modified) .edss-program-edit-tab,
.edss-program-card:has([data-edss-editable].is-modified) .edss-empty-detail-body {
    display: none !important;
}

/* 別タブ保存後の自動更新時のハイライト演出 */
@keyframes edssCardUpdatePulse {
    0% {
        box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.6);
        background-color: rgba(46, 125, 50, 0.08);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.4);
        background-color: rgba(46, 125, 50, 0.04);
    }
    100% {
        box-shadow: none;
        background-color: transparent;
    }
}

.edss-program-card.edss-card-updated-highlight {
    animation: edssCardUpdatePulse 2.5s ease-out forwards;
}

/* 編集競合解決モーダル (3択ダイアログ) */
.edss-conflict-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.edss-conflict-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    animation: edssModalFadeIn 0.2s ease-out;
}

@keyframes edssModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.edss-conflict-modal-header {
    background: #fff;
    padding: 20px 24px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.edss-conflict-modal-icon {
    font-size: 24px;
    line-height: 1;
}

.edss-conflict-modal-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    animation: none !important;
    line-height: 1.4 !important;
}

.edss-conflict-modal-body {
    padding: 20px 24px;
}

.edss-conflict-modal-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.edss-conflict-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edss-conflict-modal-dialog button.edss-conflict-btn,
.edss-conflict-btn {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

/* 1. 自分の編集を破棄し、この投稿の最新の内容を反映させる */
.edss-conflict-modal-dialog button.edss-conflict-btn-pull-single,
.edss-conflict-btn-pull-single {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
}

.edss-conflict-modal-dialog button.edss-conflict-btn-pull-single:hover,
.edss-conflict-modal-dialog button.edss-conflict-btn-pull-single:focus,
.edss-conflict-btn-pull-single:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #14532d !important;
    box-shadow: 0 1px 3px rgba(22, 101, 52, 0.1);
}

/* 2. 自分の編集を破棄し、念のため全プログラムの最新の内容を反映させる */
.edss-conflict-modal-dialog button.edss-conflict-btn-pull-all,
.edss-conflict-btn-pull-all {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

.edss-conflict-modal-dialog button.edss-conflict-btn-pull-all:hover,
.edss-conflict-modal-dialog button.edss-conflict-btn-pull-all:focus,
.edss-conflict-btn-pull-all:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(51, 65, 85, 0.1);
}

/* 3. ○○さんの編集を破棄し、自分の内容で上書き保存する */
.edss-conflict-modal-dialog button.edss-conflict-btn-overwrite,
.edss-conflict-btn-overwrite {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
}

.edss-conflict-modal-dialog button.edss-conflict-btn-overwrite:hover,
.edss-conflict-modal-dialog button.edss-conflict-btn-overwrite:focus,
.edss-conflict-btn-overwrite:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #7f1d1d !important;
    box-shadow: 0 1px 3px rgba(153, 27, 27, 0.1);
}

.edss-conflict-modal-footer {
    padding: 12px 24px 16px;
    text-align: right;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.edss-conflict-modal-dialog button.edss-conflict-btn-cancel,
.edss-conflict-btn-cancel {
    all: unset;
    box-sizing: border-box;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.edss-conflict-modal-dialog button.edss-conflict-btn-cancel:hover,
.edss-conflict-modal-dialog button.edss-conflict-btn-cancel:focus,
.edss-conflict-btn-cancel:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

/* 管理画面 開催日ターム↔日付マッピング設定テーブル */
.edss-date-mapping-table {
    max-width: 600px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-collapse: collapse;
}

.edss-date-mapping-table th,
.edss-date-mapping-table td {
    padding: 8px 12px;
    vertical-align: middle;
    border: 1px solid #ccd0d4;
}

.edss-date-mapping-table input[type="date"] {
    width: 160px;
}

/* ==========================================================================
   管理画面 事務局設定 & フッター設定スタイル
   ========================================================================== */
.edss-admin-2col-wrap {
    display: flex;
    gap: 12px;
}
.edss-admin-2col-wrap .edss-admin-col {
    flex: 1;
}
.edss-admin-col-full {
    width: 100%;
}
.edss-admin-mb-sm {
    margin-bottom: 8px;
}
.edss-admin-mt-sm {
    margin-top: 8px;
}
.edss-admin-custom-bcc-box {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    max-width: 650px;
}
.edss-admin-w-220 {
    width: 220px;
}
.edss-admin-border-top-row {
    border-top: 1px solid #ccd0d4;
}
.edss-admin-purpose-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.edss-admin-purpose-desc {
    margin-top: 6px;
}
.edss-sponsor-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #ccd0d4;
}
.edss-sponsor-table th,
.edss-sponsor-table td {
    padding: 10px;
    border: 1px solid #ccd0d4;
    vertical-align: middle;
}
.edss-sponsor-table th {
    background: #f8fafc;
    font-weight: 600;
}
.edss-sponsor-thumb-preview {
    max-width: 80px;
    max-height: 50px;
    height: auto;
    display: block;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f1f5f9;
}
.edss-sponsor-handle {
    cursor: grab;
    text-align: center;
    color: #64748b;
    font-size: 16px;
    user-select: none;
}
.edss-sponsor-handle:active {
    cursor: grabbing;
}
.edss-sponsor-empty-msg {
    text-align: center;
    color: #94a3b8;
    padding: 20px;
}
.edss-admin-inline-input-sm {
    width: 80px;
}
.edss-th-sort { width: 30px; text-align: center; }
.edss-th-thumb { width: 100px; text-align: center; }
.edss-th-size { width: 140px; }
.edss-th-center { text-align: center; }
.edss-th-break { width: 80px; text-align: center; }
.edss-th-action { width: 60px; text-align: center; }
.edss-mt-xs { margin-top: 4px; }
.edss-btt-right { right: 24px; left: auto; }
.edss-btt-left { left: 24px; right: auto; }

/* ==========================================================================
   EDSS ページフッター (.edss-page-footer) - 完全カプセル化
   ========================================================================== */
.edss-page-footer {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.edss-page-footer *,
.edss-page-footer *::before,
.edss-page-footer *::after {
    box-sizing: border-box;
}
.edss-footer-border {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    display: none;
}

/* スポンサーバナーエリア */
.edss-footer-sponsors-section {
    padding: 30px 20px 20px;
    margin: 0 auto;
    max-width: 1200px;
}
.edss-footer-sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
}
.edss-footer-sponsor-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.edss-footer-sponsor-item:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}
.edss-footer-sponsor-img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.edss-footer-sponsor-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
    padding: 0;
}

/* 事務局情報エリア */
.edss-footer-secretariats-section {
    padding: 30px 20px;
    margin: 0 auto;
    max-width: 1200px;
}
.edss-footer-secretariats-grid {
    display: grid;
    gap: 30px;
    margin: 0 auto;
}
.edss-footer-secretariats-grid.edss-cols-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
}
.edss-footer-secretariats-grid.edss-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.edss-footer-secretariats-grid.edss-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.edss-footer-secretariats-grid.edss-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
    .edss-footer-secretariats-grid.edss-cols-2,
    .edss-footer-secretariats-grid.edss-cols-3,
    .edss-footer-secretariats-grid.edss-cols-4 {
        grid-template-columns: 1fr !important;
    }
}
.edss-footer-sec-card {
    text-align: center;
    line-height: 1.6;
    font-size: 12px;
}
.edss-page-footer h4.edss-footer-sec-heading,
.edss-footer-sec-heading {
    all: unset;
    box-sizing: border-box;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    text-align: center;
}
.edss-footer-sec-org {
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 6px 0;
}
.edss-footer-sec-info {
    line-height: 1.6;
    font-size: 12px;
    opacity: 0.9;
}
.edss-footer-sec-body {
    font-size: 12px;
    opacity: 0.9;
}

/* 事務局Webサイト フラット枠線ボタン（Themify非干渉・中央配置） */
a.edss-footer-btn-outline,
.edss-footer-btn-outline {
    all: unset;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 16px !important;
    margin: 10px auto 0 auto !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: currentColor !important;
    background: transparent !important;
    border: 1px solid currentColor !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}
a.edss-footer-btn-outline:hover,
.edss-footer-btn-outline:hover {
    background: rgba(128, 128, 128, 0.15) !important;
    opacity: 0.9 !important;
    text-decoration: none !important;
}
a.edss-footer-link-text {
    color: currentColor;
    text-decoration: underline;
    font-size: 12px;
    margin: 8px auto 0 auto;
    text-align: center;
    display: inline-block;
}

/* フッターウィジェットエリア */
.edss-footer-widgets-section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* コピーライトエリア（1まわり縮小） */
.edss-footer-copyright-section {
    padding: 16px 20px;
    text-align: center;
    font-size: 11px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

/* トップへ戻る円形ボタン */
.edss-back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--edss-accent-color, #0275d8);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    border: none;
    outline: none;
    padding: 0;
}
.edss-back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.edss-back-to-top-btn:hover {
    filter: brightness(1.15);
}
.edss-back-to-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.edss-m-0 {
    margin: 0 !important;
}

/* フッター事務局 並べ替えUI（ドラッグ＆ドロップ） */
.edss-footer-sortable-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 650px;
}
.edss-footer-sortable-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    cursor: default;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.edss-footer-sortable-item:hover {
    background-color: #f6f7f7;
    border-color: #b5bfc9;
}
.edss-footer-sortable-item .edss-sponsor-handle {
    cursor: grab;
    font-size: 16px;
    color: #646970;
    margin-right: 12px;
    user-select: none;
    display: inline-block;
    padding: 2px 4px;
}
.edss-footer-sortable-item .edss-sponsor-handle:active {
    cursor: grabbing;
}
.edss-footer-sortable-label {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}
.edss-footer-sortable-label input[type="checkbox"] {
    margin-right: 8px;
}

/* 用途別事務局設定 必須バッジ */
.edss-admin-required-badge {
    display: inline-block;
    background: #d63638;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.2;
}

/* 管理画面ステータスバッジ */
.edss-status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    border-width: 1px;
    border-style: solid;
}

.edss-status-badge-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.edss-status-badge-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* 管理画面カード＆設定レイアウト */
.edss-admin-card {
    max-width: 100%;
    padding: 20px;
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.edss-radio-block-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
}

.edss-radio-block-desc {
    margin-left: 24px;
    margin-top: 4px;
    color: #646970;
    font-size: 13px;
}

.edss-settings-callout {
    background-color: #f0f6fc;
    border-left: 4px solid #72aee6;
    padding: 12px 16px;
    margin: 15px 0;
}

.edss-external-icon {
    vertical-align: text-bottom;
    margin-right: 4px;
}

/* 協賛フォームビルダー UI */
.edss-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.edss-list-header h3 {
    margin: 0;
}

.edss-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin: 15px 0 20px 0;
}

.edss-checkbox-card {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.edss-checkbox-card input[type="checkbox"] {
    margin-right: 8px;
}

.edss-section-box {
    background: #f6f7f7;
    border: 2px solid #8c8f94;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 18px 20px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.edss-section-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2271b1;
    cursor: pointer;
    user-select: none;
}

.edss-section-box-header h4 {
    margin: 0;
    font-size: 15px;
    color: #1d2327;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.edss-section-title-preview,
.edss-field-title-preview {
    color: #135e96;
    font-weight: 600;
    margin-left: 8px;
    font-size: 0.95em;
}

.edss-toggle-icon {
    font-size: 18px;
    color: #50575e;
    margin-left: 10px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.is-collapsed .edss-toggle-icon {
    transform: rotate(-90deg);
}

.edss-section-meta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.edss-section-meta-row .edss-field-row {
    flex: 1;
    margin-bottom: 0;
}

.edss-section-fields-container {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 18px;
    margin-top: 15px;
    margin-bottom: 12px;
}

.edss-field-box {
    background: #ffffff;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.edss-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #eaecf0;
    border-bottom: 1px solid #c3c4c7;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
    user-select: none;
}

.edss-field-header strong {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.edss-field-body {
    padding: 15px;
}

.edss-field-row {
    margin-bottom: 15px;
}

.edss-field-row:last-child {
    margin-bottom: 0;
}

.edss-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

.edss-inline-checkbox {
    margin-left: 15px;
    font-size: 13px;
    cursor: pointer;
}

/* 新・協賛先生 フロントエンド共通フォームスタイル */
.edss-sponsorship-wrapper {
    max-width: 900px;
    margin: 20px auto;
    font-family: inherit;
    color: #333333;
}

.edss-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

/* テーマのスタイルを尊重するセクション見出し */
.edss-theme-section-title {
    margin: 30px 0 10px 0;
    font-weight: bold;
    color: inherit;
}

.edss-form-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.edss-form-error,
.edss-form-error-alert {
    background: #fef2f2;
    border: 1px solid #f87171;
    color: #991b1b;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.edss-form-error-alert ul {
    margin: 8px 0 0 20px;
    list-style: disc;
}

.edss-form-closed-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 30px auto;
}

/* 必須バッジ（赤背景・白文字・角丸） */
.edss-required-badge {
    display: inline-block;
    vertical-align: middle;
    background-color: #df2a4a;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    padding: 2px 7px;
    margin-left: 8px;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

/* 協賛フォームの注釈スタイル (.notes) - CF7には一切干渉しないようスコープ限定 */
.edss-sponsorship-wrapper .notes,
.edss-sponsorship-wrapper table .notes {
    color: #df2a4a;
    font-size: .9em;
    background-color: #fff0f0;
    display: inline-block;
    line-height: 1.4;
    padding: 4px 4px 4px 1.7em;
    margin: .125em 0;
    border-radius: 8px;
    position: relative;
    box-shadow: -1px -1px 2px 0px #ffdedb inset, 1px 1px 2px 0px #fff0f0 inset, -1px -1px 3px 2px #fff0f0 inset, 1px 1px 3px 2px #ffffff inset, -1px -1px 1px 3px #ffffff inset, 1px 1px 1px 3px #ffdedb inset, 0px 3px 1px 0px rgb(245 202 198 / 24%);
    box-sizing: border-box;
    text-align: left;
}

.edss-sponsorship-wrapper .notes::before,
.edss-sponsorship-wrapper table .notes::before {
    content: "!";
    position: absolute;
    left: 6px;
    top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background-color: #df2a4a;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
}

/* 受付終了選択肢のグレーアウトとバッジ表示（赤色を完全撤廃しグレーに統一） */
.edss-sponsorship-wrapper .edss-radio-label.is-closed,
.edss-sponsorship-wrapper .edss-checkbox-label.is-closed {
    opacity: 0.55;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.edss-sponsorship-wrapper .edss-radio-label.is-closed input,
.edss-sponsorship-wrapper .edss-checkbox-label.is-closed input {
    cursor: not-allowed !important;
    opacity: 0.6;
}

.edss-badge-closed {
    color: #94a3b8 !important;
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 4px;
}

select option.edss-option-closed,
.edss-sponsorship-wrapper select option.edss-option-closed {
    color: #94a3b8 !important;
}

/* 満席一覧用 notes ボックス */
.edss-closed-notes {
    display: block !important;
    width: 100%;
    margin-bottom: 8px !important;
}

.edss-closed-notes-title {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.edss-closed-notes-list {
    margin: 4px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.95em;
    line-height: 1.5;
}

.edss-closed-notes-list li::before {
    content: "・";
}

.edss-field-notes-wrap {
    margin-top: 4px;
}

.edss-section-lead {
    font-size: 15px;
    color: #555555;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

/* テーブル見出しセルの幅を30%に統一、左寄せ */
.edss-sponsorship-wrapper table th,
.edss-table-form th {
    width: 30% !important;
    vertical-align: top;
    text-align: left !important;
    box-sizing: border-box;
}

/* 入力要素の幅とマージン（下マージンを0に設定） */
.edss-sponsorship-wrapper input[type="text"],
.edss-sponsorship-wrapper input[type="email"],
.edss-sponsorship-wrapper input[type="tel"],
.edss-sponsorship-wrapper select,
.edss-sponsorship-wrapper textarea {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

.edss-sponsorship-wrapper textarea {
    min-height: 90px;
}

.edss-form-buttons {
    margin: 25px 0 40px 0;
    text-align: left;
}

.edss-btn-submit {
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

/* 必須未完了時・送信中の非活性化 */
.edss-btn-submit:disabled,
.edss-btn-submit.is-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* アーカイブ用 黒いボタン（テーマの.buttonを黒背景化） */
.button.edss-sponsorship-black-btn,
.edss-sponsorship-black-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.button.edss-sponsorship-black-btn:hover,
.edss-sponsorship-black-btn:hover {
    background-color: #222222 !important;
    color: #ffffff !important;
}

.edss-sponsorship-black-btn .edss-btn-arrow {
    margin-left: 8px;
}

/* 受付終了時の半透明・クリック不可 */
.button.edss-sponsorship-black-btn.is-closed,
.edss-sponsorship-black-btn.is-closed {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.edss-loading-indicator {
    display: none;
    margin-left: 10px;
    color: #64748b;
    font-size: 13px;
}

.edss-loading-indicator.is-visible {
    display: inline-block;
}

.edss-complete-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.edss-complete-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1e293b;
}

.edss-complete-icon-wrap {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edss-complete-icon {
    font-size: 52px;
    width: 52px;
    height: 52px;
    color: #16a34a;
    line-height: 1;
}

.edss-complete-message {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.edss-hidden-field {
    display: none;
}

/* 受付状況バッジ */
.edss-status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1.4;
}

.edss-status-badge-open {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.edss-status-badge-closed {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* 協賛ポータル一覧ショートコード用スタイル */
.edss-portal-wrapper {
    margin: 30px 0;
    font-family: inherit;
}

.edss-portal-empty {
    padding: 30px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.edss-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 15px;
}

.edss-portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.edss-portal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.edss-portal-card.is-closed {
    opacity: 0.75;
    background: #f8fafc;
}

.edss-portal-card.is-closed:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.edss-portal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.edss-portal-type-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0369a1;
}

.edss-portal-card.is-closed .edss-portal-type-badge {
    background: #e2e8f0;
    color: #64748b;
}

.edss-portal-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.edss-portal-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.edss-portal-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.edss-portal-card-footer .edss-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.edss-btn-disabled {
    background: #94a3b8;
    color: #ffffff;
    cursor: not-allowed;
    border: none;
}

.edss-btn-disabled:hover {
    background: #94a3b8;
    color: #ffffff;
}

.edss-external-icon {
    display: inline-block;
    margin-left: 4px;
}

/* =============================================================================
   Google Drive / スプレッドシート ピッカーモーダル用スタイル（管理画面）
   ============================================================================= */
.edss-picker-field-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.edss-picker-selected-label {
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
}

.is-hidden,
.edss-sheet-row.is-hidden,
#edss-sponsorship-sheets-settings-section.is-hidden,
#edss-cf7-only-settings-section.is-hidden {
    display: none !important;
}

/* 連携済みスプレッドシート表示カード */
.edss-connected-sheet-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 10px 0;
}

.edss-connected-sheet-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.edss-connected-sheet-title {
    font-size: 15px;
    font-weight: 700;
    color: #166534;
    margin: 0;
}

.edss-connected-sheet-details {
    margin: 0 0 14px 0;
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
}

.edss-permalink-toggle-header {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.edss-permalink-toggle-header .edss-toggle-icon {
    margin-left: auto;
    font-size: 18px;
    color: #50575e;
    transition: transform 0.2s ease;
}

.edss-form-permalink-card.is-collapsed .edss-connected-sheet-details {
    display: none;
}

.edss-form-permalink-card.is-collapsed .edss-permalink-toggle-header .edss-toggle-icon {
    transform: rotate(-90deg);
}

.edss-form-permalink-card:not(.is-collapsed) .edss-permalink-toggle-header {
    margin-bottom: 12px;
}

.edss-connected-sheet-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.edss-connected-sheet-note {
    font-size: 12px;
    color: #15803d;
    margin-top: 10px;
}

.edss-picker-meta-btn {
    margin-top: 10px;
}

.edss-picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100050;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.edss-picker-modal.is-active {
    display: flex;
}

.edss-picker-dialog {
    background: #ffffff;
    width: 640px;
    max-width: 95%;
    height: 520px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    box-sizing: border-box;
    animation: edssPickerFadeIn 0.2s ease;
}

@keyframes edssPickerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.edss-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.edss-picker-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edss-picker-toolbar {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edss-picker-breadcrumbs {
    font-size: 13px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.edss-picker-crumb-link {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.edss-picker-crumb-link:hover {
    text-decoration: underline;
}

.edss-picker-crumb-current {
    font-weight: 700;
    color: #1e293b;
}

.edss-picker-search-bar {
    display: flex;
    gap: 8px;
}

.edss-picker-search-input {
    width: 100%;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-sizing: border-box;
}

.edss-picker-body {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}

.edss-picker-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.edss-picker-item {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s ease;
}

.edss-picker-item:hover {
    background: #f0f9ff;
}

.edss-picker-item-nav {
    background: #f8fafc;
}

.edss-picker-item-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.edss-picker-icon-folder {
    color: #f59e0b;
}

.edss-picker-icon-sheet {
    color: #10b981;
}

.edss-picker-item-link {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edss-picker-item-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.edss-picker-item-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-right: 12px;
    white-space: nowrap;
}

.edss-picker-message {
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.edss-picker-message.is-error {
    color: #dc2626;
}

.edss-picker-footer {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 協賛フォーム一覧 D&D並び替え */
.edss-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edss-reorder-status {
    display: none;
    font-weight: 600;
    font-size: 13px;
}

.edss-reorder-status.is-saving {
    color: #0073aa;
}

.edss-reorder-status.is-success {
    color: #46b450;
}

.edss-reorder-status.is-error {
    color: #dc3232;
}

.edss-col-drag {
    width: 40px;
    text-align: center !important;
}

.edss-col-order {
    width: 70px;
    text-align: center !important;
    font-weight: 600;
}

.edss-col-status {
    width: 90px;
    text-align: center !important;
}

.edss-col-actions {
    width: 140px;
}

.edss-row-draggable {
    cursor: move;
}

.edss-row-draggable .column-drag {
    text-align: center;
    color: #999;
    vertical-align: middle;
}

.edss-row-draggable:hover .column-drag {
    color: #0073aa;
}

.edss-forms-sortable-placeholder {
    background-color: #f0f6fc;
    border: 1px dashed #72aee6;
    height: 48px;
}

/* Google Drive アップロードパターン設定テーブル */
.edss-col-pattern-size,
.edss-col-pattern-count {
    width: 170px;
}

.edss-pattern-num-input {
    width: 70px !important;
    min-width: 65px !important;
}

.edss-input-error {
    border-color: #d63638 !important;
    background-color: #fcf0f1 !important;
    box-shadow: 0 0 2px rgba(214, 54, 56, 0.8) !important;
}

/* 協賛申込フォーム一覧 一括編集用スタイル */
.edss-type-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #1d2327;
    background: #e0e0e0;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.edss-form-list-meta {
    margin-top: 4px;
    font-size: 11px;
    color: #646970;
}

.edss-form-list-meta code {
    font-size: 11px;
    padding: 1px 4px;
}

/* 協賛申込フォーム一覧：2段組みレイアウト */
.edss-forms-table th.edss-col-drag {
    width: 40px;
    text-align: center;
}

.edss-form-row-content {
    padding: 12px 16px !important;
}

.edss-form-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.edss-form-row-title-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.edss-form-row-actions {
    display: flex;
    gap: 6px;
}

.edss-form-row-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 14px;
}

.edss-control-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.edss-control-label {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.edss-control-group input[type="text"].regular-text {
    width: 220px;
}

.edss-control-modal-msg input[type="text"].regular-text {
    width: 260px;
}

.edss-list-bulk-actions {
    margin: 15px 0 10px;
    display: flex;
    justify-content: flex-end;
}

/* アップロードパターン必須固定表示 */
.edss-pattern-required-notice {
    color: #d63638;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

/* 公開側ボタンUI強化 */
.edss-btn-arrow {
    display: inline-block;
    margin-left: 6px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.edss-btn-submit:hover .edss-btn-arrow {
    transform: translateX(4px);
}

.edss-btn-icon {
    vertical-align: -3px;
    margin-right: 6px;
}

/* 戻るボタンのグレー化 */
.edss-btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.edss-btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: #ffffff !important;
}

.edss-btn-secondary.is-disabled,
.edss-btn-secondary[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* 送信中全画面ローディングスピナー */
.edss-submit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.edss-submit-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.edss-submit-spinner-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    max-width: 340px;
    width: 88%;
}

.edss-spinner-ring {
    border: 4px solid #f0f2f5;
    border-top: 4px solid #0056b3;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: edss-spin 0.9s linear infinite;
    margin: 0 auto 16px;
}

@keyframes edss-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.edss-submit-spinner-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 6px;
}

.edss-submit-spinner-desc {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

/* Honeypot 不可視ダミースパム対策 */
.edss-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* ==========================================================================
   新・協賛先生 申込履歴管理＆詳細モーダル・再送信スタイル
   ========================================================================== */
.edss-entries-admin-wrap {
    margin-top: 15px;
}

.edss-entries-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.edss-entries-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
}

.edss-entries-count {
    display: inline-block;
    background: #f0f0f1;
    color: #50575e;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.edss-entries-filter-bar {
    background: #fff;
    border: 1px solid #ccd0d4;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.edss-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.edss-filter-label {
    font-weight: 600;
    font-size: 13px;
    color: #3c434a;
}

.edss-filter-select {
    min-width: 200px;
}

.edss-filter-search {
    min-width: 240px;
}

.edss-filter-reset {
    color: #d63638 !important;
    text-decoration: none;
    margin-left: 5px;
}

.edss-bulk-actions-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.edss-bulk-select {
    min-width: 140px;
}

.edss-entries-table th,
.edss-entries-table td {
    vertical-align: middle;
}

.edss-col-time {
    width: 140px;
    font-size: 12px;
    color: #646970;
}

.edss-col-id {
    width: 70px;
}

.edss-id-badge {
    display: inline-block;
    background: #e7f1ff;
    color: #0c63e4;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
}

.edss-col-form {
    width: 160px;
}

.edss-col-company {
    font-weight: 600;
}

.edss-col-status {
    width: 130px;
}

.edss-col-actions {
    width: 160px;
    text-align: right;
}

.edss-status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 2px;
    margin-bottom: 2px;
}

.edss-status-badge-success {
    background: #edfaef;
    color: #007017;
    border: 1px solid #c3ebc9;
}

.edss-status-badge-error {
    background: #fcf0f1;
    color: #d63638;
    border: 1px solid #f8c9cb;
}

.edss-status-badge-muted {
    background: #f0f0f1;
    color: #646970;
    border: 1px solid #dcdcde;
}

.edss-delete-link {
    color: #d63638 !important;
    border-color: #d63638 !important;
    margin-left: 4px;
}

.edss-delete-link:hover {
    background: #d63638 !important;
    color: #fff !important;
}

.edss-no-entries {
    text-align: center;
    padding: 30px !important;
    color: #646970;
}

/* 詳細モーダル */
.edss-entry-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 100000;
    backdrop-filter: blur(2px);
}

.edss-entry-modal-overlay.is-open {
    display: block;
}

.edss-entry-detail-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 840px;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100001;
    overflow-y: auto;
    flex-direction: column;
}

.edss-entry-detail-modal.is-open {
    display: flex;
}

.edss-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.edss-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edss-modal-id-badge {
    background: #0056b3;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.edss-modal-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
}

.edss-modal-close-btn:hover {
    color: #000;
}

.edss-modal-body {
    padding: 24px;
}

.edss-modal-summary-box {
    display: flex;
    gap: 24px;
    background: #f1f3f5;
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.edss-modal-meta-item {
    font-size: 14px;
}

.edss-modal-meta-label {
    color: #6c757d;
    margin-right: 6px;
}

.edss-modal-actions-box {
    background: #f8f9fc;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}

.edss-modal-section-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.edss-modal-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.edss-modal-action-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 12px;
    height: 32px;
    line-height: 24px;
    font-size: 13px;
}

.edss-modal-action-buttons .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-top: -1px;
}

/* 事務局設定 未選択警告スタイル */
.edss-admin-notice-list {
    margin: 6px 0 0 20px !important;
    list-style-type: disc !important;
}

.edss-admin-notice-list li {
    margin-bottom: 2px !important;
    font-weight: 600;
}

.edss-purpose-row-missing {
    background-color: #fff1f2;
}

.edss-admin-missing-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #e11d48;
    margin-top: 4px;
}

.edss-btn-mail-both {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #fff !important;
}

.edss-btn-mail-both:hover {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
}

.edss-modal-data-table {
    margin-top: 10px;
    border: 1px solid #dcdcde;
}

.edss-modal-data-table th {
    width: 200px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
}

.edss-modal-data-table td {
    color: #0f172a;
    word-break: break-all;
}

.edss-gdrive-file-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    background: #f0f9ff;
    border-radius: 4px;
    border: 1px solid #bae6fd;
}

.edss-gdrive-file-link:hover {
    background: #e0f2fe;
    text-decoration: underline;
}

.edss-text-muted {
    color: #94a3b8;
}

/* プラグイン一覧画面: 演題先生の更新通知＆行ハイライト */
.edss-update-pulse {
    animation: edssUpdatePulseAnim 2s ease-in-out 3;
    outline: 3px solid #0284c7 !important;
    outline-offset: -2px;
}

@keyframes edssUpdatePulseAnim {
    0% {
        background-color: #f0f9ff;
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
    }
    50% {
        background-color: #e0f2fe;
        box-shadow: 0 0 12px 4px rgba(2, 132, 199, 0.6);
    }
    100% {
        background-color: #f0f9ff;
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

.edss-jump-to-update-btn {
    margin-left: 8px !important;
    vertical-align: middle !important;
    font-size: 12px !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 10px !important;
    background: #0284c7 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    border-radius: 3px !important;
}

.edss-jump-to-update-btn:hover,
.edss-jump-to-update-btn:focus {
    background: #0369a1 !important;
    color: #ffffff !important;
}

.edss-notice-clickable {
    cursor: pointer;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.edss-notice-clickable:hover {
    background-color: #f0f9ff !important;
    border-left-color: #0284c7 !important;
}

/* 協賛先生 未解決エラー警告バナー */
.edss-error-alert-notice {
    border-left-color: #dc3232 !important;
    padding: 12px 14px !important;
    margin: 15px 0 !important;
}

.edss-error-alert-title {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #dc3232 !important;
}

.edss-error-alert-title .dashicons {
    vertical-align: middle !important;
    margin-right: 4px !important;
}

.edss-error-alert-desc {
    margin: 6px 0 0 24px !important;
    font-size: 12px !important;
    color: #444444 !important;
}

.edss-error-alert-desc .button {
    margin-left: 8px !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   サイト管理ツール (EDSS Toolkit) 管理画面スタイル
   ========================================================================== */
.edss-toolkit-wrap .nav-tab-wrapper {
    margin-bottom: 20px;
}

.edss-toolkit-section {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.edss-toolkit-section-header {
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.edss-toolkit-badge-active {
    display: inline-block;
    padding: 2px 8px;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.edss-toolkit-badge-inactive {
    display: inline-block;
    padding: 2px 8px;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.edss-toolkit-table th,
.edss-toolkit-table td {
    vertical-align: middle;
}

.edss-toolkit-table .input-narrow {
    max-width: 140px;
}

.edss-toolkit-table .input-medium {
    max-width: 220px;
}

.edss-toolkit-banner-warning {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.edss-toolkit-banner-warning p {
    margin: 0;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.edss-toolkit-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edss-col-w10 { width: 10% !important; min-width: 70px !important; }
.edss-col-w12 { width: 12% !important; min-width: 90px !important; }
.edss-col-w14 { width: 14% !important; min-width: 110px !important; }
.edss-col-w16 { width: 16% !important; min-width: 120px !important; }
.edss-col-w20 { width: 20% !important; min-width: 140px !important; }
.edss-col-w22 { width: 22% !important; min-width: 150px !important; }
.edss-col-w26 { width: 26% !important; min-width: 180px !important; }

.edss-toolkit-table input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.edss-toolkit-details {
    margin-top: 6px !important;
}

.edss-toolkit-details summary {
    font-size: 12px !important;
    color: #2271b1 !important;
    cursor: pointer !important;
    user-select: none !important;
    outline: none !important;
    display: inline-block !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

.edss-toolkit-details summary:hover {
    background-color: #f0f0f1 !important;
}

.edss-toolkit-detail-box {
    margin-top: 8px !important;
    padding: 10px 12px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

.edss-toolkit-detail-row {
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.edss-toolkit-detail-row:last-child {
    margin-bottom: 0 !important;
}

.edss-toolkit-detail-label {
    font-weight: 600 !important;
    color: #475569 !important;
    min-width: 90px !important;
}

.edss-check-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
    align-items: center !important;
}

.edss-check-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.edss-toolkit-add-card {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 16px 20px !important;
    margin-top: 20px !important;
}

.edss-toolkit-add-card-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.edss-toolkit-add-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 12px 16px !important;
    align-items: flex-end !important;
    margin-bottom: 12px !important;
}

.edss-toolkit-field-group label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
}

.edss-toolkit-field-group input[type="text"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

.edss-toolkit-radio-label {
    margin-right: 20px !important;
    display: inline-block !important;
}

.edss-media-select-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.edss-mt-10 {
    margin-top: 10px !important;
}

/* ==========================================================================
   モダン設定カード (Collapsible Cards) スタイル
   ========================================================================== */
.edss-cards-list {
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.edss-cpt-card {
    background: #ffffff !important;
    border: 1px solid #dcdcde !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
}

.edss-cpt-card:hover {
    border-color: #2271b1 !important;
}

.edss-cpt-card.is-open {
    border-color: #2271b1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.edss-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 18px !important;
    cursor: pointer !important;
    user-select: none !important;
    background: #ffffff !important;
    transition: background-color 0.15s ease !important;
}

.edss-cpt-card.is-open .edss-card-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #f0f0f1 !important;
}

.edss-card-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.edss-card-icon-preview {
    width: 34px !important;
    height: 34px !important;
    background: #f0f7fc !important;
    border: 1px solid #c5d9ed !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2271b1 !important;
    flex-shrink: 0 !important;
}

.edss-card-icon-preview .dashicons {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

.edss-card-title-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
}

.edss-card-key-badge {
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    font-size: 12px !important;
}

.edss-card-slug-text {
    font-size: 12px !important;
    color: #64748b !important;
}

.edss-card-toggle-icon {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #64748b !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

.edss-cpt-card.is-open .edss-card-toggle-icon {
    transform: rotate(90deg) !important;
    color: #2271b1 !important;
}

.edss-card-icon-select-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.edss-card-icon-value {
    font-family: monospace !important;
    font-size: 13px !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
}

.edss-card-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.edss-card-body {
    display: none !important;
    padding: 20px 24px !important;
    background: #ffffff !important;
}

.edss-cpt-card.is-open .edss-card-body {
    display: block !important;
}

.edss-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 16px 24px !important;
    margin-bottom: 16px !important;
}

.edss-card-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.edss-card-field-full {
    grid-column: 1 / -1 !important;
}

.edss-card-field label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.edss-card-field input[type="text"],
.edss-card-field input[type="url"],
.edss-card-field select {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 10px !important;
}

/* ピル型ボタンスタイル（複数選択チェックボックス） */
.edss-pill-checkbox-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    align-items: center !important;
    margin-top: 4px !important;
}

.edss-pill-checkbox {
    cursor: pointer !important;
    user-select: none !important;
    display: inline-block !important;
}

.edss-pill-checkbox input[type="checkbox"] {
    display: none !important;
}

.edss-pill-checkbox span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9999px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.15s ease !important;
}

.edss-pill-checkbox span:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
}

.edss-pill-checkbox input[type="checkbox"]:checked + span {
    background: #2271b1 !important;
    border-color: #2271b1 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(34, 113, 177, 0.25) !important;
}

.edss-pill-checkbox input[type="checkbox"]:checked + span:hover {
    background: #135e96 !important;
    border-color: #135e96 !important;
}

/* アイコンピッカーボタン */
.edss-icon-picker-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    width: fit-content !important;
}

.edss-icon-picker-btn:hover {
    background: #f0f7fc !important;
    border-color: #2271b1 !important;
    color: #2271b1 !important;
}

.edss-icon-picker-btn .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #2271b1 !important;
}

/* Dashicons ピッカーモーダル */
.edss-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    z-index: 100050 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(2px) !important;
}

.edss-modal-overlay.is-visible {
    display: flex !important;
}

.edss-modal-card {
    background: #ffffff !important;
    width: 90% !important;
    max-width: 680px !important;
    max-height: 85vh !important;
    border-radius: 10px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
}

.edss-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.edss-modal-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.edss-modal-close-btn {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #64748b !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.edss-modal-close-btn:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

.edss-modal-search {
    padding: 12px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.edss-modal-search input {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

.edss-modal-body {
    padding: 16px 20px !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

.edss-icon-section-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    margin: 12px 0 8px 0 !important;
}

.edss-icon-section-title:first-child {
    margin-top: 0 !important;
}

.edss-icon-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)) !important;
    gap: 8px !important;
}

.edss-icon-item {
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
}

.edss-icon-item:hover {
    background: #f0f7fc !important;
    border-color: #2271b1 !important;
    color: #2271b1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08) !important;
}

.edss-icon-item .dashicons {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

.edss-hidden {
    display: none !important;
}

/* タクソノミー紐付けカスタム投稿タイプバッジ */
.edss-tax-assigned-badges {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.edss-badge-assigned-cpt {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 10px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    border-radius: 9999px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.edss-badge-assigned-cpt.is-empty {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
}

/* サイト管理ツール用 チェックボックスラベル行 */
.edss-toolkit-checkbox-label {
    display: inline-block !important;
    margin-bottom: 8px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
}

.edss-toolkit-checkbox-label input[type="checkbox"] {
    margin-top: -2px !important;
    margin-right: 6px !important;
}

/* PDF.js インラインビューア（フロントエンド＆管理画面共通） */
.edss-pdfjs-wrapper {
    width: 100% !important;
    margin: 1.5em 0 !important;
    box-sizing: border-box !important;
}

.edss-pdfjs-fullscreen {
    margin-bottom: 8px !important;
    text-align: right !important;
}

.edss-pdfjs-fullscreen-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.edss-pdfjs-container {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
    background: #525659 !important;
}

.edss-pdfjs-iframe {
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* エディタメディアボタン（クラシックエディタ＆Themifyテキストモジュール） */
.edss-media-btn-pdf {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
}

.edss-media-btn-pdf .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1 !important;
    color: #e11d48 !important;
}

/* サイト管理ツール: スマート競合通知バナー & 一括・個別無効化アクション */
.edss-toolkit-conflict-notice {
    border-left-color: #72aee6 !important;
    background: #ffffff !important;
    padding: 10px 44px 10px 14px !important;
}

/* アコーディオン構造 */
.edss-conflict-accordion {
    margin: 0 !important;
}

.edss-conflict-summary {
    list-style: none !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #3c434a !important;
    user-select: none !important;
    outline: none !important;
    padding: 2px 0 !important;
}

.edss-conflict-summary::-webkit-details-marker {
    display: none !important;
}

.edss-conflict-summary-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 400 !important;
    color: #3c434a !important;
}

.edss-conflict-count-badge {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #646970 !important;
}

.edss-conflict-toggle-btn {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #2271b1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 6px !important;
    text-decoration: underline !important;
    transition: color 0.15s ease !important;
}

.edss-conflict-summary:hover .edss-conflict-toggle-btn {
    background: transparent !important;
    color: #135e96 !important;
    text-decoration: underline !important;
}

.edss-conflict-accordion .edss-toggle-close-text {
    display: none !important;
}

.edss-conflict-accordion[open] .edss-toggle-open-text {
    display: none !important;
}

.edss-conflict-accordion[open] .edss-toggle-close-text {
    display: inline !important;
}

.edss-conflict-accordion-body {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #dcdcde !important;
}

.edss-conflict-notice-desc {
    font-size: 13px !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin: 0 0 10px 0 !important;
}

.edss-conflict-notice-list {
    list-style: disc !important;
    margin: 0 0 12px 24px !important;
    color: #374151 !important;
    font-size: 13px !important;
}

.edss-conflict-notice-list li {
    margin-bottom: 4px !important;
}

.edss-conflict-notice-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    margin: 10px 0 4px 0 !important;
}

.edss-btn-deactivate-conflicts {
    background: #ea580c !important;
    border-color: #c2410c !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    text-shadow: none !important;
}

.edss-btn-deactivate-conflicts:hover,
.edss-btn-deactivate-conflicts:focus {
    background: #c2410c !important;
    border-color: #9a3412 !important;
    color: #ffffff !important;
}

/* 個別警告バナー内のアクション行 */
.edss-banner-actions {
    margin: 8px 0 0 0 !important;
}

.edss-btn-deactivate-single {
    color: #b91c1c !important;
    border-color: #fca5a5 !important;
    background: #fef2f2 !important;
    font-weight: 600 !important;
}

.edss-btn-deactivate-single:hover,
.edss-btn-deactivate-single:focus {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #991b1b !important;
}

.edss-toolkit-success-notice {
    border-left-color: #10b981 !important;
    background: #ecfdf5 !important;
}

/* 新・協賛先生: バックアップ ＆ 復元（インポート）カード */
.edss-backup-restore-card {
    margin-top: 24px !important;
}

.edss-backup-restore-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 16px !important;
}

.edss-backup-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

.edss-backup-box-title {
    margin: 0 0 10px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.edss-backup-box-desc {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 16px 0 !important;
    flex-grow: 1 !important;
}

.edss-backup-box-action {
    margin-top: auto !important;
    padding-top: 12px !important;
}

.edss-import-file-field {
    margin-bottom: 12px !important;
}

.edss-file-input {
    display: block !important;
    width: 100% !important;
    padding: 6px !important;
    border: 1px dashed #cbd5e1 !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.edss-import-options {
    margin-bottom: 12px !important;
    background: #ffffff !important;
    padding: 10px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
}

.edss-import-radio-label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 12px !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.edss-import-radio-label:last-child {
    margin-bottom: 0 !important;
}

.edss-import-radio-label input[type="radio"] {
    margin-right: 6px !important;
    margin-top: -2px !important;
}

.edss-import-settings-opt {
    margin-bottom: 14px !important;
}

.edss-import-checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.edss-import-checkbox-label input[type="checkbox"] {
    margin-right: 6px !important;
}

.edss-btn-import {
    background: #0284c7 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.edss-btn-import:hover,
.edss-btn-import:focus {
    background: #0369a1 !important;
    border-color: #075985 !important;
    color: #ffffff !important;
}

/* CF7併用注意書き */
.edss-conflict-notice-cf7-warn {
    background: #eff6ff !important;
    border-left: 4px solid #3b82f6 !important;
    padding: 8px 12px !important;
    margin: 8px 0 12px 0 !important;
    font-size: 12px !important;
    color: #1e40af !important;
    line-height: 1.5 !important;
}

/* 無効化前設定注意書き */
.edss-conflict-notice-warning {
    background: #fef2f2 !important;
    border-left: 4px solid #ef4444 !important;
    padding: 8px 12px !important;
    margin: 8px 0 12px 0 !important;
    font-size: 13px !important;
    color: #991b1b !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   公表用演題登録期間 (Submission Period) 表示スタイル
   ========================================================================== */
.edss-period-extended {
    color: #d63638 !important;
    font-weight: 700 !important;
}

/* 管理画面: 公表用演題登録期間ビルダーUI */
.edss-period-builder-wrap {
    max-width: 900px;
    background: #ffffff;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 8px;
    box-sizing: border-box;
}

.edss-period-mode-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.edss-period-mode-btn,
.edss-period-lang-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.edss-period-mode-btn:hover,
.edss-period-lang-btn:hover {
    background: #edf2f7;
    border-color: #94a3b8;
}

.edss-period-mode-btn.active,
.edss-period-lang-btn.active {
    background: #2271b1;
    border-color: #2271b1;
    color: #ffffff;
}

.edss-period-lang-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.edss-period-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.edss-period-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edss-period-field-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.edss-period-field-row:last-child {
    margin-bottom: 0;
}

.edss-period-field-label {
    min-width: 110px;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
}

.edss-period-extensions-list {
    margin-top: 12px;
}

.edss-period-extension-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 3px solid #d63638;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.edss-period-btn-del {
    color: #d63638 !important;
    border-color: #fca5a5 !important;
    background: #fef2f2 !important;
    cursor: pointer;
}

.edss-period-btn-del:hover {
    background: #fee2e2 !important;
}

.edss-period-preview-card {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 14px 16px;
    margin-top: 16px;
}

.edss-period-preview-title {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edss-period-preview-content {
    font-size: 15px;
    line-height: 1.7;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 12px 14px;
    min-height: 24px;
}

.edss-period-sync-box {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #475569;
}

.edss-period-placeholder-text {
    color: #94a3b8 !important;
}

.edss-period-hidden {
    display: none !important;
}

.edss-period-preview-title-en,
.edss-period-manual-title {
    margin-top: 12px !important;
}

/* --- 公表用演題登録期間: 前後テキスト・装飾・レスポンシブ折り返し --- */
.edss-period-prefix,
.edss-period-suffix {
    display: block;
    margin: 4px 0;
}

.edss-period-dates {
    display: block;
    margin: 4px 0;
}

.edss-text-bold {
    font-weight: 700 !important;
}

.edss-text-underline {
    text-decoration: underline !important;
}

.edss-text-red,
body.mce-content-body .edss-text-red {
    color: #d63638 !important;
}

.edss-period-extended,
body.mce-content-body .edss-period-extended {
    color: #d63638 !important;
    font-weight: 700 !important;
}

.edss-period-segment {
    display: inline-block;
    white-space: nowrap;
}

.edss-period-arrow {
    display: inline-block;
    margin: 0 4px;
}

.edss-period-format-options {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    font-size: 13px;
    color: #475569;
}

.edss-period-format-options label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-weight: normal;
}

/* 正午チェックボックス動的表示ラッパー */
.edss-period-noon-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
}

/* 簡単ビルダーロック状態 */
.edss-period-builder-locked {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

/* 独自入力検知警告バナー */
.edss-period-conflict-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.edss-period-conflict-notice-title {
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edss-period-conflict-notice-desc {
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* トップバー（モード切り替え ＋ 右端の英語を使用するトグル） */
.edss-period-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.edss-period-use-en-wrap label {
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #1e293b;
}

/* HTML直接編集パネルの各言語ヘッダー */
.edss-period-manual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 6px;
}

.edss-period-manual-header .edss-period-manual-title {
    margin: 0 !important;
}

/* 内容を削除ボタン */
.edss-period-btn-clear {
    color: #d63638 !important;
    border-color: #fca5a5 !important;
    background: #ffffff !important;
    cursor: pointer;
    font-size: 12px !important;
}

.edss-period-btn-clear:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
}

/* 英語非表示制御 */
.edss-period-en-hidden {
    display: none !important;
}

/* 基本募集期間 2カラムレイアウト（左: 期間日時, 右: 年号表記） */
.edss-period-dates-era-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.edss-period-dates-col {
    flex: 1 1 auto;
}

.edss-period-era-col {
    flex: 0 0 220px;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.edss-period-era-col .edss-period-field-label {
    min-width: auto;
    text-align: left;
    margin-bottom: 4px;
    display: block;
}

@media (max-width: 782px) {
    .edss-period-dates-era-grid {
        flex-direction: column;
        gap: 12px;
    }
    .edss-period-era-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 12px;
        width: 100%;
    }
}

.edss-period-era-col .edss-period-field-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
    width: 100%;
}

.edss-period-era-col .edss-period-field-row label {
    margin-right: 0 !important;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}