:root { font-family: "Yu Gothic UI", "Meiryo", sans-serif; color: #e8e8fd; background: #075f5b; font-synthesis: none; overflow-y: auto; scrollbar-width: none;      /* Firefox */ -ms-overflow-style: none; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input, textarea, select { font: inherit; } .app-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; color:#fff; background:#17410e; } .app-header h1 { margin:0 0 6px; font-size:24px; } .app-header p { margin:0; color:#cbd5e1; font-size:13px; } .version { flex-shrink:0; padding:6px 10px; border:1px solid #64748b; border-radius:6px; font-size:11px; } .workspace { display:grid; grid-template-columns:minmax(480px, 1.1fr) minmax(360px, .9fr); align-items:start; gap:18px; width:calc(100% - 28px); margin:18px auto 40px; } .analysis-column { min-width:0;} .preview-column { min-width:0; position:sticky; top:12px; } .panel { margin-bottom:16px; padding:18px; border:1px solid #045004; border-radius:12px; background:#052042; box-shadow:0 3px 12px rgb(15 23 42 / 4%); min-width:0; } .panel h2 { margin:0 0 14px; padding-left:10px; border-left:4px solid #3b82f6; font-size:17px; } .help { margin:8px 0 14px; color:#edeff3; font-size:12px; line-height:1.8; } .ai-help { margin:8px 0 14px; color:#0a3606; font-size:12px; line-height:1.8; } .load-controls { display:grid; grid-template-columns:1fr 1fr; gap:10px; } .file-picker { display:flex; min-height:94px; flex-direction:column; justify-content:center; gap:8px; padding:13px; border:2px dashed #137007; border-radius:9px; background:#092b01; cursor:pointer; } .file-picker:hover { border-color:#3b82f6; background:#1c680b; } .file-picker strong { font-size:13px; } .file-picker span { color:#cbe925; font-size:11px; } .file-picker input { width:100%; font-size:11px; } .file-picker input[type="file"] {display: none;} .load-controls.is-dragging .file-picker { border-color:#2563eb; background:#feefff; } .load-controls.is-dragging .file-picker strong { color:#1d4ed8; } .toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; } .toolbar label { font-size:12px; color:#edeff3; } .toolbar select { flex:1 1 100%; min-width:0; padding:9px; border:1px solid #cbd5e1; border-radius:6px; background:#bfc8fa; } button { min-height:36px; padding:8px 12px; border:0; border-radius:7px; cursor:pointer; font-size:12px; font-weight:700; } button:hover { opacity:.85; } button:disabled { cursor:wait; opacity:.55; } .primary { background:#2563eb; color:#fff; } .ai-button { background:#6d28d9; color:#fff; } .secondary,.small-button { background:#9bbcf8; color:#10141a; } .danger { background:#fee2e2; color:#991b1b; } .small-button { min-height:30px; padding:6px 9px; font-size:11px; } .status { margin-top:12px; padding:10px 12px; border-radius:7px; background:#d9fdcd; color:#050505; font-size:12px; line-height:1.6; overflow-wrap:anywhere; } .status.success { background:#ecfdf5; color:#166534; } .status.error { background:#fef2f2; color:#991b1b; } .file-list-wrap { margin-top:14px; padding:10px; border:1px solid #e2e8f0; border-radius:8px; font-size:12px; } .file-list-wrap ul { max-height:150px; overflow:auto; margin:8px 0 0; padding-left:20px; } .file-list-wrap li { margin:4px 0; overflow-wrap:anywhere; color:#7ff4f8; } .ai-settings { margin-top:14px; padding:12px; border:1px solid #a7a840; border-radius:8px; background:#eee9da; } .ai-settings summary { cursor:pointer; font-size:13px; color:#5034cc;font-weight:700; } .ai-settings label { display:block; margin:12px 0 6px; font-size:12px; } .ai-settings input { width:100%; min-height:38px; padding:8px 10px; border:1px solid #cbd5e1; border-radius:6px; } .editor-toolbar { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:9px; color:#7ff4f8; font-size:11px; } .code-editor-wrap { display:grid; grid-template-columns:auto minmax(0,1fr); width:100%; height:360px; overflow:hidden; border:1px solid #374151; border-radius:8px; background:#111827; } .line-numbers { min-width:3.2em; height:100%; margin:0; padding:12px 8px; overflow:hidden; border-right:1px solid #374151; background:#1f2937; color:#9ca3af; font:12px/1.6 Consolas,"Courier New",monospace; text-align:right; white-space:pre; user-select:none; } .code-display { position:relative; min-width:0; height:100%; overflow:hidden; background:#111827; } .highlight-code,.code-display .code-editor { box-sizing:border-box; width:100%; height:100%; min-height:0; margin:0; padding:12px; border:0; border-radius:0; font:12px/1.6 Consolas,"Courier New",monospace; tab-size:2; white-space:pre; overflow-wrap:normal; } .highlight-code { position:absolute; inset:0; overflow:hidden; background:#111827; color:#ebe5e5; pointer-events:none; } .code-display .code-editor { position:relative; display:block; resize:none; overflow:auto; background:transparent; color:transparent; -webkit-text-fill-color:transparent; caret-color:#fff; outline:none; } .code-display .code-editor::selection { background:rgb(59 130 246 / 40%); } .syntax-keyword { color:#60a5fa; font-weight:600; } .syntax-function { color:#c4b5fd; } .syntax-string { color:#86efac; } .syntax-number { color:#fdba74; } .syntax-comment { color:#9ca3af; font-style:italic; } .syntax-operator { color:#fca5a5; } .result-editor,.result-box { display:block; width:100%; min-height:190px; padding:12px; resize:vertical; border:1px solid #cbd5e1; border-radius:8px; background:#c0c1fc; color:#0a0a0a; font:12px/1.65 Consolas,"Courier New",monospace; white-space:pre-wrap; overflow-wrap:anywhere; } .result-box { margin:0;background:#f3eeee;} .link-audit-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:10px 0; } .audit-summary { color:#57ff09; font-size:12px; line-height:1.6; } .audit-summary.audit-warning { color:#efff0c; font-weight:700; } .audit-summary.audit-danger { color:#fc2222; font-weight:700; } .link-audit-result { min-height:240px; max-height:620px; overflow:auto; background:#f3d8e8; } .audit-limit-note { margin-bottom:0; } .syntax-explanation-editor { min-height:250px; background:#fbfddf; border-color:#bae6fd; } .detail-editor { min-height:280px; color:#070606; background:#d8fad1; border-color:#ddd6fe; } .preview-panel { padding:14px; } .preview-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; } .preview-heading h2 { margin-bottom:6px; } .preview-heading .help { margin:0 0 10px; } .preview-frame-wrap { position:relative; width:100%; } #previewFrame { display:block; width:100%; height:min(78vh,900px); min-height:480px; border:1px solid #111213; border-radius:7px; background:#b8b7b7; } .preview-drop-blocker { display:none; position:absolute; z-index:10; inset:0; align-items:center; justify-content:center; padding:20px; border:3px dashed #dc2626; border-radius:7px; background:rgb(254 242 242 / 94%); color:#991b1b; font-size:15px; font-weight:700; text-align:center; pointer-events:auto; } body.file-drag-active .preview-drop-blocker { display:flex; } .preview-note { margin:10px 2px 0; color:#c8ccd3; font-size:11px; line-height:1.7; } footer { padding:2px 8px; color:#bec0c4; font-size:11px; line-height:1.8; } @media (max-width:1100px) { .workspace { grid-template-columns:minmax(0,1fr); } .preview-column { position:static; grid-row:1; } #previewFrame { height:65vh; min-height:400px; } } @media (max-width:560px) { .app-header { padding:16px; } .app-header h1 { font-size:20px; } .version { display:none; } .workspace { width:calc(100% - 14px); margin-top:8px; gap:8px; } .panel { padding:12px; margin-bottom:10px; } .load-controls { grid-template-columns:1fr; } .toolbar button { flex:1 1 40%; } #previewFrame { min-height:350px; height:55vh; } .code-editor-wrap { height:300px; } } @page {size: auto; margin: 12mm;} .print-report {display: none;} @media print {body > :not(#printReport) {display: none !important;} #printReport {display: block !important;width: 100%;margin: 0; padding: 0;color: #000; background: #fff; font-family: "Yu Gothic", "Meiryo", sans-serif; font-size: 10pt; line-height: 1.4;} #printReport .print-section {display: block; margin: 0 0 12px; padding: 0;border: 0; box-shadow: none; background: #fff; break-inside: auto; page-break-inside: auto;} #printReport .print-heading {margin: 0 0 5px; padding: 0; border: 0; color: #000; background: #fff; font-family: "Yu Gothic", "Meiryo", sans-serif; font-size: 11pt; font-weight: 700; break-after: avoid; page-break-after: avoid;} #printReport .print-content {display: block;margin: 0; padding: 0; border: 0;outline: 0; box-shadow: none; color: #000; background: #fff; font-family: Consolas, "Courier New", monospace; font-size: 9pt; line-height: 1.35; white-space: pre-wrap; overflow: visible; overflow-wrap: anywhere; word-break: normal; height: auto; min-height: 0; max-height: none;} #printReport .print-section,#printReport .print-content {-webkit-print-color-adjust: exact; print-color-adjust: exact;}} .dependency-toolbar {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:10px 0 14px;} .dependency-summary {color:#57ff09; font-size:12px; line-height:1.6; overflow-wrap:anywhere;} .dependency-map {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:10px; margin:12px 0;} .dependency-card {min-width:0; padding:12px; border:1px solid #267a76; border-radius:8px; background:#07322f; color:#e8e8fd;} .dependency-card h3 {margin:0 0 8px; font-size:13px; overflow-wrap:anywhere;} .dependency-card p,.dependency-card li {margin:5px 0; font-size:11px; line-height:1.6; overflow-wrap:anywhere;} .dependency-card ul {margin:5px 0 0; padding-left:18px;} .dependency-card .dependency-missing { color:#ffb4b4; } .dependency-card .dependency-incoming { color:#b7f7ff; } .dependency-empty {margin:0; padding:12px; color:#d5dce8; font-size:12px;} .dependency-result {min-height:220px; max-height:520px; overflow:auto; background:#f3eeee;} @media print {.dependency-card {color:#000; background:#fff; border:1px solid #999; break-inside:avoid;}} .security-toolbar {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:10px 0 14px;} .security-summary {color:#57ff09; font-size:12px; line-height:1.6; overflow-wrap:anywhere;} .security-counts {display:grid; grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); gap:8px;margin:12px 0;} .security-count {padding:10px 12px; border:1px solid #667085; border-radius:8px; background:#17202c; color:#f4f7fb;} .security-count strong { display:block; font-size:20px; line-height:1.4; } .security-count span { font-size:11px; } .security-count.security-high { border-color:#c33d4b; } .security-count.security-medium { border-color:#bd8524; } .security-count.security-info { border-color:#3678a5; } .security-results { display:grid; gap:10px; margin:12px 0; } .security-empty { margin:0; padding:12px; color:#d5dce8; font-size:12px; } .security-card {min-width:0; padding:12px; border:1px solid #536273; border-left-width:5px; border-radius:8px; background:#111c28; color:#eef3f8;} .security-card.security-risk-high { border-left-color:#f05260; } .security-card.security-risk-medium { border-left-color:#e8ad42; } .security-card.security-risk-info { border-left-color:#54a9e8; } .security-card h3 { margin:0 0 7px; font-size:14px; overflow-wrap:anywhere; } .security-card p { margin:6px 0; font-size:12px; line-height:1.65; overflow-wrap:anywhere; } .security-card .security-meta { color:#c2cfdd; font-size:11px; } .security-card pre {margin:8px 0; padding:9px; border-radius:5px; background:#08111b; color:#f5f7fa; font-size:11px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto;} .security-tag {display:inline-block; margin:0 6px 4px 0; padding:2px 7px; border-radius:12px; background:#29394a; color:#edf4fa; font-size:10px;} .security-tag-high { background:#6e2029; } .security-tag-medium { background:#684b19; } .security-tag-info { background:#174765; } .security-text-report { min-height:180px; max-height:500px; overflow:auto; background:#f3eeee; } @media print {.security-toolbar { display:none; }.security-card { color:#000; background:#fff; border-color:#999; break-inside:avoid; }.security-card pre { color:#000; background:#f4f4f4; }.security-count { color:#000; background:#fff; }} @media print {#printReport .print-section {display: block; break-inside: auto; page-break-inside: auto;} #printReport .print-content {white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; font-size: 9pt;}} .detail-modal[hidden] {display: none !important;} .detail-modal {position: fixed; overflow: hidden; inset: 0; z-index: 10000; display: flex; justify-content: center; align-items: center; padding: 20px; background: rgba(0, 0, 0, 0.65);} .detail-modal-content {position: relative; width: min(900px, 100%); max-height: 85vh; overflow-y: auto;padding: 24px; background: #f5ffe3; color: #222; font-weight:bold; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);} .detail-modal-close {position: sticky; float: right; top: 0; font-size: 20px; border: 0;color: #faf8f8; background: rgb(236, 9, 9);cursor: pointer;} .detail-modal-nav {display: flex; flex-wrap: wrap; gap: 8px;margin: 16px 0;} .detail-modal-nav button {padding: 8px 12px; border: 1px solid #aaa; border-radius: 5px;color: #0b3603; background: #f3f3f3;cursor: pointer;} .detail-modal-nav button:hover {background: #dcecff;} #detailModalBody {line-height: 1.8;overflow-wrap: anywhere;} #detailModalBody h3 {border-bottom: 1px solid #cccccc; color: #2503bd;padding-bottom: 6px;} @media (max-width: 600px) {.detail-modal {padding: 8px;}.detail-modal-content {padding: 16px; max-height: 92vh;}} .detail-modal-content {overflow-y: auto;scrollbar-width: none; -ms-overflow-style: none;} .detail-modal-content::-webkit-scrollbar {display: none;} .detail-modal {overflow: hidden;} #detailHelpButton {background-color: #f7fcbd;color: #080808;}