/* ============================================
   LINUX PERMISSION LAB – LIGHT/HIGH CONTRAST THEME
   Full width, black text, white background
============================================ */

.lpl-container {
    all: initial;
    display: block;
    width: 100%;
}

.lpl-container *,
.lpl-container *::before,
.lpl-container *::after {
    box-sizing: border-box;
}

/* main app – FULL WIDTH, LIGHT BACKGROUND */
.lpl-container .lpl-app {
    width: 100%;
    margin: 0;
    padding: 40px;
    background: #ffffff;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #111111;
    border-radius: 0;
    box-shadow: none;
}

/* typography – DARK TEXT */
.lpl-container .lpl-app h1 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 8px;
}
.lpl-container .lpl-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 28px;
}
.lpl-container .lpl-app h2 {
    color: #1e40af;
    font-size: 26px;
    margin: 0 0 16px;
    font-weight: 700;
}
.lpl-container .lpl-app h3 {
    color: #2563eb;
    font-size: 22px;
    margin: 28px 0 12px;
    font-weight: 600;
}
.lpl-container .lpl-app p,
.lpl-container .lpl-app li {
    color: #1f2937;
    font-size: 17px;
    line-height: 1.85;
}
.lpl-container .lpl-app strong {
    color: #000000;
}

/* checkboxes grid */
.lpl-container .lpl-grid {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}
.lpl-container .lpl-box {
    flex: 1;
    background: #f3f4f6;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}
.lpl-container .lpl-box h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #111827;
}
.lpl-container .lpl-box label {
    display: block;
    margin: 10px 0;
    color: #374151;
    font-size: 15px;
    cursor: pointer;
}
.lpl-container input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #2563eb;
}

/* output panel */
.lpl-container .lpl-output {
    margin-top: 28px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
}
.lpl-container .lpl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}
.lpl-container .lpl-risk {
    background: #10b981;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.lpl-container .lpl-main {
    text-align: center;
    margin-bottom: 24px;
}
.lpl-container .lpl-numeric {
    font-size: 58px;
    font-weight: 900;
    color: #059669;
    line-height: 1;
}
.lpl-container .lpl-symbolic {
    margin-top: 10px;
    font-size: 18px;
    color: #1f2937;
    letter-spacing: 4px;
    font-family: monospace;
}

/* bars */
.lpl-container .lpl-bars {
    margin-top: 18px;
}
.lpl-container .lpl-bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 13px;
}
.lpl-container .lpl-bar {
    width: 75%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}
.lpl-container .lpl-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    width: 0%;
}

/* command box */
.lpl-container .lpl-command {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f3f4f6;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
}
.lpl-container .lpl-command code {
    flex: 1;
    color: #dc2626;
    font-size: 15px;
    font-family: monospace;
    font-weight: 500;
}
.lpl-container .lpl-command button {
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.lpl-container .lpl-command button:hover {
    background: #10b981;
    color: #ffffff;
}

/* presets */
.lpl-container .lpl-presets {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.lpl-container .lpl-presets button {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}
.lpl-container .lpl-presets button:hover {
    background: #2563eb;
    color: #ffffff;
}

/* educational sections – LIGHT BACKGROUND, DARK TEXT */
.lpl-container .lpl-learn,
.lpl-container .lpl-seo {
    margin-top: 40px;
    padding: 28px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

/* CODE BLOCKS – DARK TEXT ON LIGHT BACKGROUND, HIGHLY READABLE */
.lpl-container pre {
    background: #f3f4f6 !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border-left: 4px solid #10b981 !important;
    overflow-x: auto !important;
    margin: 12px 0 18px !important;
}
.lpl-container pre code {
    color: #111827 !important;
    background-color: #f3f4f6 !important;
    font-size: 16px !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}
.lpl-container code {
    color: #dc2626 !important;
    background: #fef2f2 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* links */
.lpl-container a {
    color: #2563eb;
    text-decoration: underline;
}
.lpl-container a:hover {
    color: #1d4ed8;
}

/* mobile */
@media (max-width: 992px) {
    .lpl-container .lpl-app { padding: 24px; }
    .lpl-container .lpl-grid { flex-direction: column; }
    .lpl-container .lpl-numeric { font-size: 46px; }
}
@media (max-width: 768px) {
    .lpl-container .lpl-app { padding: 18px; }
    .lpl-container .lpl-app h1 { font-size: 30px; }
    .lpl-container .lpl-numeric { font-size: 40px; }
    .lpl-container .lpl-symbolic { font-size: 15px; letter-spacing: 2px; }
    .lpl-container .lpl-command { flex-direction: column; align-items: stretch; }
    .lpl-container .lpl-command button { width: 100%; }
    .lpl-container .lpl-bar { width: 65%; }
    .lpl-container pre code { font-size: 14px !important; }
    .lpl-container .lpl-learn,
    .lpl-container .lpl-seo { padding: 20px; }
}