
        .secure-tool-page :root {
            --font-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
        }

        /* ページグリッド */
        .secure-tool-page #page-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
            margin-top: 20px;
        }

        /* ページカード */
        .secure-tool-page .p-secure-tool .page-card {
            background: white; border: 1px solid #ddd; border-radius: 8px;
            overflow: hidden; position: relative;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            transition: transform 0.2s; user-select: none;
        }
        .secure-tool-page .p-secure-tool .sortable-ghost { opacity: 0.4; background-color: #ecf0f1; border: 2px dashed #bdc3c7; }

        .secure-tool-page .p-secure-tool .page-card.deleted .card-body,
        .secure-tool-page .p-secure-tool .page-card.deleted .card-header {
            opacity: 0.4; filter: grayscale(100%);
        }
        .secure-tool-page .p-secure-tool .page-card.deleted::after {
            content: "除外"; position: absolute; top: 40%; 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 .card-header {
            background: #f8f9fa; padding: 8px;
            display: flex; align-items: center;
            border-bottom: 1px solid #eee;
        }
        .secure-tool-page .p-secure-tool .grip-handle {
            cursor: move; color: #aaa; margin-right: 8px; font-size: 1.2rem; line-height: 1;
        }
        .secure-tool-page .p-secure-tool .grip-handle:hover { color: #555; }
        
        .secure-tool-page .p-secure-tool .page-info { flex-grow: 1; overflow: hidden; }
        .secure-tool-page .p-secure-tool .page-number { font-weight: bold; color: #555; font-size: 0.9rem; display: block; }
        .secure-tool-page .p-secure-tool .file-name { font-size: 0.7rem; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

        .secure-tool-page .p-secure-tool .card-body {
            height: 220px; display: flex; align-items: center; justify-content: center;
            background: #eee; position: relative; cursor: move; overflow: hidden;
        }
        .secure-tool-page .p-secure-tool .card-body img {
            max-width: 100%; max-height: 100%; box-shadow: 0 0 5px rgba(0,0,0,0.1); transition: transform 0.3s;
        }

        .secure-tool-page .p-secure-tool .card-actions {
            display: flex; justify-content: space-around; padding: 8px 4px;
            background: white; border-top: 1px solid #eee;
        }
        .secure-tool-page .p-secure-tool .icon-btn {
            background: none; border: 1px solid transparent; font-size: 1.1rem;
            color: #7f8c8d; cursor: pointer; padding: 6px; border-radius: 4px;
            display: flex; align-items: center; justify-content: center;
        }
        .secure-tool-page .p-secure-tool .icon-btn:hover { background-color: #ecf0f1; color: #2c3e50; border-color: #ddd; }
        .secure-tool-page .p-secure-tool .icon-btn.delete-btn { width: auto; font-size: 0.9rem; padding: 6px 10px; }
        .secure-tool-page .p-secure-tool .page-card.deleted .icon-btn.delete-btn {
            color: #2980b9; background-color: #eaf2f8; border-color: #a9cce3; font-weight: bold;
        }
        .secure-tool-page .p-secure-tool .page-card:not(.deleted) .icon-btn.delete-btn:hover {
            color: #c0392b; background-color: #fdedec; border-color: #fadbd8;
        }

        .secure-tool-page .page-input-wrapper { display: flex; align-items: center; gap: 5px; }
        .secure-tool-page .page-input-wrapper input {
            padding: 8px; border: 1px solid #bdc3c7; border-radius: 4px; width: 100px;
        }
        .secure-tool-page .page-input-label { font-size: 0.85rem; color: #555; }

        /* 記事エリア */
        .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; }
    