
        /* --- 個別ツールUI用スタイル --- */
        .secure-tool-page .p-secure-tool .settings-panel {
            background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; padding: 20px;
            display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
        }
        .secure-tool-page .p-secure-tool .settings-header { 
            font-weight: bold; font-size: 1.05rem; color: #2c3e50; 
            border-bottom: 2px solid #eee; padding-bottom: 10px;
        }
        .secure-tool-page .p-secure-tool .section-title { font-size: 0.85rem; color: #95a5a6; font-weight: bold; margin-top: 10px; display: block; }

        .secure-tool-page .p-secure-tool .tag-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
        .secure-tool-page .p-secure-tool .tag-btn {
            background: #eaf2f8; color: #2980b9; border: 1px solid #a9cce3;
            padding: 6px 12px; border-radius: 20px; cursor: pointer; font-size: 0.85rem;
            transition: all 0.2s; font-weight: bold;
        }
        .secure-tool-page .p-secure-tool .tag-btn:hover { background: #d4e6f1; transform: translateY(-1px); }
        .secure-tool-page .p-secure-tool input[type="text"].filename-input {
            width: 100%; padding: 12px; font-size: 1rem; border: 1px solid #bdc3c7;
            border-radius: 4px; box-sizing: border-box; background: white; color: #333;
        }
        .secure-tool-page .p-secure-tool input[type="text"].filename-input:focus { outline: none; border-color: #3498db; box-shadow: 0 0 5px rgba(52,152,219,0.3); }
        .secure-tool-page .p-secure-tool .notice-text { font-family: monospace; font-size: 1.1rem; color: #27ae60; font-weight: bold; margin-top: 5px; background: #eafaf1; padding: 12px 15px; border-radius: 4px; border: 1px solid #a3e4d7; word-break: break-all; }

        .secure-tool-page .p-secure-tool .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .secure-tool-page .p-secure-tool .btn-warn { background-color: white; border: 1px solid #e74c3c; color: #e74c3c; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s; }
        .secure-tool-page .p-secure-tool .btn-warn:hover { background-color: #fdedec; }

        /* --- ファイルリスト (Sortable カード) --- */
        .secure-tool-page .p-secure-tool #file-list { display: flex; flex-direction: column; gap: 15px; }
        .secure-tool-page .p-secure-tool .file-card { background: white; border: 1px solid #ddd; border-radius: 8px; display: flex; align-items: stretch; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); height: 100px; position: relative; }
        .secure-tool-page .p-secure-tool .file-card.deleted { opacity: 0.5; background-color: #f9f9f9; }
        .secure-tool-page .p-secure-tool .file-card.deleted .thumbnail-area, .secure-tool-page .p-secure-tool .file-card.deleted .info-area { filter: grayscale(100%); }
        .secure-tool-page .p-secure-tool .file-card.deleted::after { content: "除外"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: white; padding: 4px 12px; border-radius: 15px; font-size: 0.9rem; pointer-events: none; z-index: 10; }

        .secure-tool-page .p-secure-tool .grip-handle { padding: 0 10px; cursor: move; color: #ccc; font-size: 1.5rem; display: flex; align-items: center; border-right: 1px solid #eee; margin-right: 5px; }
        .secure-tool-page .p-secure-tool .grip-handle:hover { color: #888; }
        .secure-tool-page .p-secure-tool .sortable-ghost { opacity: 0.4; background-color: #ecf0f1; border: 2px dashed #bdc3c7; }

        .secure-tool-page .p-secure-tool .thumbnail-area { width: 100px; background-color: #eee; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-right: 1px solid #eee; overflow: hidden; cursor: pointer; position: relative; }
        .secure-tool-page .p-secure-tool .thumbnail-area img { max-width: 90%; max-height: 90%; box-shadow: 0 0 3px rgba(0,0,0,0.2); }
        .secure-tool-page .p-secure-tool .thumbnail-spinner { width: 20px; height: 20px; border: 3px solid #ccc; border-top: 3px solid #888; border-radius: 50%; animation: spin 1s linear infinite; }

        .secure-tool-page .p-secure-tool .info-area { flex-grow: 1; padding: 10px 15px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
        .secure-tool-page .p-secure-tool .file-name { font-weight: bold; font-size: 1rem; color: #2c3e50; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .secure-tool-page .p-secure-tool .file-meta { font-size: 0.85rem; color: #7f8c8d; display: flex; align-items: center; gap: 10px; }
        .secure-tool-page .p-secure-tool .badge-type { background-color: #ecf0f1; color: #2c3e50; padding: 2px 8px; border-radius: 10px; font-weight: bold; font-size: 0.75rem; }
        .secure-tool-page .p-secure-tool .badge-html { background-color: #eafaf1; color: #27ae60; }
        .secure-tool-page .p-secure-tool .badge-pdf { background-color: #fdedec; color: #e74c3c; }

        .secure-tool-page .p-secure-tool .action-area { display: flex; align-items: center; gap: 5px; padding: 0 15px; border-left: 1px solid #eee; background-color: #fdfdfd; }
        .secure-tool-page .p-secure-tool .icon-btn { background: white; border: 1px solid #ddd; font-size: 1rem; color: #555; cursor: pointer; width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
        .secure-tool-page .p-secure-tool .icon-btn:hover { background-color: #ecf0f1; color: #333; }
        .secure-tool-page .p-secure-tool .icon-btn.delete-btn:hover { background-color: #fdedec; color: #e74c3c; border-color: #fadbd8; }
        .secure-tool-page .p-secure-tool .file-card.deleted .icon-btn.delete-btn { color: #fff; background-color: #3498db; border-color: #3498db; }

        /* モーダル設定 */
        .secure-tool-page .p-secure-tool-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 11000; display: none; flex-direction: column; justify-content: flex-start; align-items: center; overflow-y: auto; padding: 60px 0; }
        .secure-tool-page .p-secure-tool-modal img { max-width: 90%; height: auto; max-height: none; box-shadow: 0 0 20px rgba(0,0,0,0.5); background: white; }
        .secure-tool-page .p-secure-tool-modal-close { color: white; font-size: 2.5rem; position: fixed; top: 20px; right: 30px; cursor: pointer; z-index: 11001; line-height: 1; }
        .secure-tool-page .p-secure-tool-modal-close:hover { color: #e74c3c; }

        /* 記事エリア */
        .secure-tool-page .article-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; }
        .secure-tool-page .article-section h2 { font-size: 1.6rem; color: #333; margin-bottom: 25px; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; }
        .secure-tool-page .article-section h3 { font-size: 1.3rem; color: #0056b3; margin-top: 40px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .secure-tool-page .article-section h3::before { content: "#"; color: #007acc; font-family: monospace; }
        .secure-tool-page .article-section p { margin-bottom: 1.5em; text-align: justify; line-height: 1.8; color: #444; }
        .secure-tool-page .article-section ul { margin-bottom: 1.5em; padding-left: 20px; color: #444; }
        .secure-tool-page .article-section li { margin-bottom: 0.5em; }
        
        .secure-tool-page .faq-item { margin-bottom: 20px; background: #f9f9f9; padding: 20px; border-radius: 8px; }
        .secure-tool-page .faq-q { font-weight: bold; color: #0056b3; margin-bottom: 10px; display: block; }
        .secure-tool-page .faq-a { font-size: 0.95rem; }

        .secure-tool-page .alert-box { background: #fff3cd; padding: 20px; border-radius: 6px; border: 1px solid #ffeeba; margin: 30px 0; color: #856404; font-size: 0.9rem; }
    