:root {
    /* Brand Colors */
    --primary-color: #3b82f6;
    /* Blue 500 */
    --primary-hover: #2563eb;
    /* Blue 600 */
    --primary-light: #eff6ff;

    --bg-color: #f3f4f6;
    --card-bg: #ffffff;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --border-color: #e5e7eb;

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.025em;
}

/* Wizard Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
    transform: translateY(-50%);
}

.progress-line-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
    transform: translateY(-50%);
    width: 0%;
    transition: width 0.3s ease;
}

.step-indicator {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-indicator.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.step-indicator.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Steps Layout */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards & Forms */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--text-secondary);
}

textarea,
input[type="text"] {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #f9fafb;
    resize: vertical;
}

textarea:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
    filter: brightness(1.05);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: var(--text-primary);
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Item Cards */
.item-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.item-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    border-radius: 50%;
    line-height: 1;
}

.remove-btn:hover {
    background-color: #fee2e2;
    color: #ef4444;
}

/* Markdown Results */
.markdown-result {
    color: var(--text-primary);
}

.markdown-result h1,
.markdown-result h2,
.markdown-result h3 {
    margin-top: 1.5rem;
}

.markdown-result ul {
    padding-left: 1.5rem;
}

.markdown-result strong {
    color: var(--primary-color);
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

/* Drag & Drop Zone */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    background: #fff;
    cursor: pointer;
}

.drop-zone.dragover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.drop-zone p {
    margin: 0;
    font-size: 0.9rem;
    pointer-events: none;
}

/* File Input (hidden) */
.file-input {
    display: none;
}

/* Settings Button */
.settings-btn {
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s;
}

.settings-btn:hover {
    transform: rotate(45deg);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-desc a {
    color: var(--primary-color);
}

.key-status {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.key-status.has-key {
    background: #dcfce7;
    color: #166534;
}

.key-status.no-key {
    background: #fef3c7;
    color: #92400e;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Password input */
input[type="password"] {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #f9fafb;
}

input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* API 키 섹션 스타일 */
.api-key-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.api-key-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.api-key-icon {
    font-size: 1.2rem;
}

.api-key-title {
    font-weight: 600;
    color: #1e40af;
}

.api-key-help-link {
    margin-left: auto;
    font-size: 0.85rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.api-key-help-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.api-key-status {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.api-key-status.status-ok {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.api-key-status.status-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.api-key-status.status-loading {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.api-key-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.api-key-input-group input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #93c5fd;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.api-key-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.api-key-note {
    font-size: 0.8rem;
    color: #1e40af;
    margin: 0;
    margin-top: 0.5rem;
}

.api-key-note a {
    color: #3b82f6;
    font-weight: 600;
}

.api-key-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.api-key-input-row input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid #93c5fd;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background: white;
}

.api-key-input-row input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.api-key-validation {
    font-size: 0.85rem;
    padding: 0.4rem 0;
    min-height: 1.5rem;
}

.api-key-validation.valid {
    color: #16a34a;
}

.api-key-validation.invalid {
    color: #dc2626;
}

/* 블라인드 채용 체크박스 스타일 */
.blind-recruitment-option {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #f59e0b;
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    background: white;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: #f59e0b;
    border-color: #d97706;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    font-size: 1rem;
}

.option-description {
    color: #78350f;
    font-size: 0.8rem;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

/* 블라인드 채용 위반 경고 스타일 */
.blind-violation-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: warningPulse 0.5s ease-out;
}

@keyframes warningPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.blind-violation-warning h4 {
    color: #dc2626;
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blind-violation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blind-violation-list li {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
    font-size: 0.9rem;
}

.blind-violation-list li:last-child {
    margin-bottom: 0;
}

.violation-text {
    color: #dc2626;
    font-weight: 600;
}

.violation-reason {
    display: inline-block;
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
    font-weight: 500;
}

.violation-category {
    display: inline-block;
    background: #fca5a5;
    color: #7f1d1d;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* 자기소개서 항목 카드 - 위반 상태 */
.item-card.has-violation {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.item-card.has-violation:hover {
    border-color: #dc2626;
}

/* 기관명 오타 경고 스타일 */
.orgname-violation-warning {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: warningPulse 0.5s ease-out;
}

.orgname-violation-warning h4 {
    color: #1d4ed8;
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.orgname-violation-warning .blind-violation-list li {
    border-left: 4px solid #3b82f6;
}

.orgname-violation-warning .violation-text {
    color: #1d4ed8;
}

.orgname-reason {
    background: #3b82f6 !important;
}

/* 기관명 오타만 있는 경우 카드 스타일 */
.item-card.has-orgname-warning:not(.has-violation) {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.item-card.has-orgname-warning:not(.has-violation):hover {
    border-color: #2563eb;
}

/* 요구사항 누락 경고 스타일 (주황색) */
.requirement-violation-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: warningPulse 0.5s ease-out;
}

.requirement-violation-warning h4 {
    color: #b45309;
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-violation-warning .blind-violation-list li {
    border-left: 4px solid #f59e0b;
}

.requirement-violation-warning .violation-text {
    color: #b45309;
}

.req-category {
    background: #fde68a !important;
    color: #92400e !important;
}

.req-reason {
    background: #f59e0b !important;
}

/* 요구사항 누락만 있는 경우 카드 스타일 */
.item-card.has-requirement-warning:not(.has-violation):not(.has-orgname-warning) {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.item-card.has-requirement-warning:not(.has-violation):not(.has-orgname-warning):hover {
    border-color: #d97706;
}

/* 메인 분석 버튼 */
.btn-analyze-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 항목별 분석 버튼 */
.item-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.btn-item-analyze {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-item-analyze:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
    filter: brightness(1.1);
}

.btn-item-analyze:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.beta-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* 분석 결과 모달 */
.analysis-modal-content {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.analysis-modal-body {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.analysis-modal-body h1,
.analysis-modal-body h2,
.analysis-modal-body h3 {
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.analysis-modal-body h1:first-child,
.analysis-modal-body h2:first-child,
.analysis-modal-body h3:first-child {
    margin-top: 0;
}

.analysis-modal-body ul,
.analysis-modal-body ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.analysis-modal-body li {
    margin-bottom: 0.25rem;
}

.analysis-modal-body strong {
    color: #7c3aed;
}

.analysis-modal-body code {
    background: #e5e7eb;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.analysis-modal-body blockquote {
    border-left: 4px solid #7c3aed;
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* 오타 감지 리포트 */
.typo-report-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #d1d5db;
    /* var(--border-color) fallback */
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.typo-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.typo-report-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.typo-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.typo-card {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.typo-card.org-typo {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.typo-card.spell-error {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.typo-card strong {
    font-weight: 600;
    margin-right: 0.5rem;
    min-width: 60px;
}

.typo-card .arrow {
    margin: 0 0.5rem;
    color: #6b7280;
}

.typo-card.org-typo .arrow {
    color: #dc2626;
}

.typo-card .suggestion {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.typo-reason {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.8;
}

.typo-no-issue {
    text-align: center;
    color: #6b7280;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.typo-context {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0.25rem;
    font-size: 0.85rem;
    color: #4b5563;
    font-style: italic;
    line-height: 1.4;
}

.typo-highlight {
    font-weight: bold;
    color: #ef4444;
    /* 빨간색 텍스트 */
    background-color: #fee2e2;
    /* 연한 빨간색 배경 */
    padding: 0 0.2rem;
    border-radius: 0.1rem;
    font-style: normal;
}

/* 일반 오타의 하이라이트는 덜 강하게 */
.spell-error .typo-highlight {
    color: #b91c1c;
    background-color: transparent;
    text-decoration: underline;
    text-decoration-color: #fca5a5;
    text-decoration-thickness: 2px;
}

/* 오타 리포트 그룹 (접기/펼치기) */
.typo-group {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #fff;
}

.typo-group:last-child {
    margin-bottom: 0;
}

.typo-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f9fafb;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.typo-group-header:hover {
    background-color: #f3f4f6;
}

.typo-group-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typo-group-body {
    display: none;
    /* 기본 숨김 */
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #fff;
}

/* 활성화 상태 */
.typo-group.active .typo-group-body {
    display: block;
}

.typo-group.active .typo-group-header {
    background-color: #eff6ff;
}

.toggle-icon {
    font-size: 0.8rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.typo-group.active .toggle-icon {
    transform: rotate(180deg);
}

/* 블라인드 위반 스타일 (오타와 유사하지만 주황색 계열) */
.blind-violation {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    color: #9a3412;
}

.blind-violation .typo-found {
    color: #ea580c;
    font-weight: bold;
}

.blind-violation .typo-highlight {
    color: #c2410c;
    background-color: #ffedd5;
}

.blind-violation .arrow {
    color: #fb923c;
}< ! D O C T Y P E   h t m l >  
 < h t m l   l a n g = " k o " >  
  
 < h e a d >  
         < m e t a   c h a r s e t = " U T F - 8 " >  
         < m e t a   n a m e = " v i e w p o r t "   c o n t e n t = " w i d t h = d e v i c e - w i d t h ,   i n i t i a l - s c a l e = 1 . 0 " >  
         < t i t l e > A I   ? -? ? ? zM  ? ? ? I ? ? / t i t l e >  
         < s c r i p t   s r c = " h t t p s : / / c d n . j s d e l i v r . n e t / n p m / c h a r t . j s " > < / s c r i p t >  
         < s t y l e >  
                 : r o o t   {  
                         - - p r i m a r y - c o l o r :   # 3 b 8 2 f 6 ;  
                         - - b g - c o l o r :   # f 3 f 4 f 6 ;  
                         - - c a r d - b g :   # f f f f f f ;  
                         - - t e x t - m a i n :   # 1 1 1 8 2 7 ;  
                         - - t e x t - s u b :   # 4 b 5 5 6 3 ;  
                         - - b o r d e r - c o l o r :   # e 5 e 7 e b ;  
                 }  
  
                 b o d y   {  
                         f o n t - f a m i l y :   - a p p l e - s y s t e m ,   B l i n k M a c S y s t e m F o n t ,   " S e g o e   U I " ,   R o b o t o ,   " H e l v e t i c a   N e u e " ,   A r i a l ,   s a n s - s e r i f ;  
                         b a c k g r o u n d - c o l o r :   v a r ( - - b g - c o l o r ) ;  
                         p a d d i n g :   2 r e m ;  
                         m a r g i n :   0 ;  
                         d i s p l a y :   f l e x ;  
                         j u s t i f y - c o n t e n t :   c e n t e r ;  
                 }  
  
                 . c o n t a i n e r   {  
                         w i d t h :   1 0 0 % ;  
                         m a x - w i d t h :   9 0 0 p x ;  
                         b a c k g r o u n d :   v a r ( - - c a r d - b g ) ;  
                         b o r d e r - r a d i u s :   1 r e m ;  
                         b o x - s h a d o w :   0   4 p x   6 p x   - 1 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ;  
                         o v e r f l o w :   h i d d e n ;  
                         m i n - h e i g h t :   8 0 v h ;  
                 }  
  
                 / *   T a b s   * /  
                 . t a b s   {  
                         d i s p l a y :   f l e x ;  
                         b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ;  
                         b a c k g r o u n d :   # f 9 f a f b ;  
                 }  
  
                 . t a b   {  
                         f l e x :   1 ;  
                         p a d d i n g :   1 r e m ;  
                         t e x t - a l i g n :   c e n t e r ;  
                         f o n t - w e i g h t :   6 0 0 ;  
                         c o l o r :   v a r ( - - t e x t - s u b ) ;  
                         c u r s o r :   p o i n t e r ;  
                         t r a n s i t i o n :   a l l   0 . 2 s ;  
                         b o r d e r - b o t t o m :   2 p x   s o l i d   t r a n s p a r e n t ;  
                         m a r g i n - b o t t o m :   - 2 p x ;  
                 }  
  
                 . t a b : h o v e r   {  
                         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
                         b a c k g r o u n d :   # e f f 6 f f ;  
                 }  
  
                 . t a b . a c t i v e   {  
                         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
                         b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - p r i m a r y - c o l o r ) ;  
                         b a c k g r o u n d :   # f f f ;  
                 }  
  
                 . t a b - c o n t e n t   {  
                         d i s p l a y :   n o n e ;  
                         p a d d i n g :   2 r e m ;  
                         a n i m a t i o n :   f a d e I n   0 . 3 s   e a s e - i n - o u t ;  
                 }  
  
                 . t a b - c o n t e n t . a c t i v e   {  
                         d i s p l a y :   b l o c k ;  
                 }  
  
                 @ k e y f r a m e s   f a d e I n   {  
                         f r o m   {  
                                 o p a c i t y :   0 ;  
                                 t r a n s f o r m :   t r a n s l a t e Y ( 5 p x ) ;  
                         }  
  
                         t o   {  
                                 o p a c i t y :   1 ;  
                                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;  
                         }  
                 }  
  
                 h 2 ,  
                 h 3 ,  
                 h 4   {  
                         c o l o r :   v a r ( - - t e x t - m a i n ) ;  
                         m a r g i n - t o p :   0 ;  
                 }  
  
                 / *   - - -   T y p o   S t y l e s   ( B o r r o w e d   f r o m   p r e v i o u s   s t e p )   - - -   * /  
                 . t y p o - r e p o r t - s e c t i o n   {  
                         p a d d i n g :   1 . 5 r e m ;  
                         b a c k g r o u n d :   # f f f ;  
                         b o r d e r :   1 p x   s o l i d   # d 1 d 5 d b ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m ;  
                 }  
  
                 . t y p o - c a r d   {  
                         d i s p l a y :   f l e x ;  
                         a l i g n - i t e m s :   f l e x - s t a r t ;  
                         p a d d i n g :   1 r e m ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m ;  
                         f o n t - s i z e :   0 . 9 5 r e m ;  
                         m a r g i n - b o t t o m :   0 . 5 r e m ;  
                 }  
  
                 . t y p o - c a r d . o r g - t y p o   {  
                         b a c k g r o u n d :   # f e f 2 f 2 ;  
                         b o r d e r :   1 p x   s o l i d   # f e c a c a ;  
                         c o l o r :   # 9 9 1 b 1 b ;  
                 }  
  
                 . t y p o - c a r d . s p e l l - e r r o r   {  
                         b a c k g r o u n d :   # f 9 f a f b ;  
                         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
                         c o l o r :   # 3 7 4 1 5 1 ;  
                 }  
  
                 . t y p o - c a r d   s t r o n g   {  
                         f o n t - w e i g h t :   6 0 0 ;  
                         m a r g i n - r i g h t :   0 . 5 r e m ;  
                 }  
  
                 . a r r o w   {  
                         m a r g i n :   0   0 . 5 r e m ;  
                         c o l o r :   # 6 b 7 2 8 0 ;  
                 }  
  
                 . t y p o - h i g h l i g h t   {  
                         f o n t - w e i g h t :   b o l d ;  
                         p a d d i n g :   0   0 . 2 r e m ;  
                         b o r d e r - r a d i u s :   0 . 1 r e m ;  
                 }  
  
                 . t y p o - h i g h l i g h t . r e d   {  
                         c o l o r :   # e f 4 4 4 4 ;  
                         b a c k g r o u n d :   # f e e 2 e 2 ;  
                 }  
  
                 . t y p o - g r o u p - h e a d e r   {  
                         d i s p l a y :   f l e x ;  
                         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
                         p a d d i n g :   1 r e m ;  
                         b a c k g r o u n d :   # f 9 f a f b ;  
                         c u r s o r :   p o i n t e r ;  
                         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m   0 . 5 r e m   0   0 ;  
                 }  
  
                 . t y p o - g r o u p - b o d y   {  
                         d i s p l a y :   n o n e ;  
                         p a d d i n g :   1 r e m ;  
                         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
                         b o r d e r - t o p :   n o n e ;  
                         b o r d e r - r a d i u s :   0   0   0 . 5 r e m   0 . 5 r e m ;  
                 }  
  
                 . t y p o - g r o u p . a c t i v e   . t y p o - g r o u p - b o d y   {  
                         d i s p l a y :   b l o c k ;  
                 }  
  
                 / *   - - -   D e t a i l e d   A n a l y s i s   S t y l e s   - - -   * /  
                 . a n a l y s i s - s e c t i o n   {  
                         m a r g i n - b o t t o m :   2 . 5 r e m ;  
                 }  
  
                 . s e c t i o n - t i t l e   {  
                         f o n t - s i z e :   1 . 2 5 r e m ;  
                         f o n t - w e i g h t :   7 0 0 ;  
                         b o r d e r - l e f t :   4 p x   s o l i d   v a r ( - - p r i m a r y - c o l o r ) ;  
                         p a d d i n g - l e f t :   0 . 7 5 r e m ;  
                         m a r g i n - b o t t o m :   1 r e m ;  
                 }  
  
                 / *   J o b   M a t c h i n g   * /  
                 . m a t c h i n g - t a b l e   {  
                         w i d t h :   1 0 0 % ;  
                         b o r d e r - c o l l a p s e :   c o l l a p s e ;  
                         f o n t - s i z e :   0 . 9 r e m ;  
                 }  
  
                 . m a t c h i n g - t a b l e   t h   {  
                         t e x t - a l i g n :   l e f t ;  
                         p a d d i n g :   0 . 7 5 r e m ;  
                         b a c k g r o u n d :   # f 3 f 4 f 6 ;  
                         b o r d e r - b o t t o m :   2 p x   s o l i d   # e 5 e 7 e b ;  
                         c o l o r :   # 4 b 5 5 6 3 ;  
                 }  
  
                 . m a t c h i n g - t a b l e   t d   {  
                         p a d d i n g :   0 . 7 5 r e m ;  
                         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 5 e 7 e b ;  
                         v e r t i c a l - a l i g n :   t o p ;  
                 }  
  
                 . s c o r e - b a d g e   {  
                         d i s p l a y :   i n l i n e - b l o c k ;  
                         p a d d i n g :   0 . 2 5 r e m   0 . 5 r e m ;  
                         b o r d e r - r a d i u s :   9 9 p x ;  
                         f o n t - w e i g h t :   6 0 0 ;  
                         f o n t - s i z e :   0 . 8 r e m ;  
                 }  
  
                 . s c o r e - h i g h   {  
                         b a c k g r o u n d :   # d c f c e 7 ;  
                         c o l o r :   # 1 6 6 5 3 4 ;  
                 }  
  
                 . s c o r e - m i d   {  
                         b a c k g r o u n d :   # f e f 9 c 3 ;  
                         c o l o r :   # 8 5 4 d 0 e ;  
                 }  
  
                 . s c o r e - l o w   {  
                         b a c k g r o u n d :   # f e e 2 e 2 ;  
                         c o l o r :   # 9 9 1 b 1 b ;  
                 }  
  
                 / *   C o n s i s t e n c y   * /  
                 . c o n s i s t e n c y - g r i d   {  
                         d i s p l a y :   g r i d ;  
                         g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
                         g a p :   1 r e m ;  
                 }  
  
                 . c o n s i s t e n c y - c a r d   {  
                         b a c k g r o u n d :   # f f f b f f ;  
                         b o r d e r :   1 p x   s o l i d   # f e d 7 a a ;  
                         p a d d i n g :   1 r e m ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m ;  
                 }  
  
                 . c o n s i s t e n c y - h e a d e r   {  
                         d i s p l a y :   f l e x ;  
                         a l i g n - i t e m s :   c e n t e r ;  
                         g a p :   0 . 5 r e m ;  
                         f o n t - w e i g h t :   6 0 0 ;  
                         c o l o r :   # 9 a 3 4 1 2 ;  
                         m a r g i n - b o t t o m :   0 . 5 r e m ;  
                 }  
  
                 / *   S T A R   G r i d   * /  
                 . s t a r - g r i d   {  
                         d i s p l a y :   g r i d ;  
                         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( 4 ,   1 f r ) ;  
                         g a p :   1 r e m ;  
                         m a r g i n - b o t t o m :   1 r e m ;  
                 }  
  
                 . s t a r - c a r d   {  
                         b a c k g r o u n d :   w h i t e ;  
                         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
                         p a d d i n g :   1 r e m ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m ;  
                         t e x t - a l i g n :   c e n t e r ;  
                 }  
  
                 . s t a r - s c o r e   {  
                         f o n t - s i z e :   1 . 5 r e m ;  
                         f o n t - w e i g h t :   7 0 0 ;  
                         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
                 }  
  
                 . s t a r - l a b e l   {  
                         f o n t - s i z e :   0 . 9 r e m ;  
                         c o l o r :   v a r ( - - t e x t - s u b ) ;  
                         f o n t - w e i g h t :   6 0 0 ;  
                         m a r g i n - b o t t o m :   0 . 5 r e m ;  
                 }  
  
                 . s t a r - t e x t   {  
                         f o n t - s i z e :   0 . 8 r e m ;  
                         c o l o r :   # 6 b 7 2 8 0 ;  
                         t e x t - a l i g n :   l e f t ;  
                         m a r g i n - t o p :   0 . 5 r e m ;  
                         l i n e - h e i g h t :   1 . 3 ;  
                 }  
  
                 / *   S t y l e   A n a l y s i s   * /  
                 . s t y l e - s t a t s   {  
                         d i s p l a y :   f l e x ;  
                         g a p :   1 r e m ;  
                         f l e x - w r a p :   w r a p ;  
                 }  
  
                 . s t a t - b o x   {  
                         f l e x :   1 ;  
                         b a c k g r o u n d :   # f 8 f a f c ;  
                         p a d d i n g :   1 r e m ;  
                         b o r d e r - r a d i u s :   0 . 5 r e m ;  
                         b o r d e r :   1 p x   s o l i d   # e 2 e 8 f 0 ;  
                 }  
  
                 . s t a t - v a l u e   {  
                         f o n t - s i z e :   1 . 2 5 r e m ;  
                         f o n t - w e i g h t :   7 0 0 ;  
                         c o l o r :   # 0 f 1 7 2 a ;  
                 }  
  
                 . s t a t - l a b e l   {  
                         f o n t - s i z e :   0 . 8 5 r e m ;  
                         c o l o r :   # 6 4 7 4 8 b ;  
                 }  
         < / s t y l e >  
 < / h e a d >  
  
 < b o d y >  
  
         < d i v   c l a s s = " c o n t a i n e r " >  
                 < d i v   s t y l e = " p a d d i n g :   1 . 5 r e m   2 r e m   0 . 5 r e m   2 r e m ; " >  
                         < h 2   s t y l e = " m a r g i n - b o t t o m : 0 . 5 r e m ; " > A I   ? -? ? ? zM  1uK? ? / h 2 >  
                         < p   s t y l e = " c o l o r : # 6 b 7 2 8 0 ;   f o n t - s i z e : 0 . 9 r e m ;   m a r g i n : 0 ; " >  ? ? ":   ? ?   ? ̬? ? |   ? ? I0:    ? ? ? °< / p >  
                 < / d i v >  
  
                 < d i v   c l a s s = " t a b s " >  
                         < d i v   c l a s s = " t a b   a c t i v e "   o n c l i c k = " s w i t c h T a b ( ' b a s i c ' ) " > 1 .   rnլ  ? -?   ( ? }1? / ɑ*? v) < / d i v >  
                         < d i v   c l a s s = " t a b "   o n c l i c k = " s w i t c h T a b ( ' d e t a i l e d ' ) " > 2 .   ? m  zM  ( "/ S T A R / ܮ) < / d i v >  
                 < / d i v >  
  
                 < ! - -   T a b   1 :   B a s i c   C h e c k   - - >  
                 < d i v   i d = " t a b - b a s i c "   c l a s s = " t a b - c o n t e n t   a c t i v e " >  
                         < d i v   i d = " t y p o - r e p o r t - c o n t a i n e r " > < / d i v >  
  
                         < d i v   s t y l e = " m a r g i n - t o p :   2 r e m ; " >  
                                 < h 3   s t y l e = " f o n t - s i z e : 1 . 1 r e m ;   c o l o r : # 1 1 1 8 2 7 ;   m a r g i n - b o t t o m : 1 r e m ; " > ?   ɑ*? v  ?   ? -? < / h 3 >  
                                 < d i v   c l a s s = " t y p o - r e p o r t - s e c t i o n "   s t y l e = " b o r d e r - l e f t :   4 p x   s o l i d   # f 5 9 e 0 b ; " >  
                                         < d i v   s t y l e = " d i s p l a y : f l e x ;   a l i g n - i t e m s : c e n t e r ;   g a p : 0 . 5 r e m ;   c o l o r : # 9 2 4 0 0 e ; " >  
                                                 < s p a n   s t y l e = " f o n t - w e i g h t : 7 0 0 ; " > N< / s p a n >  
                                                 < s p a n > Z p? ?a (`?   ?a ? d$¹  ? ? ? Z/? ? ? r? ? < / s p a n >  
                                         < / d i v >  
                                         < d i v  
                                                 s t y l e = " m a r g i n - t o p : 0 . 5 r e m ;   f o n t - s i z e : 0 . 9 r e m ;   b a c k g r o u n d : # f f f b e b ;   p a d d i n g : 0 . 5 r e m ;   b o r d e r - r a d i u s : 0 . 2 5 r e m ;   c o l o r : # b 4 5 3 0 9 ; " >  
                                                 " ?  ? ? < s p a n   s t y l e = " b a c k g r o u n d : # f c d 3 4 d ;   f o n t - w e i g h t : b o l d ; " > ?  ?sL< / s p a n >   ?    ? /#?   9m"? ? ? . . "  
                                         < / d i v >  
                                 < / d i v >  
                         < / d i v >  
                 < / d i v >  
  
                 < ! - -   T a b   2 :   D e t a i l e d   A n a l y s i s   - - >  
                 < d i v   i d = " t a b - d e t a i l e d "   c l a s s = " t a b - c o n t e n t " >  
  
                         < ! - -   S e c t i o n   1 :   J o b   M a t c h i n g   - - >  
                         < d i v   c l a s s = " a n a l y s i s - s e c t i o n " >  
                                 < d i v   c l a s s = " s e c t i o n - t i t l e " > ? d  (`,  |16  1uJ? ? / d i v >  
                                 < p   s t y l e = " f o n t - s i z e : 0 . 9 r e m ;   c o l o r : # 6 b 7 2 8 0 ;   m a r g i n - b o t t o m : 1 r e m ; " > (`,ɿ? ? ? ?   ?   ? ? ? ? ? /? ɿ  ? O? ? ۊz? ? ?   zM? x$r? ?  
                                 < / p >  
                                 < t a b l e   c l a s s = " m a t c h i n g - t a b l e " >  
                                         < t h e a d >  
                                                 < t r >  
                                                         < t h   w i d t h = " 2 0 % " > ?   ? ? < / t h >  
                                                         < t h   w i d t h = " 1 5 % " > |16  Zĸ< / t h >  
                                                         < t h > 9mE  #  ۊ? zM< / t h >  
                                                 < / t r >  
                                         < / t h e a d >  
                                         < t b o d y   i d = " m a t c h i n g - t b o d y " >  
                                                 < ! - -   J S   R e n d e r   - - >  
                                         < / t b o d y >  
                                 < / t a b l e >  
                         < / d i v >  
  
                         < ! - -   S e c t i o n   2 :   S T A R   A n a l y s i s   - - >  
                         < d i v   c l a s s = " a n a l y s i s - s e c t i o n " >  
                                 < d i v   c l a s s = " s e c t i o n - t i t l e " > r? S T A R   rnլ  zM< / d i v >  
                                 < d i v   c l a s s = " s t a r - g r i d "   i d = " s t a r - g r i d " >  
                                         < ! - -   J S   R e n d e r   - - >  
                                 < / d i v >  
                                 < d i v   c l a s s = " t y p o - r e p o r t - s e c t i o n "  
                                         s t y l e = " b a c k g r o u n d : # f 0 f 9 f f ;   b o r d e r : 1 p x   s o l i d   # b a e 6 f d ;   c o l o r : # 0 3 6 9 a 1 ;   f o n t - s i z e : 0 . 9 r e m ; " >  
                                         < s t r o n g > ?   A I   ? vۊ? < / s t r o n g >   < s p a n   i d = " s t a r - f e e d b a c k " > < / s p a n >  
                                 < / d i v >  
                         < / d i v >  
  
                         < ! - -   S e c t i o n   3 :   C o n s i s t e n c y   &   S t y l e   - - >  
                         < d i v   s t y l e = " d i s p l a y :   g r i d ;   g r i d - t e m p l a t e - c o l u m n s :   1 f r   1 f r ;   g a p :   2 r e m ; " >  
                                 < d i v   c l a s s = " a n a l y s i s - s e c t i o n " >  
                                         < d i v   c l a s s = " s e c t i o n - t i t l e " > ? s  ? ? ? ? ۊ? e$ڲ  [ ? ? / d i v >  
                                         < d i v   i d = " c o n s i s t e n c y - c o n t a i n e r " >  
                                                 < ! - -   J S   R e n d e r   - - >  
                                         < / d i v >  
                                 < / d i v >  
  
                                 < d i v   c l a s s = " a n a l y s i s - s e c t i o n " >  
                                         < d i v   c l a s s = " s e c t i o n - t i t l e " > ?   ܮ  ۊ? cJܮ? ? / d i v >  
                                         < d i v   c l a s s = " s t y l e - s t a t s "   i d = " s t y l e - s t a t s " >  
                                                 < ! - -   J S   R e n d e r   - - >  
                                         < / d i v >  
                                         < d i v   s t y l e = " m a r g i n - t o p : 1 r e m ;   f o n t - s i z e : 0 . 9 r e m ; " >  
                                                 < d i v   s t y l e = " f o n t - w e i g h t : 6 0 0 ;   m a r g i n - b o t t o m : 0 . 5 r e m ; " > pu  ?   ? }: < / d i v >  
                                                 < u l   i d = " s t y l e - s u g g e s t i o n s "   s t y l e = " c o l o r : # 4 b 5 5 6 3 ;   p a d d i n g - l e f t : 1 . 2 r e m ; " > < / u l >  
                                         < / d i v >  
                                 < / d i v >  
                         < / d i v >  
  
                 < / d i v >  
         < / d i v >  
  
         < s c r i p t >  
                 / /   - - -   M o c k   D a t a   - - -  
                 c o n s t   m o c k T y p o D a t a   =   {  
                         " o r g _ t y p o s " :   [  
                                 {   " f o u n d " :   " c? Բ(`0? ? ,   " c o r r e c t " :   " c? 0%? (`0? ? ,   " c o n t e x t " :   " . . . 9m? ? c? Բ(`0? /ɿ  ? ?   [ˮ   EI ? I? H. " ,   " r e a s o n " :   " rn̬? ? ? 1  ? J  zG? "   }  
                         ] ,  
                         " s p e l l i n g _ e r r o r s " :   [  
                                 {   " f o u n d " :   " ? r? ? ,   " s u g g e s t i o n " :   " ? r? ? ,   " c o n t e x t " :   " ?  ? ? |1  Wt8? ? ? C? r? ? " ,   " r e a s o n " :   " D0? ? {1"   }  
                         ]  
                 } ;  
  
                 c o n s t   m o c k D e t a i l e d D a t a   =   {  
                         " j o b _ m a t c h i n g " :   {  
                                 " k e y w o r d s " :   [ " ?   ? zm(`? p׬" ,   " n2? c  zM" ,   " ?   ? 0" ] ,  
                                 " a n a l y s i s " :   [  
                                         {   " k e y w o r d " :   " ?   ? zm(`? p׬" ,   " s c o r e " :   5 ,   " f o u n d " :   t r u e ,   " e v i d e n c e " :   " ?  ? ? ?   ? ĸ  ? ? |1ɿ? ? 3 ZaÛZ? ? O  ۊ? ? x*?     p׬? I. . . "   } ,  
                                         {   " k e y w o r d " :   " n2? c  zM" ,   " s c o r e " :   2 ,   " f o u n d " :   f a l s e ,   " e v i d e n c e " :   " ?a ? ? [տ? ? ? ]o? ? x? ?   ? /? r? ? "   } ,  
                                         {   " k e y w o r d " :   " ?   ? 0" ,   " s c o r e " :   4 ,   " f o u n d " :   t r u e ,   " e v i d e n c e " :   " ?    ? ? zô  ?   N? ? Į  pux$θ? ? N1? ,. . . "   }  
                                 ]  
                         } ,  
                         " s t a r _ a n a l y s i s " :   {  
                                 " s c o r e s " :   {   " S " :   5 ,   " T " :   3 ,   " A " :   4 ,   " R " :   2   } ,  
                                 " k e y _ s e n t e n c e s " :   {  
                                         " S " :   " ?  ? ? 4 ? ,   p  ? &? ? ? P  ?  ? ? G? r? ? " ,  
                                         " T " :   " rn3  ? ɿ  1 0 0 Z  ? F? ? ? ^  ? I? H. " ,  
                                         " A " :   " ?  ? ? |1*  ? H  5 ? ɿ  ? ?   ? F  Nĸ? I? H. " ,  
                                         " R " :   " [̬  d$  ? I? H.   ( cJܮ? ? ? C  ?   z p? "  
                                 } ,  
                                 " f e e d b a c k " :   " ? ( S ) (`? ? 0޸( A ) ?    cJܮ?  ? ?   [̬( R )   z zɿ? ? ? ? $  ? C? ? 9m  ? 3  ? ? ôZ   z pJ@? H. "  
                         } ,  
                         " c o n s i s t e n c y " :   {  
                                 " m a i n _ v a l u e s " :   [ " ? F" ,   " ? G" ] ,  
                                 " c o n t r a d i c t i o n s " :   [  
                                         {   " i s s u e " :   " Nĸ  ? H  [տ" ,   " c o n t e x t " :   " ? ? ? ? H"  ? ~? ? ? ? ? ɿ  9mT? /? r? ? " ,   " s e v e r i t y " :   " M e d i u m "   }  
                                 ]  
                         } ,  
                         " s t y l e _ a n a l y s i s " :   {  
                                 " p a s s i v e _ v o i c e _ r a t i o " :   1 5 ,  
                                 " a b s t r a c t _ w o r d s " :   [ " ? ? ? ,   " Q? ? ? }1P" ] ,  
                                 " s u g g e s t i o n s " :   [  
                                         {   " o r i g i n a l " :   " ? ? ? ? 0? I? H. " ,   " b e t t e r " :   " |1  3 ? ? ?a ? ? ? ? ? ɿ  M?   ? &? F  rn? ? r? ? "   }  
                                 ]  
                         }  
                 } ;  
  
                 / /   - - -   R e n d e r   F u n c t i o n s   - - -  
  
                 f u n c t i o n   s w i t c h T a b ( t a b N a m e )   {  
                         d o c u m e n t . q u e r y S e l e c t o r A l l ( ' . t a b ' ) . f o r E a c h ( t   = >   t . c l a s s L i s t . r e m o v e ( ' a c t i v e ' ) ) ;  
                         d o c u m e n t . q u e r y S e l e c t o r A l l ( ' . t a b - c o n t e n t ' ) . f o r E a c h ( c   = >   c . c l a s s L i s t . r e m o v e ( ' a c t i v e ' ) ) ;  
  
                         d o c u m e n t . q u e r y S e l e c t o r ( ` . t a b : n t h - c h i l d ( $ { t a b N a m e   = = =   ' b a s i c '   ?   1   :   2 } ) ` ) . c l a s s L i s t . a d d ( ' a c t i v e ' ) ;  
                         d o c u m e n t . g e t E l e m e n t B y I d ( ` t a b - $ { t a b N a m e } ` ) . c l a s s L i s t . a d d ( ' a c t i v e ' ) ;  
                 }  
  
                 f u n c t i o n   r e n d e r B a s i c T a b ( )   {  
                         c o n s t   c o n t a i n e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' t y p o - r e p o r t - c o n t a i n e r ' ) ;  
                         l e t   h t m l   =   `  
                                 < d i v   c l a s s = " t y p o - r e p o r t - s e c t i o n " >  
                                         < d i v   c l a s s = " t y p o - g r o u p - h e a d e r "   o n c l i c k = " t h i s . n e x t E l e m e n t S i b l i n g . s t y l e . d i s p l a y   =   t h i s . n e x t E l e m e n t S i b l i n g . s t y l e . d i s p l a y = = = ' b l o c k ' ? ' n o n e ' : ' b l o c k ' " >  
                                                 < h 4 > ?   rn̬? ? ? }1?   < s p a n   s t y l e = " c o l o r : # d c 2 6 2 6 ;   b a c k g r o u n d : # f e e 2 e 2 ;   p a d d i n g : 0 . 1 r e m   0 . 4 r e m ;   b o r d e r - r a d i u s : 9 9 p x ;   f o n t - s i z e : 0 . 8 5 r e m ; " > $ { m o c k T y p o D a t a . o r g _ t y p o s . l e n g t h } Z? / s p a n > < / h 4 >  
                                                 < s p a n > ? ? / s p a n >  
                                         < / d i v >  
                                         < d i v   c l a s s = " t y p o - g r o u p - b o d y "   s t y l e = " d i s p l a y : b l o c k ; " >  
                         ` ;  
                         m o c k T y p o D a t a . o r g _ t y p o s . f o r E a c h ( i t e m   = >   {  
                                 h t m l   + =   ` < d i v   c l a s s = " t y p o - c a r d   o r g - t y p o " > < d i v >  
                                                         < s p a n   s t y l e = " t e x t - d e c o r a t i o n : l i n e - t h r o u g h ;   c o l o r : g r a y ; " > $ { i t e m . f o u n d } < / s p a n >    
                                                         < s p a n   c l a s s = " a r r o w " > ? ? / s p a n >    
                                                         < s t r o n g > $ { i t e m . c o r r e c t } < / s t r o n g >  
                                                         < d i v   s t y l e = " f o n t - s i z e : 0 . 8 5 r e m ;   m a r g i n - t o p : 0 . 3 r e m ; " > $ { i t e m . r e a s o n } < / d i v >  
                                                         < d i v   s t y l e = " f o n t - s i z e : 0 . 8 r e m ;   c o l o r : # 6 6 6 ;   m a r g i n - t o p : 0 . 3 r e m ;   f o n t - s t y l e : i t a l i c ; " > " $ { i t e m . c o n t e x t } " < / d i v >  
                                                   < / d i v > < / d i v > ` ;  
                         } ) ;  
                         h t m l   + =   ` < / d i v > < / d i v > ` ;  
  
                         / /   ?   ? }1?  
                         h t m l   + =   `  
                                 < d i v   c l a s s = " t y p o - r e p o r t - s e c t i o n "   s t y l e = " m a r g i n - t o p : 1 r e m ; " >  
                                         < d i v   c l a s s = " t y p o - g r o u p - h e a d e r "   o n c l i c k = " t h i s . n e x t E l e m e n t S i b l i n g . s t y l e . d i s p l a y   =   t h i s . n e x t E l e m e n t S i b l i n g . s t y l e . d i s p l a y = = = ' b l o c k ' ? ' n o n e ' : ' b l o c k ' " >  
                                                 < h 4 > ? w  ?   ? }1?   < s p a n   s t y l e = " b a c k g r o u n d : # f 3 f 4 f 6 ;   p a d d i n g : 0 . 1 r e m   0 . 4 r e m ;   b o r d e r - r a d i u s : 9 9 p x ;   f o n t - s i z e : 0 . 8 5 r e m ; " > $ { m o c k T y p o D a t a . s p e l l i n g _ e r r o r s . l e n g t h } Z? / s p a n > < / h 4 >  
                                                 < s p a n > ? ? / s p a n >  
                                         < / d i v >  
                                         < d i v   c l a s s = " t y p o - g r o u p - b o d y "   s t y l e = " d i s p l a y : n o n e ; " >  
                         ` ;  
                         m o c k T y p o D a t a . s p e l l i n g _ e r r o r s . f o r E a c h ( i t e m   = >   {  
                                 h t m l   + =   ` < d i v   c l a s s = " t y p o - c a r d   s p e l l - e r r o r " > < d i v >  
                                                         < s p a n   s t y l e = " t e x t - d e c o r a t i o n : l i n e - t h r o u g h ;   c o l o r : g r a y ; " > $ { i t e m . f o u n d } < / s p a n >    
                                                         < s p a n   c l a s s = " a r r o w " > ? ? / s p a n >    
                                                         < s t r o n g > $ { i t e m . s u g g e s t i o n } < / s t r o n g >  
                                                         < d i v   s t y l e = " f o n t - s i z e : 0 . 8 r e m ;   c o l o r : # 6 6 6 ;   m a r g i n - t o p : 0 . 3 r e m ; " > " $ { i t e m . c o n t e x t } " < / d i v >  
                                                   < / d i v > < / d i v > ` ;  
                         } ) ;  
                         h t m l   + =   ` < / d i v > < / d i v > ` ;  
  
  
                         c o n t a i n e r . i n n e r H T M L   =   h t m l ;  
                 }  
  
                 f u n c t i o n   r e n d e r D e t a i l e d T a b ( )   {  
                         c o n s t   d a t a   =   m o c k D e t a i l e d D a t a ;  
  
                         / /   1 .   M a t c h i n g  
                         c o n s t   m a t c h i n g T b o d y   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' m a t c h i n g - t b o d y ' ) ;  
                         m a t c h i n g T b o d y . i n n e r H T M L   =   d a t a . j o b _ m a t c h i n g . a n a l y s i s . m a p ( i t e m   = >   {  
                                 l e t   b a d g e C l a s s   =   i t e m . s c o r e   > =   4   ?   ' s c o r e - h i g h '   :   ( i t e m . s c o r e   > =   3   ?   ' s c o r e - m i d '   :   ' s c o r e - l o w ' ) ;  
                                 l e t   b a d g e T e x t   =   i t e m . s c o r e   > =   4   ?   ' ? ׬Բ  ( H i g h ) '   :   ( i t e m . s c o r e   > =   3   ?   ' B;  ( M i d ) '   :   ' 	  ( L o w ) ' ) ;  
                                 r e t u r n   `  
                                         < t r >  
                                                 < t d   s t y l e = " f o n t - w e i g h t : 6 0 0 ; " > $ { i t e m . k e y w o r d } < / t d >  
                                                 < t d > < s p a n   c l a s s = " s c o r e - b a d g e   $ { b a d g e C l a s s } " > $ { b a d g e T e x t } < / s p a n > < / t d >  
                                                 < t d   s t y l e = " c o l o r : # 4 b 5 5 6 3 ;   f o n t - s i z e : 0 . 9 r e m ; " > $ { i t e m . e v i d e n c e   | |   ' < s p a n   s t y l e = " c o l o r : # 9 9 1 b 1 b ; " > ?a ? ? ? ? ?   ? ? ? ? H. < / s p a n > ' } < / t d >  
                                         < / t r >  
                                 ` ;  
                         } ) . j o i n ( ' ' ) ;  
  
                         / /   2 .   S T A R   A n a l y s i s  
                         c o n s t   s t a r G r i d   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' s t a r - g r i d ' ) ;  
                         c o n s t   s t a r L a b e l s   =   {   " S " :   " S i t u a t i o n   ( ? ) " ,   " T " :   " T a s k   ( (`#) " ,   " A " :   " A c t i o n   ( ? 0޸) " ,   " R " :   " R e s u l t   ( [̬) "   } ;  
  
                         l e t   s t a r H t m l   =   ' ' ;  
                         f o r   ( c o n s t   [ k e y ,   s c o r e ]   o f   O b j e c t . e n t r i e s ( d a t a . s t a r _ a n a l y s i s . s c o r e s ) )   {  
                                 l e t   c o l o r   =   s c o r e   > =   4   ?   ' # 1 6 a 3 4 a '   :   ( s c o r e   > =   3   ?   ' # d 9 7 7 0 6 '   :   ' # d c 2 6 2 6 ' ) ;  
                                 s t a r H t m l   + =   `  
                                         < d i v   c l a s s = " s t a r - c a r d "   s t y l e = " b o r d e r - t o p :   4 p x   s o l i d   $ { c o l o r } " >  
                                                 < d i v   c l a s s = " s t a r - l a b e l " > $ { s t a r L a b e l s [ k e y ] } < / d i v >  
                                                 < d i v   c l a s s = " s t a r - s c o r e "   s t y l e = " c o l o r : $ { c o l o r } " > $ { s c o r e } / 5 < / d i v >  
                                                 < d i v   c l a s s = " s t a r - t e x t " > $ { d a t a . s t a r _ a n a l y s i s . k e y _ s e n t e n c e s [ k e y ]   | |   ' - ' } < / d i v >  
                                         < / d i v >  
                                 ` ;  
                         }  
                         s t a r G r i d . i n n e r H T M L   =   s t a r H t m l ;  
                         d o c u m e n t . g e t E l e m e n t B y I d ( ' s t a r - f e e d b a c k ' ) . i n n e r T e x t   =   d a t a . s t a r _ a n a l y s i s . f e e d b a c k ;  
  
  
                         / /   3 .   C o n s i s t e n c y  
                         c o n s t   c o n s i s t e n c y C o n t a i n e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' c o n s i s t e n c y - c o n t a i n e r ' ) ;  
                         i f   ( d a t a . c o n s i s t e n c y . c o n t r a d i c t i o n s . l e n g t h   >   0 )   {  
                                 c o n s i s t e n c y C o n t a i n e r . i n n e r H T M L   =   d a t a . c o n s i s t e n c y . c o n t r a d i c t i o n s . m a p ( c   = >   `  
                                         < d i v   c l a s s = " c o n s i s t e n c y - c a r d "   s t y l e = " b a c k g r o u n d : # f f f 5 f 5 ;   b o r d e r - c o l o r : # f e c a c a ; " >  
                                                 < d i v   c l a s s = " c o n s i s t e n c y - h e a d e r " >  
                                                         ?   $ { c . i s s u e }  
                                                         < s p a n   s t y l e = " f o n t - s i z e : 0 . 7 5 r e m ;   b a c k g r o u n d : # f e e 2 e 2 ;   c o l o r : # 9 9 1 b 1 b ;   p a d d i n g : 0 . 1 r e m   0 . 4 r e m ;   b o r d e r - r a d i u s : 4 p x ; " > $ { c . s e v e r i t y } < / s p a n >  
                                                 < / d i v >  
                                                 < d i v   s t y l e = " f o n t - s i z e : 0 . 9 r e m ;   c o l o r : # 4 b 5 5 6 3 ; " > " $ { c . c o n t e x t } " < / d i v >  
                                         < / d i v >  
                                 ` ) . j o i n ( ' ' ) ;  
                         }   e l s e   {  
                                 c o n s i s t e n c y C o n t a i n e r . i n n e r H T M L   =   ` < d i v   s t y l e = " p a d d i n g : 1 r e m ;   b a c k g r o u n d : # f 0 f d f 4 ;   c o l o r : # 1 6 6 5 3 4 ;   b o r d e r - r a d i u s : 0 . 5 r e m ; " > ? ? ۊĮ? ? e$ڲ? ? ? ? H. < / d i v > ` ;  
                         }  
  
                         / /   4 .   S t y l e  
                         c o n s t   s t y l e S t a t s   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' s t y l e - s t a t s ' ) ;  
                         s t y l e S t a t s . i n n e r H T M L   =   `  
                                 < d i v   c l a s s = " s t a t - b o x " >  
                                         < d i v   c l a s s = " s t a t - v a l u e " > $ { d a t a . s t y l e _ a n a l y s i s . p a s s i v e _ v o i c e _ r a t i o } % < / d i v >  
                                         < d i v   c l a s s = " s t a t - l a b e l " > ? ޸? ? nI< / d i v >  
                                 < / d i v >  
                                 < d i v   c l a s s = " s t a t - b o x " >  
                                         < d i v   c l a s s = " s t a t - v a l u e " > $ { d a t a . s t y l e _ a n a l y s i s . a b s t r a c t _ w o r d s . l e n g t h } Z? / d i v >  
                                         < d i v   c l a s s = " s t a t - l a b e l " > pu=? ? ? e$1  ? J< / d i v >  
                                 < / d i v >  
                         ` ;  
  
                         c o n s t   s t y l e S u g g e s t i o n s   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' s t y l e - s u g g e s t i o n s ' ) ;  
                         s t y l e S u g g e s t i o n s . i n n e r H T M L   =   d a t a . s t y l e _ a n a l y s i s . s u g g e s t i o n s . m a p ( s   = >   `  
                                 < l i   s t y l e = " m a r g i n - b o t t o m : 0 . 5 r e m ; " >  
                                         < s p a n   s t y l e = " t e x t - d e c o r a t i o n : l i n e - t h r o u g h ;   c o l o r : # 9 c a 3 a f ; " > " $ { s . o r i g i n a l } " < / s p a n >  
                                         < s p a n   s t y l e = " m a r g i n : 0   0 . 5 r e m ; " > ? ? / s p a n >  
                                         < s p a n   s t y l e = " c o l o r : # 2 5 6 3 e b ;   f o n t - w e i g h t : 6 0 0 ; " > " $ { s . b e t t e r } " < / s p a n >  
                                 < / l i >  
                         ` ) . j o i n ( ' ' ) ;  
  
                 }  
  
                 / /   I n i t i a l i z e  
                 r e n d e r B a s i c T a b ( ) ;  
                 r e n d e r D e t a i l e d T a b ( ) ;  
  
         < / s c r i p t >  
  
 < / b o d y >  
  
 < / h t m l >  
 / *   - - -   N e w   A n a l y s i s   S t y l e s   - - -   * /  
  
 / *   T a b s   * /  
 . t a b s   {  
         d i s p l a y :   f l e x ;  
         b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ;  
         b a c k g r o u n d :   # f 9 f a f b ;  
         m a r g i n - b o t t o m :   2 r e m ;  
 }  
  
 . t a b   {  
         f l e x :   1 ;  
         p a d d i n g :   1 r e m ;  
         t e x t - a l i g n :   c e n t e r ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         c u r s o r :   p o i n t e r ;  
         t r a n s i t i o n :   a l l   0 . 2 s ;  
         b o r d e r - b o t t o m :   2 p x   s o l i d   t r a n s p a r e n t ;  
         m a r g i n - b o t t o m :   - 2 p x ;  
 }  
  
 . t a b : h o v e r   {  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
         b a c k g r o u n d :   # e f f 6 f f ;  
 }  
  
 . t a b . a c t i v e   {  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
         b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - p r i m a r y - c o l o r ) ;  
         b a c k g r o u n d :   # f f f ;  
 }  
  
 . t a b - c o n t e n t   {  
         d i s p l a y :   n o n e ;  
         a n i m a t i o n :   f a d e I n   0 . 3 s   e a s e - i n - o u t ;  
 }  
  
 . t a b - c o n t e n t . a c t i v e   {  
         d i s p l a y :   b l o c k ;  
 }  
  
 / *   A n a l y s i s   S e c t i o n s   * /  
 . a n a l y s i s - s e c t i o n   {  
         m a r g i n - b o t t o m :   2 . 5 r e m ;  
 }  
  
 . s e c t i o n - t i t l e   {  
         f o n t - s i z e :   1 . 2 5 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
         b o r d e r - l e f t :   4 p x   s o l i d   v a r ( - - p r i m a r y - c o l o r ) ;  
         p a d d i n g - l e f t :   0 . 7 5 r e m ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 / *   M a t c h i n g   T a b l e   * /  
 . m a t c h i n g - t a b l e   {  
         w i d t h :   1 0 0 % ;  
         b o r d e r - c o l l a p s e :   c o l l a p s e ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 . m a t c h i n g - t a b l e   t h   {  
         t e x t - a l i g n :   l e f t ;  
         p a d d i n g :   0 . 7 5 r e m ;  
         b a c k g r o u n d :   # f 3 f 4 f 6 ;  
         b o r d e r - b o t t o m :   2 p x   s o l i d   # e 5 e 7 e b ;  
         c o l o r :   # 4 b 5 5 6 3 ;  
 }  
  
 . m a t c h i n g - t a b l e   t d   {  
         p a d d i n g :   0 . 7 5 r e m ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 5 e 7 e b ;  
         v e r t i c a l - a l i g n :   t o p ;  
 }  
  
 . s c o r e - b a d g e   {  
         d i s p l a y :   i n l i n e - b l o c k ;  
         p a d d i n g :   0 . 2 5 r e m   0 . 5 r e m ;  
         b o r d e r - r a d i u s :   9 9 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         f o n t - s i z e :   0 . 8 r e m ;  
 }  
  
 . s c o r e - h i g h   {  
         b a c k g r o u n d :   # d c f c e 7 ;  
         c o l o r :   # 1 6 6 5 3 4 ;  
 }  
  
 . s c o r e - m i d   {  
         b a c k g r o u n d :   # f e f 9 c 3 ;  
         c o l o r :   # 8 5 4 d 0 e ;  
 }  
  
 . s c o r e - l o w   {  
         b a c k g r o u n d :   # f e e 2 e 2 ;  
         c o l o r :   # 9 9 1 b 1 b ;  
 }  
  
 / *   S T A R   G r i d   * /  
 . s t a r - g r i d   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( 4 ,   1 f r ) ;  
         g a p :   1 r e m ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 . s t a r - c a r d   {  
         b a c k g r o u n d :   w h i t e ;  
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r - r a d i u s :   0 . 5 r e m ;  
         t e x t - a l i g n :   c e n t e r ;  
 }  
  
 . s t a r - s c o r e   {  
         f o n t - s i z e :   1 . 5 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
 }  
  
 . s t a r - l a b e l   {  
         f o n t - s i z e :   0 . 9 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         f o n t - w e i g h t :   6 0 0 ;  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
 }  
  
 . s t a r - t e x t   {  
         f o n t - s i z e :   0 . 8 r e m ;  
         c o l o r :   # 6 b 7 2 8 0 ;  
         t e x t - a l i g n :   l e f t ;  
         m a r g i n - t o p :   0 . 5 r e m ;  
         l i n e - h e i g h t :   1 . 3 ;  
 }  
  
 / *   C o n s i s t e n c y   * /  
 . c o n s i s t e n c y - g r i d   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
         g a p :   1 r e m ;  
 }  
  
 . c o n s i s t e n c y - c a r d   {  
         b a c k g r o u n d :   # f f f b f f ;  
         b o r d e r :   1 p x   s o l i d   # f e d 7 a a ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r - r a d i u s :   0 . 5 r e m ;  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
 }  
  
 . c o n s i s t e n c y - h e a d e r   {  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   0 . 5 r e m ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   # 9 a 3 4 1 2 ;  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
 }  
  
 / *   S t y l e   S t a t s   * /  
 . s t y l e - s t a t s   {  
         d i s p l a y :   f l e x ;  
         g a p :   1 r e m ;  
         f l e x - w r a p :   w r a p ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 . s t a t - b o x   {  
         f l e x :   1 ;  
         m i n - w i d t h :   1 5 0 p x ;  
         b a c k g r o u n d :   # f 8 f a f c ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r - r a d i u s :   0 . 5 r e m ;  
         b o r d e r :   1 p x   s o l i d   # e 2 e 8 f 0 ;  
 }  
  
 . s t a t - v a l u e   {  
         f o n t - s i z e :   1 . 2 5 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
         c o l o r :   # 0 f 1 7 2 a ;  
 }  
  
 . s t a t - l a b e l   {  
         f o n t - s i z e :   0 . 8 5 r e m ;  
         c o l o r :   # 6 4 7 4 8 b ;  
 }  
  
 / *   T y p o   C a r d s   * /  
 . t y p o - r e p o r t - s e c t i o n   {  
         p a d d i n g :   1 . 5 r e m ;  
         b a c k g r o u n d :   # f f f ;  
         b o r d e r :   1 p x   s o l i d   # d 1 d 5 d b ;  
         b o r d e r - r a d i u s :   0 . 5 r e m ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 . t y p o - c a r d   {  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   f l e x - s t a r t ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r - r a d i u s :   0 . 5 r e m ;  
         f o n t - s i z e :   0 . 9 5 r e m ;  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
 }  
  
 . t y p o - c a r d . o r g - t y p o   {  
         b a c k g r o u n d :   # f e f 2 f 2 ;  
         b o r d e r :   1 p x   s o l i d   # f e c a c a ;  
         c o l o r :   # 9 9 1 b 1 b ;  
 }  
  
 . t y p o - c a r d . s p e l l - e r r o r   {  
         b a c k g r o u n d :   # f 9 f a f b ;  
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
         c o l o r :   # 3 7 4 1 5 1 ;  
 }  
  
 . t y p o - g r o u p - h e a d e r   {  
         d i s p l a y :   f l e x ;  
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
         p a d d i n g :   1 r e m ;  
         b a c k g r o u n d :   # f 9 f a f b ;  
         c u r s o r :   p o i n t e r ;  
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
         b o r d e r - r a d i u s :   0 . 5 r e m   0 . 5 r e m   0   0 ;  
 }  
  
 . t y p o - g r o u p - b o d y   {  
         d i s p l a y :   n o n e ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;  
         b o r d e r - t o p :   n o n e ;  
         b o r d e r - r a d i u s :   0   0   0 . 5 r e m   0 . 5 r e m ;  
 }  
  
 . a r r o w   {  
         m a r g i n :   0   0 . 5 r e m ;  
         c o l o r :   # 6 b 7 2 8 0 ;  
 }  
 
/*  ̳  Ÿ */
.ads-wrapper {
    text-align: center;
    margin: 20px auto;
    min-height: 100px; /*  ε    Ȯ */
    overflow: hidden;
}
/* Ͽ ̸   Ȯ */
@media (max-width: 768px) {
    .ads-wrapper { min-height: 250px; }
}
