/* WARF LEAKS — classified document site (flat, no glow) */

.dn-site--warf {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    background: #141418;
}

.dn-site--warf .dn-chrome--warf {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    height: 32px;
    background: #1c1c22;
    border-bottom: 1px solid #3a3038;
}

.dn-site--warf .dn-lock {
    width: 26px;
    height: 18px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    background: #c0392b;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
}

.dn-site--warf .dn-site-title {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #e8e4e0;
}

.dn-site--warf .dn-site-url {
    font-family: Consolas, monospace;
    font-size: 10px;
    color: #8a8480;
}

.dn-site--warf .dn-status-pulse--warf {
    font-size: 9px;
    font-weight: 600;
    color: #e74c3c;
    text-shadow: none;
    animation: none;
}

.dn-site--warf .dn-body {
    flex: 1;
    min-height: 0;
    padding: 0;
    background: #141418;
    border: none;
    overflow: hidden;
}

.dn-foot--warf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px;
    background: #1c1c22;
    border-top: 1px solid #3a3038;
    font-size: 10px;
}

.dn-foot--warf .dn-foot-meta { color: #6a6460; }
.dn-foot--warf .dn-foot-link { color: #8a8480; cursor: pointer; }
.dn-foot--warf .dn-foot-link:hover { color: #e8e4e0; }

#win-browser.warf-browser-mode .browser-body.warf-browser-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

/* App layout */
.warf-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    font-family: "Segoe UI", Georgia, serif;
    font-size: 15px;
    color: #d4d0cc;
    background: #141418;
}

.warf-classification {
    padding: 6px 16px;
    background: #2c1810;
    border-bottom: 2px solid #c0392b;
    text-align: center;
    font-family: Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #e74c3c;
    text-transform: uppercase;
}

.warf-header {
    padding: 14px 18px;
    background: #1c1c22;
    border-bottom: 1px solid #3a3038;
}

.warf-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.warf-brand h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    color: #f0ece8;
    letter-spacing: -0.02em;
}

.warf-brand p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #8a8480;
}

.warf-meta {
    text-align: right;
    font-size: 12px;
    color: #8a8480;
    font-family: Consolas, monospace;
    line-height: 1.6;
}

.warf-meta strong { color: #c0392b; }

.warf-layout {
    display: flex;
    flex: 1;
    min-height: 0;
}

.warf-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #18181e;
    border-right: 1px solid #3a3038;
    overflow-y: auto;
    padding: 12px 0;
}

.warf-nav-group {
    margin-bottom: 16px;
}

.warf-nav-label {
    padding: 0 14px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a6460;
}

.warf-nav-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: none;
    border-left: 3px solid transparent;
    background: transparent;
    color: #a8a4a0;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.warf-nav-item:hover {
    background: #222228;
    color: #e8e4e0;
}

.warf-nav-item.active {
    background: #2a2028;
    border-left-color: #c0392b;
    color: #f0ece8;
    font-weight: 600;
}

.warf-main {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 32px;
}

.warf-section { display: none; }
.warf-section.active { display: block; }

.warf-doc-title {
    margin: 0 0 6px;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #f0ece8;
}

.warf-doc-sub {
    margin: 0 0 18px;
    font-size: 14px;
    color: #8a8480;
    line-height: 1.5;
    padding-bottom: 14px;
    border-bottom: 1px solid #3a3038;
}

.warf-lead {
    font-size: 15px;
    line-height: 1.65;
    color: #c8c4c0;
    margin: 0 0 20px;
}

.warf-panel {
    background: #1c1c22;
    border: 1px solid #3a3038;
    border-radius: 2px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.warf-panel h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #e8e4e0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.warf-panel p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #a8a4a0;
}

.warf-panel p:last-child { margin-bottom: 0; }

.warf-steps {
    counter-reset: warfstep;
    list-style: none;
    padding: 0;
    margin: 0;
}

.warf-steps li {
    counter-increment: warfstep;
    position: relative;
    padding: 14px 14px 14px 52px;
    margin-bottom: 10px;
    background: #18181e;
    border: 1px solid #3a3038;
    border-radius: 2px;
}

.warf-steps li::before {
    content: counter(warfstep);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0392b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: Consolas, monospace;
    border-radius: 2px;
}

.warf-steps li strong {
    display: block;
    color: #f0ece8;
    margin-bottom: 4px;
    font-size: 14px;
}

.warf-steps li span {
    font-size: 13px;
    color: #a8a4a0;
    line-height: 1.55;
}

.warf-code {
    display: block;
    margin: 10px 0;
    padding: 12px 14px;
    background: #0a0a0e;
    border: 1px solid #3a3038;
    border-left: 3px solid #27ae60;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #2ecc71;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.warf-code--warn {
    border-left-color: #e74c3c;
    color: #e74c3c;
}

.warf-code-inline {
    padding: 2px 6px;
    background: #0a0a0e;
    border: 1px solid #3a3038;
    font-family: Consolas, monospace;
    font-size: 12px;
    color: #2ecc71;
}

.warf-table-wrap {
    overflow-x: auto;
    margin: 12px 0;
}

.warf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.warf-table th,
.warf-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #3a3038;
}

.warf-table th {
    background: #222228;
    color: #e8e4e0;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.warf-table td {
    background: #18181e;
    color: #a8a4a0;
    vertical-align: top;
}

.warf-table code {
    font-family: Consolas, monospace;
    font-size: 12px;
    color: #2ecc71;
}

.warf-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 2px;
    margin-right: 6px;
}

.warf-tag--red { background: #3a1818; color: #e74c3c; border: 1px solid #5a2828; }
.warf-tag--green { background: #183a24; color: #2ecc71; border: 1px solid #285a38; }
.warf-tag--gold { background: #3a3018; color: #f1c40f; border: 1px solid #5a5028; }

.warf-notice {
    padding: 12px 14px;
    background: #2a1818;
    border: 1px solid #5a3030;
    border-left: 3px solid #c0392b;
    border-radius: 2px;
    font-size: 13px;
    color: #c8a8a8;
    line-height: 1.55;
    margin: 16px 0;
}

.warf-notice--info {
    background: #182028;
    border-color: #304050;
    border-left-color: #3498db;
    color: #a8c0d0;
}

.warf-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warf-file-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #2a2828;
    font-size: 13px;
    color: #a8a4a0;
}

.warf-file-list li:last-child { border-bottom: none; }

.warf-file-icon { font-size: 16px; flex-shrink: 0; }

.warf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.warf-stat {
    padding: 12px;
    background: #18181e;
    border: 1px solid #3a3038;
    border-radius: 2px;
    text-align: center;
}

.warf-stat-val {
    font-family: Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
}

.warf-stat-lbl {
    font-size: 11px;
    color: #8a8480;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.warf-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.warf-btn {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #3a3038;
    background: #222228;
    color: #a8a4a0;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
}

.warf-btn:hover {
    border-color: #c0392b;
    color: #f0ece8;
}

@media (max-width: 720px) {
    .warf-layout { flex-direction: column; }
    .warf-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #3a3038;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px;
    }
    .warf-nav-group { margin-bottom: 0; display: contents; }
    .warf-nav-label { display: none; }
    .warf-nav-item {
        width: auto;
        padding: 6px 10px;
        border-left: none;
        border-bottom: 2px solid transparent;
        font-size: 12px;
    }
    .warf-nav-item.active { border-bottom-color: #c0392b; border-left-color: transparent; }
}
