.heading-checker{gap:1.25rem;display:grid}.heading-toolbar,.heading-results-controls,.heading-file-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.heading-toolbar{justify-content:space-between}.heading-mode-tabs,.heading-counts{flex-wrap:wrap;gap:.5rem;display:flex}.heading-mode-tabs button,.heading-reset,.heading-results-controls button,.heading-file-button,.heading-file-actions button{border:1px solid var(--border);background:var(--surface);font:inherit;cursor:pointer;border-radius:999px;padding:.7rem 1rem;font-weight:700}.heading-mode-tabs button.active{background:var(--ink);color:#fff;border-color:var(--ink)}.heading-single-grid{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:1.25rem;display:grid}.heading-editor-card,.heading-analysis-card,.heading-bulk-input-card,.heading-bulk-results{border:1px solid var(--border);background:var(--surface);border-radius:28px;padding:1.4rem}.heading-card-heading h2{margin:.25rem 0 .45rem}.heading-card-heading p:last-child{color:var(--muted);margin:0}.heading-field{gap:.45rem;margin-top:1rem;display:grid}.heading-field>span,.heading-control-label{font-weight:800}.heading-field small{color:var(--muted);font-weight:500}.heading-field input,.heading-field textarea,.heading-bulk-input-card textarea,.heading-search input{border:1px solid var(--border);width:100%;font:inherit;color:var(--ink);background:#fff;border-radius:16px;padding:.9rem 1rem}.heading-field textarea,.heading-bulk-input-card textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.55}.heading-status{background:var(--soft);border-radius:18px;align-items:center;gap:.8rem;padding:1rem;display:flex}.heading-status.good{background:#effaf4}.heading-status.review{background:#fff8e8}.heading-status.missing{background:#fff0f0}.heading-status div{display:grid}.heading-status span{color:var(--muted);font-size:.92rem}.heading-counts{margin:1rem 0}.heading-counts div,.heading-summary-grid div{background:var(--soft);border-radius:16px;min-width:72px;padding:.75rem .9rem;display:grid}.heading-counts strong,.heading-summary-grid strong{font-size:1.15rem}.heading-counts span,.heading-summary-grid span{color:var(--muted);font-size:.78rem}.heading-issues,.heading-outline,.heading-jumps{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.heading-issues h3,.heading-outline h3,.heading-jumps h3{margin:0 0 .7rem}.heading-issues ul{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.heading-issues li{align-items:flex-start;gap:.5rem;display:flex}.heading-outline{gap:.45rem;display:grid}.heading-outline-row{margin-left:calc(var(--heading-depth) * 14px);border-left:2px solid var(--border);background:var(--soft);border-radius:10px;align-items:center;gap:.65rem;padding:.55rem .7rem;display:flex}.heading-outline-row span{color:var(--brand);font-size:.75rem;font-weight:800}.heading-outline-row strong{font-size:.92rem}.heading-jumps p{background:var(--soft);overflow-wrap:anywhere;border-radius:10px;padding:.7rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.heading-bulk-layout{gap:1.25rem;display:grid}.heading-file-button{align-items:center;gap:.45rem;display:inline-flex;position:relative}.heading-file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.heading-file-actions span,.heading-input-note{color:var(--muted);font-size:.9rem}.heading-summary-grid{grid-template-columns:repeat(6,minmax(110px,1fr));gap:.7rem;margin-bottom:1rem;display:grid}.heading-search{border:1px solid var(--border);background:#fff;border-radius:999px;flex:1;align-items:center;gap:.5rem;min-width:230px;padding-left:.8rem;display:flex}.heading-search input{border:0;border-radius:999px;padding:.75rem .5rem}.heading-toggle{align-items:center;gap:.45rem;font-weight:700;display:flex}.heading-table-wrap{margin-top:1rem;overflow-x:auto}.heading-results-table{border-collapse:collapse;width:100%;min-width:980px}.heading-results-table th,.heading-results-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.85rem}.heading-results-table th{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.78rem}.heading-results-table td:first-child{gap:.2rem;display:grid}.heading-results-table td small{color:var(--muted)}.heading-table-status{background:var(--soft);border-radius:999px;padding:.35rem .65rem;font-size:.78rem;font-weight:800;display:inline-flex}.heading-table-status.good{background:#e8f7ef}.heading-table-status.review{background:#fff3d5}.heading-table-status.missing{background:#ffe6e6}.heading-empty{text-align:center;color:var(--muted);padding:1.5rem}.heading-file-actions button,.heading-results-controls button{align-items:center;gap:.4rem;display:inline-flex}.heading-results-controls button:disabled{opacity:.5;cursor:not-allowed}.heading-analysis-card p{color:var(--muted)}@media (max-width:900px){.heading-single-grid{grid-template-columns:1fr}.heading-summary-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:620px){.heading-toolbar{align-items:stretch}.heading-mode-tabs{width:100%}.heading-mode-tabs button{flex:1}.heading-reset{justify-content:center;width:100%}.heading-editor-card,.heading-analysis-card,.heading-bulk-input-card,.heading-bulk-results{border-radius:22px;padding:1rem}.heading-summary-grid{grid-template-columns:repeat(2,1fr)}.heading-results-controls{align-items:stretch}.heading-search{width:100%}.heading-results-controls button{justify-content:center}.heading-outline-row{margin-left:calc(var(--heading-depth) * 8px)}}
