:root { 
    --bg-color: #fff5d1; 
    --text-color: #1a1a1a; 
    --accent-color: #4c8050; 
    --divider: rgba(0,0,0,0.06); 
}

html,body { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Pyidaungsu", "Segoe UI", serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 1.5rem;
}

.highlight {
    font-weight: bold;
}

main { 
    width: 100%; 
    max-width: 480px; 
}

header { 
    text-align: right; 
    margin-bottom: 2rem; 
}

h1 { 
    font-size: 2.2rem; 
    font-weight: 400; 
    line-height: 1.2; 
}

header p { 
    font-size: 0.85rem; 
    opacity: 0.7; 
}

.content-sections { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}

.root-path { 
    border-bottom: 1px solid var(--text-color); 
    padding-bottom: 1rem; 
    margin-bottom: 0.5rem; 
}

.sub-paths { 
    margin-left: 1.5rem; 
    border-left: 1px dashed var(--divider); 
    padding-left: 1rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}

.path-title { 
    font-weight: 700; 
    font-size: 1.05rem; 
    margin-bottom: 0.3rem; 
}

.path-desc { 
    font-size: 0.9rem; 
    color: #333; 
    line-height: 1.4; 
    display: block; 
}

.inventory-preview { 
    font-size: 0.75rem; 
    font-style: italic; 
    opacity: 0.6; 
    margin-top: 0.2rem; 
    display: block; 
}

.path-desc a { 
    color: var(--accent-color); 
    text-decoration: underline; 
    font-size: 0.7rem; 
    font-weight: 700; 
    display: block;
    text-align: right;
    margin-top: 0.4rem; 
}

.path-desc .master-cta { 
    display: block; 
    background: #f0f5f0; 
    background: rgba(76, 128, 80, 0.06); 
    padding: 0.6rem; 
    text-align: center; 
    border: 1px dashed var(--accent-color); 
    margin-top: 0.8rem; 
    text-decoration: none; 
}

nav { 
    margin-top: 2rem; 
    padding: 1rem; 
    background: #f9f9f9; 
    background: rgba(0, 0, 0, 0.02); 
    border: 1px solid var(--text-color); 
    text-align: center; 
}

footer { 
    margin-top: 1.5rem; 
    font-size: 0.65rem; 
    opacity: 0.4; 
    text-align: center; 
}

@media (max-height: 500px) and (orientation: landscape) {
    body {
        align-items: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    main {
        max-width: 90%;
    }
}

@media (max-width: 480px) { 
    body { align-items: flex-start; padding-top: 3rem; } 
}