:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --accent-color: #FF9800;
    --text-color: #333;
    --text-light: #666;
    --background: #ffffff;
    --surface: #f5f5f5;
    --border: #e0e0e0;
    --success: #4CAF50;
    --warning: #FFC107;
    --info: #2196F3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
}

/* Header */
header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.app-name {
    font-size: 1.2em;
    color: #333;
    font-weight: 500;
}

.last-updated {
    font-size: 0.95em;
    color: #666;
    margin-top: 5px;
}

/* Navigation */
.toc {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.toc h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin: 5px 0;
}

.toc a {
    color: #0066cc;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* Summary Box - Simple style */
.summary-box {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fafafa;
}

.summary-box h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.key-points {
    list-style: none;
    padding-left: 0;
}

.key-points li {
    margin: 8px 0;
    padding-left: 0;
    color: #333;
}

/* Sections */
section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #000;
    margin: 30px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 15px 0 10px 0;
}

p {
    margin: 10px 0;
    color: #333;
}

/* Lists */
ul, ol {
    margin: 10px 0 10px 30px;
}

li {
    margin: 5px 0;
    color: #333;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Info boxes - simplified */
.important-box,
.info-box {
    margin: 15px 0;
    padding: 15px;
    border-left: 3px solid #666;
    background-color: #f9f9f9;
}

.important-box strong,
.info-box strong {
    color: #000;
}

/* Contact info */
.contact-info {
    margin: 15px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.contact-info p {
    margin: 8px 0;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #ddd;
}

.footer-summary {
    margin-bottom: 20px;
}

.footer-summary h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.footer-summary p {
    margin: 8px 0;
    color: #555;
}

.footer-meta {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.footer-meta p {
    margin: 5px 0;
}

.footer-meta a {
    color: #0066cc;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: #000;
    text-decoration: none;
}

.back-to-top.visible {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 0.85em;
    }
}

@media print {
    .toc,
    .back-to-top {
        display: none;
    }

    body {
        background: #fff;
    }

    .container {
        max-width: 100%;
    }
}
